Member
Member
domie22   2006-06-16, 06:35
#1

Can you help me, if i forgot something on my installation. My website is www.youngmarketmasters.com/index2.html (website is not yet finish), I want to put the gallery page here http://www.youngmarketmasters.com/html/gallery.html.

I follow the installation guidelines.

  1. download and install the zen photo
  2. edit zp-config.php.example file, create database and rename it to zp-config.php
  3. upload the zen photo folder, I upload it inside the /www
    the index.php is on www/zenphoto/index.php
    the setup.php and zp-config.php is on www/zenphoto/zen
    Is it ok if i upload the zen folder inside the /www?

////////// zenPHOTO Configuration Variables //////////////////////////////
// After you're done editing this file, load
// http://www.youngmarketmasters.com/zenphoto/zen/setup.php -----What will I gonna put on this?
// to run the setup (of course, replacing the paths where needed).
// NOTE: web_path and server_path are no longer needed! If you're having problems
// with the auto-detected paths, you can override them at the bottom of this file.
////////////////////////////////////////////////////////////////////////////////

And when I visit
http://www.youngmarketmasters.com/zenphoto/zen/setup.php
it said MySQL Error: Could not select the database youngmar_ymmaevents
zenphoto setup.

Does the path is right? Or I will put the gallery.html page before /zenphoto/zen/setup.php?

Please help me,

Thank you in advance

Domie

Member
Member
domie22   2006-06-16, 06:45
#2

Additional
When I visit
http://www.youngmarketmasters.com/zenphoto/index.php

It said
MySQL Error: Could not select the database youngmar_ymmaevents

Warning: Cannot modify header information - headers already sent by (output started at /home/youngmar/public_html/zenphoto/zen/functions-db.php:24) in /home/youngmar/public_html/zenphoto/index.php on line

Domie

Member
Member
DarrellD   2006-06-16, 07:06
#3

From what it looks like, your database configuration is incorrect. Go back and edit your [b]zp-config.php[/b] file and make sure that you put the correct database information.

• Make sure that
$conf['mysql_user'] = "username";
has the name of your mysql user instead of [i]username[/i]

• Make sure that
$conf['mysql_pass'] = "password";
has the password of your mysql user instead of [i]password[/i]

• [b]If you're using DreamHost[/b] make sure that you change
$conf['mysql_host'] = "localhost";
to be
$conf['mysql_host'] = "database_name.site_name.com";
where [i]database_name.site_name.com[/i] has your database name then a period, then your site name, then [i].com[/i] at the end.

• Make sure that
$conf['mysql_database'] = "database_name";
has the name of your mysql database ([b]not table name[/b]) instead of [i]database_name[/i]

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.