Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
2 registered (Kelvin, Peter), 33 Guests and 16 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 05/13/08
Posts: 596
Top Posters (30 Days)
Ruben 49
DennyP 24
Gizmo 23
Dunny 17
SteveS 14
AllenAyres 12
dbremer 10
SD 9
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#171291 - 12/27/06 03:26 PM wav file error in an Island script
Bill B Offline

member
Registered: 10/29/06
Posts: 189
Loc: Issaquah, WA
File not found: scripts/chevroletwav.inc.php

I added an island which works "some" of the time. It has a link to an imbedded WAV file. But about half of the time, the link is red-x'ed out and the above error message occurs if you click on it.

Did I need to do something differently in order to edit/save the island file properly?
_________________________
--BIll B
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
#171292 - 12/27/06 03:36 PM Re: wav file error in an Island script [Re: Bill B]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Is it possible for you to post your code for the island. The error message looks like it's trying to be called by ubbthreads.php?ubb=chevroletwav Seeing the code itself will help figure out the exact problem.
Top
#171294 - 12/27/06 03:43 PM Re: wav file error in an Island script [Re: Rick]
Bill B Offline

member
Registered: 10/29/06
Posts: 189
Loc: Issaquah, WA
Yep, you betcha!... Thanks.. this has been an annoyance for two weeks now.

/* PHP CODE HERE */

/* BODY HERE */
$body = <<<EOF
<center>
In your
<a href="chevrolet.wav">
<img src="bowtie4.gif" width="140" height="59" alt="Dinah says Hi!!"></a>

</center>
EOF;
_________________________
--BIll B
Top
#171295 - 12/27/06 03:57 PM Re: wav file error in an Island script [Re: Bill B]
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Ok, I'm pretty sure it's happening because it's trying to load from the same directory. I'm going to guess that you have search engine friendly urls turned on.

What I would do is change all of the filenames to the full url

So, something like:

 PHP:
/* PHP CODE HERE */ /* BODY HERE */ $body = <<<EOF <center> In your <a href="http://www.domain.com/path/to/chevrolet.wav"> <img src="http://www.domain.com/path/to/bowtie4.gif" width="140" height="59" alt="Dinah says Hi!!"></a> </center> EOF;
Top
#171296 - 12/27/06 04:22 PM Re: wav file error in an Island script [Re: Rick]
Bill B Offline

member
Registered: 10/29/06
Posts: 189
Loc: Issaquah, WA
Okay, I made the change and just emailed a user in So. Oregon who had the biggest problem with it... I should know shortly if that fixes it. Yes, I have friendly urls turned on.

And with the full url path entered into the code, it works for me as before... so at least we're not going backwards!!
_________________________
--BIll B
Top
#171316 - 12/27/06 06:40 PM Re: wav file error in an Island script [Re: Bill B]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
I figure i'll make a comment since i'm against embedding sounds on sites...

It's wise to keep in mind that most modern browsers now adays allow tabbed browsing, and lots of users (myself included) go and load multiple tabs; so if sounds loop you'll have one hell of a mess when visiting sites that would sometimes just end with people disabling sounds on their computer when visiting your site.

Ofcoarse this is generally most annoying on flash files that loop sounds ;\)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#171369 - 12/28/06 12:01 PM Re: wav file error in an Island script [Re: Gizmo]
jgeoff Offline
Pooh-Bah
Registered: 08/08/06
Posts: 1922
Loc: NJ
 Originally Posted By: Gizmo
I figure i'll make a comment since i'm against embedding sounds on sites...


While I agree with everything you've said, he's not embedding/autoplaying/looping the sound -- it's just a link. ;\)
_________________________
GangsterBB.NET (Ver. 7.5.6)
2007 Content Rulez Contest - Hon Mention
UBB.classic 6.7.2 - RIP
Browsers: Chrome, Firefox, & Safari (Win7 and iPhone); No IE, ever!
Top
#171399 - 12/28/06 06:14 PM Re: wav file error in an Island script [Re: jgeoff]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
 Originally Posted By: jgeoff
 Originally Posted By: Gizmo
I figure i'll make a comment since i'm against embedding sounds on sites...


While I agree with everything you've said, he's not embedding/autoplaying/looping the sound -- it's just a link. ;\)

actually, it sounded like he was embedding it, but not in a loop; i was posting on an "in general" stance ;\)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top
#171528 - 12/29/06 05:03 AM Re: wav file error in an Island script [Re: Gizmo]
Bill B Offline

member
Registered: 10/29/06
Posts: 189
Loc: Issaquah, WA
Here's the latest status. Everything now works all of the time!

My users are happy. You see.... they WANT the sound to be available to them. And by having it available as a link, THEY choose when to listen to it or not.

While I agree with everything that you've said... (ha ha)... I think that I've struck a happy medium with everyone.

You can take a look at
http://vccachat.org/forum/ubbthreads.php

Thanks much for your help... and boo hiss on non-relative links.



Edited by Bill B (12/29/06 05:05 AM)
_________________________
--BIll B
Top
#171578 - 12/29/06 05:44 PM Re: wav file error in an Island script [Re: Bill B]
Gizmo Offline

Registered: 06/05/06
Posts: 14994
Loc: Portland, OR; USA
haha, someone agrees with me, thats just scary hehe...

Looks good \:\)
_________________________
Forums: UGN Security & VNC Web Design & Development
UBB.Threads: UBB.Wiki, My UBBSkins, UBB.Sitemaps
Longtime UBB Supporter, UBB Beta Tester & Resident Post-A-Holic.
UBB Modifications, Styling, Coding Services, Disaster Recovery, and more!
Top



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33841 Topics
181696 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image