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):
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
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
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: