Help - Search - Members - Calendar
Full Version: failed to open stream
Weborum Webmaster Forum > TUTORIAL ARCHIVE - tutorials & scripts to save you scouring the internet. Please feel free to add your own. > PHP Tutorials & scripts
Cr8zyFreak
Hey everyone, Im new here... I did some searching around the web and found this nice little shoutbox.... Was having problems with another.. SO I had to find another one. wanted to give this one a try...

I did some reading through and found someone had the same problem as I am, but I didnt see any answers for it.. So I thought I would make another post for it..

Heres my errors im getting when I run ShoutLogin.php

CODE
Warning: main(ShoutBoxFiles/shoutoptions.php): failed to open stream: No such file or directory in /home/friendsi/public_html/ShoutBoxFiles/ShoutLogin.php on line 8

Warning: main(): Failed opening 'ShoutBoxFiles/shoutoptions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/friendsi/public_html/ShoutBoxFiles/ShoutLogin.php on line 8

Warning: main(ShoutBoxFiles/shoutfunctions.php): failed to open stream: No such file or directory in /home/friendsi/public_html/ShoutBoxFiles/ShoutLogin.php on line 11

Warning: main(): Failed opening 'ShoutBoxFiles/shoutfunctions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/friendsi/public_html/ShoutBoxFiles/ShoutLogin.php on line 11

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/friendsi/public_html/ShoutBoxFiles/ShoutLogin.php on line 100
You currently do not have an Admin, please enter the following information...


Yes I did set up the shoutoptions.php file with all the required fields:

CODE
$dbHost =localhost;
#Your db host

$dbUser =myusername;
#username

$dbPass =mypassword;
#Pass

$dbname =friendsi_shoutbox;
#Name of the database.


But Yet I still get those errors above... What am I missing?

Thanx in advance.. If anyone still reads through here lol
Timo
Put all the values in the options in quotes. smile.gif

CODE

$dbHost ="localhost";
#Your db host

$dbUser ="myusername";
#username

$dbPass ="mypassword";
#Pass

$dbname ="friendsi_shoutbox";
#Name of the database.
Cr8zyFreak
I still get the same thing... =(

( I can setup an arcade on my site.. and cant even set up a small shoutbox.. this is terrible) =\
Cr8zyFreak
Ahh nevermind... I had ShoutLogin.php in the ShoutBoxFiles folder... Didnt realize it was suppose to be in the root folder...

Gawd im an idiot.. =\
Cr8zyFreak
ah forget it.. I'll just look for another shoutbox... bye..
Timo
QUOTE (Cr8zyFreak @ Jul 13 2004, 12:57 PM)
ah forget it.. I'll just look for another shoutbox... bye..

Whatever floats your boat. smile.gif I'll have you know friends of mine without any PHP or MySQL knowledge did it on their own. So I stand by it being easy to setup, hell they can barely use HTML let alone PHP. smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.