Closed sammichael closed 10 years ago
Something is seriously wrong with whatever you did.
The line number and error message you report are not from the scripts of the 1.4.5 release. In fact the code of the 1.4.5.8 release does use the preg_replace_callback function as directed in the error message. I cannot remember at this point when that change was put in, but it has been that way for some time.
Somehow you have got the wrong files on your site.
i downloaded it today again and it setup run through again with other failures, probably it was to late at night yesterday i read the wrong lines but when i click on manage my gallery i get redirect back to the setup page where i can run the setup again also when i try to enter zp-core folder i get a blanc page again when i try to enter my gallery i get a redirect to the setup page so something is wrong setup files also still exists, when i delete them manually and try to enter admin.php directly it tells me
Zenphoto 1.4.5.8[f293a451e4] has been copied over an unknown release. Fatal error: Call to undefined function getXSRFToken() in /subfolder/foto/zp-core/reconfigure.php on line 222
i don't know if you want it this like but on top of the page i get at setup the following lines like
$conf['db_software'] = "$conf['db_software'] = "$conf['db_software'] = "$conf['db_software'] = "$conf['db_software'] = "$conf['db_software'] = "$conf['db_software'] = "$conf['db_software'] = "$conf['db_software'] = ""; MySQLi"; MySQLi"; MySQLi"; MySQLi"; MySQLi"; MySQLi"; MySQLi"; MySQLi"; MySQLi
What do the error logs say?
for the admin.php with version 1.4.3 debug.log says {Tue, 21 Jan 2014 16:19:49 GMT} Zenphoto v1.4.3.1[10695] Backtrace: EXCEPTION (8192): preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /subfoldere/foto/zp-core/lib-kses.php in Zeile 87 preg_replace called from kses_split (lib-kses.php [87]) from kses (lib-kses.php [53]) from sanitize_string (functions-basic.php [885]) from sanitize (functions-basic.php [819]) from exposeZenPhotoInformations (template-functions.php [4577]) from index.php [115] {Tue, 21 Jan 2014 16:20:23 GMT} Backtrace: EXCEPTION (8192): preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /subfolder/foto/zp-core/lib-kses.php in Zeile 87 preg_replace called from kses_split (lib-kses.php [87]) from kses (lib-kses.php [53]) from sanitize_string (functions-basic.php [885]) from sanitize (functions-basic.php [819]) from exposeZenPhotoInformations (template-functions.php [4577]) from index.php [115] {Tue, 21 Jan 2014 16:20:34 GMT} Backtrace: EXCEPTION (8192): preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /subfolder/foto/zp-core/lib-kses.php in Zeile 87 preg_replace called from kses_split (lib-kses.php [87]) from kses (lib-kses.php [53]) from sanitize_string (functions-basic.php [885]) from sanitize (functions-basic.php [819]) from Zenphoto_Authority->printLoginForm (lib-auth.php [843]) from admin.php [158]
for update i delete all files in root and also the folders doc_files,themes and zp_core for update i add this folders and the index.php again to my webspace after that i go to subfolder/foto/ (foto=zenphoto root) and setup starts where i have to enter my admin credentials then it tells me that zp-data has permission 644 instead of 600 and that .htaccess does not exist then i press the button to create .htaccess after that i press the RUN button it tells me available themes and available plugins, which takes a while till i get many white crosses in red circles mod_rewrite test has also this symbol and at themes only the last two fields are marked with that symbol the first four are empty
security.log tells me Set Security log permissions Failed File permissions of Security log are 0640 setup.log tells me only a warning about wrong rights of recomended rights for zp-data folder debug.log was not recreated
and again the issue like above
What does it say after the upgrade? What does the server log say (not exectly the same as the debug log).
You cannot run the 1.4.3 release with PHP 5.5.6 as you have noticed with:
preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /subfoldere/foto/zp-core/lib-kses.php in Zeile 87
It is for reasons like this that it is advisable to keep your Zenphoto install up-to-date. If you wish to run Zenphoto 1.4.3 revert your PHP to where it was.
If you want to try the 1.4.5.8 release you will need to remove all the files in your installation but the album folder. After you upload the 1.4.5.8 release directly link to the .../zp-core/setup/index.php
script
@acrylian - sorry but there is no server.log in the zp-data folder
Server logs are, well, on your server. Talk to your host technical support to find how to locate them.
after i deleted everything excepting the albums folder everythings works fine again thank you very much for your help
hi
i tried to update from 1.4.3 10695 Backtrace: EXCEPTION (8192): preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in subfolder/foto/zp-core/lib-kses.php in Zeile 87 i updated yesterday to php version 5.5.6 since i did that admin.php didn't open in version 1.4.3 10695. i tested it in IE,FF and Chrome
Michael