Im having problem on magic_quotes .

Status
Not open for further replies.

ramlacia

New Member
Messages
33
Reaction score
0
Points
0
im having a problem regarding on magic_quotes how can i disable it?
in my .htaccess:

php_flag register_globals off
php_flag magic_quotes_runtime off
php_flag magic_quotes_sybase off
php_flag magic_quotes_gpc off
php_flag log_errors on
php_flag allow_call_time_pass_reference off
<Files config.php>
Order deny,allow
deny from all
</Files>
<Files .htaccess>
Order deny,allow
deny from all
</Files>
<Files lib.php>
Order deny,allow
deny from all
</Files>

in return i keep having errors(it doesnt show anything) , on my webpage, but when i try to remove all the php_flag commands in .htaccess, it run but having an error saying:

[ENV] ad You have dangerous PHP settings, magic_quotes_gpc is on. Mahara is trying to work around this, but you should really fix it

Call stack (most recent first):
  • log_message("You have dangerous PHP settings, magic_quotes_gpc ...", 1, true, true) at /home/ramlacia/public_html/lib/errors.php:102
  • log_environ("You have dangerous PHP settings, magic_quotes_gpc ...") at /home/ramlacia/public_html/lib/mahara.php:83
  • ensure_sanity() at /home/ramlacia/public_html/init.php:72
  • require("/home/ramlacia/public_html/init.php") at /home/ramlacia/public_html/index.php:30
Question:
1. what should i do?
2. after fixing the problem do i still need to remove all the php_flag commands in the .htaccess?

I have read in forum having the same problem as mine, do i need to upgrade my php version in my account?

hoping for you kind reply.
d(^_^)p

Ramseize
Edit:
i forgot my account is: ramlacia
website: http://mon.exofire.net
 
Last edited:

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
magic_quotes is enabled by default and can't be turned off by the user, as it's not running as an Apache module.

What do you need magic_quotes disabled for? What scripts are you string to use?
 

ramlacia

New Member
Messages
33
Reaction score
0
Points
0
im running mahara 1.0.1 you can check my website... i havent done anything, it still displays errors, can you teach me how to disable it, its like a social network script.
 

Bryon

I Fix Things
Messages
8,149
Reaction score
101
Points
48
Apply for a PHP v3 upgrade. State that I told you to and post a link to this thread there.
 

ramlacia

New Member
Messages
33
Reaction score
0
Points
0
ok thank you Bryon. hope it could be fix soon.
Edit:
why is it that the magic quotes are still on?
 
Last edited:

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
You need to wait for your application to be accepted, and after it has been accepted you'll need to wait 6-12hs for it to update.

Be patient.
 

ramlacia

New Member
Messages
33
Reaction score
0
Points
0
hello, just a follow up on my request for php version 3, hmm bryon has approved my request, hoping for your kind consideration.

d(^_^)p
Ramseize
 

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
Your account shows as having the "Advanced" v3 PHP version. Give it some time for it to update.

Feel free to re-open this thread if you need further assistance.
 
Status
Not open for further replies.
Top