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?
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/0603:36 PMRe: wav file error in an Island script
[Re: Bill B]
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.
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;
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!!
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
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.