ZenphotoCMS Forum
php.ini issue with 1.4.4-DEV - 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: php.ini issue with 1.4.4-DEV (/thread-10558.html)



php.ini issue with 1.4.4-DEV - fdnyfish - 2012-11-01

I uploaded Zenphoto version 1.4.4-DEV over a 1.4.3.3 install.

When I run setup i get a register_globals = off error;

Should the php.ini file that is located in the root directory of the install from 1.4.3.3 work for 1.4.4-DEV ?

Even when I click on the "Click here to acknowledge that you wish to ignore this issue. It will then become a warning"

it still shows as a error after refresh.




php.ini issue with 1.4.4-DEV - acrylian - 2012-11-01

A php.ini file is not part of Zenphoto. register_globably must be off for Zenphoto to run because it is considered a security issue if not.




php.ini issue with 1.4.4-DEV - fdnyfish - 2012-11-01

Yes I understand that,

my php.ini does have register_globals set to off, as it was working fine with version 1.4.3.3

1.4.4 for some reason does not acknowledge the php.ini

Even if I delete the php.ini file and re-run setup, I get the same error message.

this tells me that 1.4.4 is not seeing the php.ini file




php.ini issue with 1.4.4-DEV - fdnyfish - 2012-11-01

I had to update the htaccess file in my server root directory.

not the folder where this version of 1.4.4 was installed.

The upgrade completed to 1.4.4

Thanks




php.ini issue with 1.4.4-DEV - acrylian - 2012-11-01

Well, the php.ini is for your server. So it is maybe ignoring it for some reason. Zenphoto just tells on setup what the server tells. Still, 1.4.4 is work in progress so there might be issues. Sbillard will surely know more.




php.ini issue with 1.4.4-DEV - sbillard - 2012-11-01

The bit of setup not honoring your click to acknowledge is a bug. Thanks for pointing it out. The fix will get into the DEV branch soon.