Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (Mike L), 22 Guests and 15 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 06/21/10
Posts: 58
Top Posters (30 Days)
Ruben 61
SD 53
Gizmo 48
gliderdad 33
Dunny 21
driv 18
dbremer 16
Stan 13
Mark S 13
Iann128 11
Latest Photos
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Gizzo Marx
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: 182
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: 182
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: 182
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 Online   cat

Registered: 06/05/06
Posts: 14904
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 Online   cat

Registered: 06/05/06
Posts: 14904
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: 182
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 Online   cat

Registered: 06/05/06
Posts: 14904
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
Edit Post
by Bert
01:19 PM
A positive note
by SteveS
09:36 PM
How to locate links to particular site if they are only used in images?
by Conrad
02/10/12 09:41 PM
Pictures not displaying
by Marker23
02/09/12 10:04 PM
Issue with logging out constantly
by Flanuva
02/09/12 07:05 PM
Forum Stats
10213 Members
36 Forums
33667 Topics
180917 Posts

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