Jump to content

Installing A Shoutbox..?


rbb213
 Share

Recommended Posts

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

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

No I mean the original script, the site where you got the script.

I can try to install it Saturday if I get the chance.

 

 

Iknew that too...It desnt matter whether its a db or csv db.....

 

http://sourceforge.net/project/showfiles.p...lease_id=314265

 

Thanks Don

Edited by rbb213
Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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....

Link to comment
Share on other sites

Join the conversation

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

Guest
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.

 Share

×
×
  • Create New...