HelloEveryone,
I am a total PHP noob, if I can even give myself that Title. I am trying to use an auction script on my site, I have chmod the directories and files as per the install instructions. I run install.php on my server and it says that everything is done correctly and I should proceed to the loggin page so I can create an admin user and pass, but when I get there the page looks like this
<Code>
Warning: main(config.php) [function.main]: failed to open stream: No such file or directory in /home2/carauct2/public_html/includes/config.inc.php on line 62
Warning: main(config.php) [function.main]: failed to open stream: No such file or directory in /home2/carauct2/public_html/includes/config.inc.php on line 62
Warning: main() [function.include]: Failed opening 'config.php' for inclusion (include_path='/usr/lib/php:.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home2/carauct2/public_html/includes/config.inc.php on line 62
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'carauct2'@'localhost' (using password: NO) in /home2/carauct2/public_html/includes/config.inc.php on line 66
Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'carauct2'@'localhost' (using password: NO) in /home2/carauct2/public_html/includes/config.inc.php on line 70
Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /home2/carauct2/public_html/includes/config.inc.php on line 70
Warning: main(includes/fonts.inc.php) [function.main]: failed to open stream: No such file or directory in /home2/carauct2/public_html/includes/config.inc.php on line 84
Warning: main(includes/fonts.inc.php) [function.main]: failed to open stream: No such file or directory in /home2/carauct2/public_html/includes/config.inc.php on line 84
Warning: main() [function.include]: Failed opening 'includes/fonts.inc.php' for inclusion (include_path='/usr/lib/php:.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home2/carauct2/public_html/includes/config.inc.php on line 84
Warning: main(includes/fontcolor.inc.php) [function.main]: failed to open stream: No such file or directory in /home2/carauct2/public_html/includes/config.inc.php on line 85
Warning: main(includes/fontcolor.inc.php) [function.main]: failed to open stream: No such file or directory in /home2/carauct2/public_html/includes/config.inc.php on line 85
Warning: main() [function.include]: Failed opening 'includes/fontcolor.inc.php' for inclusion (include_path='/usr/lib/php:.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home2/carauct2/public_html/includes/config.inc.php on line 85
Warning: main(includes/fontsize.inc.php) [function.main]: failed to open stream: No such file or directory in /home2/carauct2/public_html/includes/config.inc.php on line 86
Warning: main(includes/fontsize.inc.php) [function.main]: failed to open stream: No such file or directory in /home2/carauct2/public_html/includes/config.inc.php on line 86
Warning: main() [function.include]: Failed opening 'includes/fontsize.inc.php' for inclusion (include_path='/usr/lib/php:.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home2/carauct2/public_html/includes/config.inc.php on line 86
Warning: main(./includes/currency.inc.php) [function.main]: failed to open stream: No such file or directory in /home2/carauct2/public_html/includes/config.inc.php on line 181
Warning: main(./includes/currency.inc.php) [function.main]: failed to open stream: No such file or directory in /home2/carauct2/public_html/includes/config.inc.php on line 181
Warning: main() [function.include]: Failed opening './includes/currency.inc.php' for inclusion (include_path='/usr/lib/php:.:/usr/php4/lib/php:/usr/local/php4/lib/php') in /home2/carauct2/public_html/includes/config.inc.php on line 181
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home2/carauct2/public_html/control/login.php on line 25
</CODE>
I Don't understand why it can't find these files, or access them. Truthfuly I don't even know what its trying to do. Anyone who can help would be greatly appreciated!
Help with Auction Site
Moderator: General Moderators
Re: Help with Auction Site
Very likely a path problem. Your error messages show where it thinks it should be looking. Without knowing where you stored the files it's impossible to say more than that.
-
captainron
- Forum Newbie
- Posts: 2
- Joined: Sun Sep 12, 2010 7:04 pm
Re: Help with Auction Site
Ok the file it's looking for is on my server at : server/www/includes/
Why can't it find it?
Why does it also say access denied for user carauct2@ localhost with password = no ???????
Why can't it find it?
Why does it also say access denied for user carauct2@ localhost with password = no ???????
Re: Help with Auction Site
www/includes/ is not the same as public_html/includes/. I'm assuming that your Document Root is the public_html directory and that since that's not where your files are stored, that's the problem. Check your httpd.conf to confirm where Document Root is set to.captainron wrote:Ok the file it's looking for is on my server at : server/www/includes/
Why can't it find it?
Why does it also say access denied for user carauct2@ localhost with password = no ???????