PDA

View Full Version : Running phpNuke


DQWD
12-13-01, 01:29 AM
I got everything working and everything rightly configured. Does every time I try to get into my admin.php I constantly recieved a 500 Internal error. I looked on Powwebs FAQ but they said to CHMOD the files to 755. I did and I still reviece the error. Does anyone know what to CHMOD the files to?
Please help

Nehle
12-13-01, 02:29 AM
755 I believe

Also, did you upload all files in ascii mode?

DQWD
12-13-01, 02:51 AM
I did in ASCII, I got it to work, But I recieve this error!!


Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' (Using password: NO) in /www/s/sceptic/htdocs/includes/sql_layer.php on line 29

Warning: MySQL: A link to the server could not be established in /www/s/sceptic/htdocs/includes/sql_layer.php on line 29

Warning: Cannot add header information - headers already sent by (output started at /www/s/sceptic/htdocs/includes/sql_layer.php:29) in /www/s/sceptic/htdocs/mainfile.php on line 39

Warning: Supplied argument is not a valid MySQL result resource in /www/s/sceptic/htdocs/includes/sql_layer.php on line 231

Warning: Supplied argument is not a valid MySQL result resource in /www/s/sceptic/htdocs/includes/sql_layer.php on line 231

Warning: Supplied argument is not a valid MySQL result resource in /www/s/sceptic/htdocs/includes/sql_layer.php on line 231


Could someone please help???

sophiespo
12-13-01, 06:50 AM
Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' (Using password: NO) in /www/s/sceptic/htdocs/includes/sql_layer.php on line 29


Edit the file config.php file in the html folder that came with php-nuke. You have to define the info for your database - the server, your username/password, and the database name. That will clear that first and second and last 3 errors up. At the moment its using the default values which is username=root, dbname=localhost and nothing defined for the password.


Warning: Cannot add header information - headers already sent by (output started at /www/s/sceptic/htdocs/includes/sql_layer.php:29) in /www/s/sceptic/htdocs/mainfile.php on line 39


I got this error, and it was because I had put the line #!/usr/local/bin/php on top of a file it didnt need to be.. The only files ive found that NEED that line are some of the ones in the html directory (NOT in any of the subdirectories). It looks as if you have that line in either the mainfile.php or the sql_layer.php file.. it doesnt need to be in either.

Would you like a list of the files that line needs to be in? Ive installed PHP-NUKE twice in the past day or so, its working perfectly.. so theres no reason why it shouldnt work for you.

sophie