Jump to content

Recommended Posts

Posted

ADMINNNNNN

 

 

I have everything installed, but I keep getting some errors...

 

Warning: file(home/.../public_html/shoutbox/shouts.txt): failed to open stream: No such file or directory in /home/.../public_html/shoutbox/shoutbox_csv.php on line 52

 

Warning: file(home/.../public_html/shoutbox/shouts.txt): failed to open stream: No such file or directory in /home/.../public_html/shoutbox/shoutbox_csv.php on line 34

 

Warning: Cannot modify header information - headers already sent by (output started at /home/.../public_html/shoutbox/shoutbox_csv.php:52) in /home/.../public_html/shoutbox/shoutbox.php on line 130

 

 

Any ideas.....

 

Feel free to fix them for me...lol...

 

Rocky

 

 

Edit: TCH-Bruce - removed user information - please don't post your complete path in these forums, you're just asking for trouble

Posted
create a file called shouts.txt in your shoutbox directory. you may need to change permissions for the shouts.txt file to 777.

 

 

tried that, still no dice...

Posted (edited)

If you want to use the CSV version, open shoutbox_csv.php. Line 9 is where you set the the location of shouts.txt. For some reason, even though the file lives in the same directory as the script, they felt the need to define the full path (although I should note that it works for me with the full path). If you just change it to:

>$shoutfile = "shouts.txt";

you should be fine. Haven't looked at the MySQL one yet.

Edited by timhodge
Posted

I was looking at your site and the answer finally reached out and slapped me in the face. Despite my feeling that "shouts.txt" works just fine, they insist on putting the full path to the file in the variable. Both work for me. You have neither.

 

You have:

>/public_html/shoutbox/shouts.txt

rather than:

>/home/username/public_html/shoutbox/shouts.txt

Sure enough, if I take out the /home/username I can make mine look like yours.

Posted

Thanks Tim, I did what you said, and low and behold, IT WORKS!!!...

 

Im am amazed of the knowlegde from the people on these boards.....This is truely amazing on how you guys can pin point my issues and assisting me to fix them....

 

KUDOS to all....

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...