Member
Member
Sponsi   01-07-2015, 08:48
#1

Hi,

I'm updating to 1.4.8.
So 5 sites went OK, strangely - without any need to run scripts, just /admin and closing scripting alert.

However, the 6th site is currently locked on
(...)/zp-core/setup/index.php?autorun=gallery
(2 minutes passed)
OK now there is the reinstallator.

The same with themes - sometimes the script saves new themes over my old ones, sometimes it leaves the e.g. light.css.

My question: why does zenphoto behave in different ways?
Same host, same script, same history of updates, etc.
Once it's an installator, once it just reloads and logs in with a higher number at the bottom. Themes sometimes saved over, sometimes left default.

Administrator
Administrator
acrylian   01-07-2015, 09:42
#2

Normally setup should and does run automatically after you upgraded. If it does not you should run it manually in any case.

Quote:The same with themes - sometimes the script saves new themes over my old ones, sometimes it leaves the e.g. light.css.
Zenphoto and its setup process actually does not save anything over anything. All it does is update the database structure if needed, but not any files. The only way files are overwritten is by uploading them via FTP.

If you possibly used an install script provided by your host, that might be an issue with that installer script.

Member
Member
Sponsi   02-07-2015, 07:13
#3

I never use host installers.
So you think I should run the script like /install anyway?
Hmmm I won't remember which ones went through OK and which ones I need to run now : /

What address should I run to have the installer?

I tried one of the galleries and /install doesn't work.
What's the path to run update?

Administrator
Administrator
acrylian   02-07-2015, 08:34
#4

Ok, just asked about host installers as these often cause trouble in the past.

The address to run setup is /zp-core/setup/ or /zp-core/setup.php`. But there should also be a button "Run setup" right in the admin overview page (not in releases before 1.4.6).

You can run setup anytime, it really does not do any harm to a running and already update system.

Member
Member
Sponsi   02-07-2015, 12:08
#5

OK, the address is forbidden and I believe it's locking the scripts or something (the option which shows after upgrade) but I can't find this setting to enable the update.

I don't know which sites updated OK and which not as I can't run the setup.

Administrator
Administrator
acrylian   02-07-2015, 12:22
#6

Sorry, my mistake. There is a button "Setup > restore files" on the overview page to unprotect the setup files. Afterwards you should see the button to run setup and the url should work as well.

This is all for security of course.

Administrator
Administrator
acrylian   02-07-2015, 12:22
#7

Sorry, my mistake. There is a button "Setup > restore files" on the overview page to unprotect the setup files. Afterwards you should see the button to run setup and the url should work as well.

This is all for security of course.

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