n00b installation help

Problem installing zenphoto. Below steps were conducted;

Changed the zp-config.php file to my server settings.(renamed and saved)
$conf['mysql_user'] = "changed";
$conf['mysql_pass'] = "changed";
$conf['mysql_host'] = "changed"; // Won't need to change this 90% of the time.
$conf['mysql_database'] = "changed";

edited my .htaccess file to 'photos'

Uploaded the zenphoto files to my server using gFTP (ubuntu linux app)

When I navigated to my setup file I was prompted to enter my password;
entered:admin for the username, then 1234 for the password (planned to change it later).

I then received the following errors;
-------------
MySQL Error: Could not connect to the database server. Check your zp-config.php file for the correct Host, User name, and Password.

Warning: Cannot modify header information - headers already sent by (output started at /home/content/d/r/i/drifterman/html/photos/zen/functions-db.php:31) in /home/content/d/r/i/drifterman/html/photos/zen/auth_zp.php on line 30

Warning: Cannot modify header information - headers already sent by (output started at /home/content/d/r/i/drifterman/html/photos/zen/functions-db.php:31) in /home/content/d/r/i/drifterman/html/photos/zen/auth_zp.php on line 33
------------

Other facts to note;
I'm using godaddy and running MySQL 5.0
I did not modify the file permissions as I'm a n00b and don't know how to do this with my FTP program.

I verified all data to be correct via my provider. (stuff I changed in the zp-config)

Thanks in advance,

Drifter

Comments

  • as for your installation problem. Your database information is NOT correct. Double check it again and make sure you have everything typed in correctly. My suggestion would be start with a clean zp-config.php and retype all of it in that way you dont miss anything.

    As far as the file permissions. Normally it is just a right click on the folder using your ftp program and change the permissions to 777. Filezilla is a good program to use and I know it has this feature
  • I right clicked on my files and selected chmod and changed it to read and write for everyone.
    still getting same error when attempting to run install.

    I'll go through the zp-config file again line by line and post here if I a successful.

    Thanks
  • ok Chilifrie64,

    Good to go, and thanks. It's probably my fault, but I misinterpreted godaddy's naming convention for their databases. The part that "90% shouldn't have to change" I have to change and swap with hostname. So basically I put host name in the database name spot and vice versa.

    Stupid N00b shenanigans. Thanks
  • trisweb Administrator
    Yeah, Godaddy has non-localhost MySQL servers, like it says 90% you don't have to change it, but 10% you do! :-)

    Glad you got it working.
Sign In or Register to comment.