Member
Member
udaraaka   2010-07-25, 13:22
#1

I disabled magic_quotes_gpc in my php.ini file and tested it with the code described at
http://www.php.net/manual/en/function.get-magic-quotes-gpc.php

and tested the status using

echo get_magic_quotes_gpc();

and it returned 0 means that i have successfully disabled magic_quotes_gpc.

Also i checked
echo get_magic_quotes_runtime();

and it printed 0.However, still i get that warning about magic_qoutes_gpc when i try to install zenphoto again. Can anyone help me to solve this problem?
Thanks!!!

Administrator
Administrator
acrylian   2010-07-25, 16:45
#2

Maybe contact your host.

Member
Member
arvidtp   2010-07-26, 02:38
#3

Is the php.ini file in the zp-core folder? Personally I keep forgetting that I need to put it there every time I upgrade rather than just in the top level zenphoto folder. Php.ini needs to be in the folder in which the scripts run I think - but correct me if there is a better way - not an expert in this stuff, just know enough to generally get things to work in my own probably kludgy ways

Member
Member
udaraaka   2010-07-26, 03:40
#4

@arvidtp: I tried your method and worked perfectly. Thanks buddy. Yeah, u r right. That was the problem.
Thanks a lot.

Member
Member
sbillard   2010-07-26, 18:54
#5

If the php.ini file truely needs to be in the folder where the script runs, then there will be many more copies needed. I really don't know how the file works--my provider lets me edit my server based ini file.

Administrator
Administrator
acrylian   2010-07-27, 07:54
#6

There are different kinds of php.ini files. The main one is for the whole server itself, then some servers allow setting special stuff via those within a folder for that folder (but IMHO that should include all sub folders). Anf for example my host does not allow php.ini file editing but I can change settings via htaccess.

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