Mutlipe Errors completely new to this stuff........

Ok im so new to all this stuff. Im a former coppermine gallery user and it was just as the author of Zenphoto stated "bloated" and too many uncecessary features. Zen photo is so light and refreshing and I cant wait to customize it BUT im getting these nasty errors:

MySQL Error: Could not select the database database_name

Warning: Cannot modify header information - headers already sent by (output started at /home/tonibra/public_html/gallery/zen/functions-db.php:20) in /home/tonibra/public_html/gallery/zen/auth_zp.php on line 22

Warning: Cannot modify header information - headers already sent by (output started at /home/tonibra/public_html/gallery/zen/functions-db.php:20) in /home/tonibra/public_html/gallery/zen/auth_zp.php on line 23

zenphoto setup
MySQL Error: Could not select the database database_name

database not connected
Check the config.php file to make sure you've got the right username, password, host, and database. If you haven't created the database yet, now would be a good time.

Comments

  • This is actually pretty interesting.. it looks here on my screen that you already answered yourself.

    rightnow it is looking for a database named "database_name" which is the default name in config.php
    Make sure you change this to your actual database name and while you are at it make sure you change the password username and table prefix to the right settings also.
  • Im sorry you totally lost me again. I use surpass hosting and I beleive I already have a mysql database automatically intergrated. How do I know the name of my database? I usually use fantastico to automatically install it into my website. Now I dont have that option. Also what is a table prefix?
  • YES! I figured it out on my own. All I had to do was go in to my controlpanel and add a new database DUH lol thanx for the help anyways!
Sign In or Register to comment.