my url is
http://www.tahoeunderground.com/zenphoto/zp-core/setup.php.
So I set up my username, password, host, and database info entered in the zp-setup.php. It then asks me for a login and password. Im assuming the login is the username i created for the database and the password is the password for the database. I enter those and I get redirected to the "zenphoto upgrade page"
http://www.tahoeunderground.com/zenphoto/zp-core/setup.php?checked ,where it asks for a login and password. I accepts nothing and keeping bouncing back to the "zenphoto upgrade page". I tried to request a reset a couple times and received no email. Whats my next move? I really want to integrate this program into my website but this is not proving to be that "easy". please help
Comments
Anyway, the user/password for the database need not be the same as for your login to zenphoto. In fact, we would recommend that they be different.
The general procedure for password problems is found here http://www.zenphoto.org/2007/12/troubleshooting-zenphoto/#16
Also check your zp-config.php file to be sure it does not have a user/password configured.
MySQL Admin user/passwords are the ones you configured when you setup your database. They are used solely for connecting to the database and are stored in the zp-config.php file with the lines:
`$conf['mysql_user'] = "";
$conf['mysql_pass'] = "";`
There is also a Zenphoto Admin user/password. These should not be stored in zp-config.php. They are stored in a database table named 'administrators' (prefixed with whatever you set as your database table prefix.)
I think the best thing for you to do at this point is to drop the tables from your zenphoto database, delete the zp-config.php file from the zp-core folder. Clear any zenphoto browser cookies and re-run the setup program.
This should prompt you for you MySQL information but should not ask for a user/password for zenphoto. Once you have clicked the GO button you should get a link to setup your zenphoto user/password.
which redirects me to http://www.tahoeunderground.com/zenphoto/zp-core/setup.php It gives me the "GO" link at the bottom of the page to create the tables in my database. When I click "GO" it takes me here... http://www.tahoeunderground.com/zenphoto/zp-core/setup.php?checked&create=zp_options,zp_albums,zp_images,zp_comments,zp_administrators,zp_admintoalbum,zp_tags,zp_obj_to_tag . The page says...
Zenphoto Setup
About to create tables...
Then in a red table it says...
Zenphoto Error
MySQL Query ( SELECT * FROM `zp_albums` ) Failed. Error:Table 'zenphoto.zp_albums' doesn't exist
It looks like your zenphoto tables haven't been created.You may need to run the setup script.
"run the set up script" is a link which I click, which takes me back to http://www.tahoeunderground.com/zenphoto/zp-core/setup.php with the "Go" set up tables link. It just takes me in a circle from one page to the next. This is obviosly a new problem and I'm not getting as far in the setup as I did before I installed 1.1.7. What should I do now?
define('HTACCESS_VERSION', '1.1.6.0'); // be sure to change this the one in .htaccess when the .htaccess file is updated.
I then went to the .htaccess file and at the top it says...
# htaccess file version 1.1.6.0
# Update the above and the define in setup.php when you make changes to the rewrite rules!
# NOTE: Change the RewriteBase below to the absolute path to your zenphoto directory. (Or let setup.php do it for you!)
Do I need to change any of this or is it automated? Does this mean I downloaded version 1.1.6 again?
Dang I know this should be easy but...
Run setup again this time add ?debug to the URL: `http://www.tahoeunderground.com/zenphoto/zp-core/setup.php?debug`
This will create a log of what Setup is doing and the results. First guess is that it is not succeeding in creating the tables.
I have the same problem of joeback, I followed your steps, and what I found out in the log file is that there are those errors:
Begin table updates
MySQL Query ( ALTER TABLE `zp_albums` ADD COLUMN `sort_type` varchar(20); ) Failed. Error: Duplicate column name 'sort_type'
MySQL Query ( ALTER TABLE `zp_albums` ADD COLUMN `sort_order` int(11); ) Failed. Error: Duplicate column name 'sort_order'
MySQL Query ( ALTER TABLE `zp_images` ADD COLUMN `sort_order` int(11); ) Failed. Error: Duplicate column name 'sort_order'
MySQL Query ( ALTER TABLE `zp_images` ADD COLUMN `height` INT UNSIGNED; ) Failed. Error: Duplicate column name 'height'
MySQL Query ( ALTER TABLE `zp_images` ADD COLUMN `width` INT UNSIGNED; ) Failed. Error: Duplicate column name 'width'
MySQL Query ( ALTER TABLE `zp_albums` ADD COLUMN `parentid` int(11) unsigned default NULL; ) Failed. Error: Duplicate column name 'parentid'
MySQL Query ( ALTER TABLE `zp_images` ADD COLUMN `mtime` int(32) default NULL; ) Failed. Error: Duplicate column name 'mtime'
MySQL Query ( ALTER TABLE `zp_albums` ADD COLUMN `mtime` int(32) default NULL; ) Failed. Error: Duplicate column name 'mtime'
MySQL Query ( ALTER TABLE `zp_options` DROP `bool`, DROP `description`; ) Failed. Error: Can't DROP 'bool'; check that column/key exists
and some more, please let me know if you want me to send you also them.
my zenphoto version is 1.1.7 [1842]
I'm not upgrading...
how can I create a ticket?
MySQL show grants access is disabled due to shared database security
policies and cannot be enabled for client users.
You may wish to consult the developer to see if this is necessary to
run the program or if it only affects certain modules of the program. "
Is this my problem?