ZenphotoCMS Forum
ZP 1.2 Unable to save Plugins Selection. - 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: ZP 1.2 Unable to save Plugins Selection. (/thread-3534.html)



ZP 1.2 Unable to save Plugins Selection. - Dancorp - 2008-08-22

Hi guys,

With the new release, i have a problem concerning the plugins (in admin section)
When i want to activate one of them (or more) like flowplayer, i check it and i click
on the save button.
The problem : after the save, all plugin are unchecked...
I have try to change my browser, by using ie7... same result.

i had no problem with the 1.1.7...

(Sorry for my english, i'm french )




ZP 1.2 Unable to save Plugins Selection. - pled - 2008-08-24

Hi,

I get the same problem. And I am french too (so french language selected). On my local installation, it works fine.
On the remote server (internet provider), I am unable to activate any plugin, although I can read "Enregistré" (saved) in the green temporary area when the page is refreshed.




ZP 1.2 Unable to save Plugins Selection. - sbillard - 2008-08-25

Since you are getting the saved message, something is not getting set in your database. Can you browse your database? The plugins settings are stored in the optons table with the prefix zp_plugin_. What do you have in that table?




ZP 1.2 Unable to save Plugins Selection. - trisweb - 2008-08-25

Did you run /zp-core/setup.php to upgrade your installation? It did not happen automatically for me, so you may have to run it manually.




ZP 1.2 Unable to save Plugins Selection. - pled - 2008-08-25

It appears values are set :

zp_plugin_google_maps 1
zp_plugin_rating 1
p_plugin_image_album_statistics 1
zp_plugin_flowplayer 1
zpplugin./GoogleCheckout 0
zpplugin./dynamic-locale 0
... and so on, 0 for all others....

That's what I set. But once page is refreshed, all functions are unchecked again (and functions do not work !).
I did run setup again. I get the page use your galery almost immediately.




ZP 1.2 Unable to save Plugins Selection. - sbillard - 2008-08-25

The last two look wrong. The ./ should not be there. Do all the rest have the ./?

Have you had to set the SAFE_GLOB define? (If you do not know what I am talking about, then the answer is no)




ZP 1.2 Unable to save Plugins Selection. - sbillard - 2008-08-25

Found the problem. Fix will be in the nightly.




ZP 1.2 Unable to save Plugins Selection. - pled - 2008-08-26

it seems I do not need to answer... ;-)
but the answer was yes, I was asked to set SAFE_GLOB during upgrade.




ZP 1.2 Unable to save Plugins Selection. - sbillard - 2008-08-26

I figured that must be the case. That safe_glob did not quite mimic the real one. It does now.




ZP 1.2 Unable to save Plugins Selection. - pled - 2008-08-27

Perfect, it works now.
Thanks a lot, as always.




ZP 1.2 Unable to save Plugins Selection. - Dancorp - 2008-08-28

I just coming back from my holiday...
.. and i'm lucky to found some response and a solution !
Thanks for all, i'll try to change this parameter too !