|
|
Joined: Oct 2006
Posts: 358 Likes: 1
enthusiast
|
|
enthusiast
Joined: Oct 2006
Posts: 358 Likes: 1 |
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
|
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
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.
|
|
|
|
|
Joined: Oct 2006
Posts: 358 Likes: 1
enthusiast
|
|
enthusiast
Joined: Oct 2006
Posts: 358 Likes: 1 |
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
|
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
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:
$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;
|
|
|
|
|
Joined: Oct 2006
Posts: 358 Likes: 1
enthusiast
|
|
enthusiast
Joined: Oct 2006
Posts: 358 Likes: 1 |
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
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
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 
|
|
|
|
|
Joined: Aug 2006
Posts: 1,659 Likes: 1
Pooh-Bah
|
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,659 Likes: 1 |
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. 
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
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 
|
|
|
|
|
Joined: Oct 2006
Posts: 358 Likes: 1
enthusiast
|
|
enthusiast
Joined: Oct 2006
Posts: 358 Likes: 1 |
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.phpThanks much for your help... and boo hiss on non-relative links.
Last edited by Bill B; 12/29/2006 6:05 AM.
--BIll B
|
|
|
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150
|
|
Joined: Jun 2006
Posts: 16,532 Likes: 150 |
haha, someone agrees with me, thats just scary hehe... Looks good 
|
|
|
|
1 members (1 invisible),
304
guests, and
96
robots. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
|