Zenphoto + Wordpress 2

I followed the INSTALL that comes with the zip.

1. Get the files in the zenphoto.zip or zenphoto.tar.gz package on to your
server somehow (FTP, SSH, wget, tar -xzvf .., etc.)
(You may want to do step 2 first)

2. Go to http://www.yoursite.com/zenphoto/zen/setup.php and follow the
simple instructions.

(No, it's not really a 2 step install. There are 4 more steps in step 2...)

Right after that it told me to go back to the setup.php and i get "MySQL Error: Could not connect to the database server.
" Im noob in this things could someone help me out here? Thank you!

Comments

  • ziebo Member
    In config.php, did you specify a user and database name, hostname, and password in order to connect to the database?
  • rich Member
    Thank you ziebo for answering... Well which config.php ( is it the one in the zen folder which is the config.php.example?) if so which one specificly i need to edit? like i said im not really good with this and i need help. Agian Thank you!
  • you need to rename config.php.example to config.php and insert your database variables into there.
    There should only be 1 config.php(config.php.example) in the installation package.. and yes it is in the zen folder.
  • rich Member
    hello agian, I did wat u told me to do Chilifrei64 and i dont get any MySQL Error anymore but now i have this one problem which i cant log in at all and im using same login and password i created .. any idea? Thank you agian for the help!
  • not sure what kinda password you created but maybe try something simpler or changing it back to 1234.... and see if it works this way..
    Also.. try clearing your cookies.. sometimes that helps..
  • rich Member
    finally i manage to login to the admin page but i got a problem.

    Everytime I upload a picture i get this error

    Warning: move_uploaded_file(/home/tari/public_html/zenphoto/albums/album/bento[1].jpg): failed to open stream: Permission denied in /home/tari/public_html/zenphoto/zen/admin.php on line 113

    Warning: move_uploaded_file(): Unable to move '/tmp/php7yZVTu' to '/home/tari/public_html/zenphoto/albums/album/bento[1].jpg' in /home/tari/public_html/zenphoto/zen/admin.php on line 113

    Warning: Cannot modify header information - headers already sent by (output started at /home/tari/public_html/zenphoto/zen/admin.php:113) in /home/tari/public_html/zenphoto/zen/admin.php on line 127

    how can i fix this problem? thank you agian!
  • ziebo Member
    Through FTP or a web file management interface, try changing the permissions (CHMOD) of the 'albums' and 'cache' folders to either 777 or 755...
Sign In or Register to comment.