ZenphotoCMS Forum
cannot refresh database - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: cannot refresh database (/thread-1859.html)



cannot refresh database - freya - 2008-10-13

hello,

i still having problem with refreshing database, been using zenphoto since version 0.8... i don't know whether it have relation or not, but when updating zenphoto i just overwrite files, instead delete the core and upload new files... thus i see some old files that left in zp-core folder

should i delete zp-core folder and upload fresh one?

for info, i am using powweb as zenphoto host

thanks before




cannot refresh database - sbillard - 2008-10-13

You should delete the old files. If by accident one of the old files got left instead of being replaced with the new one, bad things could happen.

You have not said what you mean by having problems referesing the database. What is happening?

(I am on POWWEB as well. no problems there.)




cannot refresh database - freya - 2008-10-13

sbillard thanks for the help

when i click on refresh database, everything goes fine
Refresh Database
database connected

We're all set to refresh the database

Go!
but after i click go, i always get error
(The Zenphoto object you are requesting cannot be found.)
Album: cgierrpage.html
Theme page: index

is it possible caused by left over old files?

i will try to delete old files and re-run setup again and see whether it fix the issue or not




cannot refresh database - sbillard - 2008-10-13

It sounds like there is some kind of script error happening. You need to look in your CGI error log to see what it is.




cannot refresh database - freya - 2008-10-13

hello

just now i try to re-run the setup
by deleting zp-core + index.php and then re-run setup.php

then try refresh database function again and i still got error

is it possible because broken database? or because i am using japanese for tagging pictures title (as before there some utf-8 issue)

thanks before




cannot refresh database - sbillard - 2008-10-13

You need to look at your CGI error logs. Go to the OPs page, click on CGI and Scripted Language Support. Then click on PHP Scripting then on CGI Error Logs at the top of the form.




cannot refresh database - freya - 2008-10-14

hello

i check cgi error logs and find out this :
PHP Warning: Zend Optimizer does not support this version of PHP - please upgrade to the latest version of Zend Optimizer in Unknown on line 0

there also other error logs but it seems not have relation with database

incase needed, here server info :
Platform
Type Debian
MySQL Version
MySQL Version 5.0.45
Perl Version
Perl 5.8.8
PHP Version
PHP 4.4.7

seems it because the server still using old php version, gonna try ask about it powweb service center whether they willing to update php version or not




cannot refresh database - freya - 2008-10-14

sbillard thanks for the help!
i manage to fix the issue, just now i figure out that i can set php version on control panel, so i set to php5 and then run setup zenphoto again

after that refresh database can be done ^^

thanks agian!