RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Miscellaneous > Forum Feedback

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 03-25-2008, 01:19 PM
Registered User
 
Join Date: Mar 2008
Posts: 5
Downloads: 0
Uploads: 0
Default magic_quotes_gpc

Hi!

I am running RoundCube Webmail Installer

Under the, Checking php.ini/.htaccess settings, I get the error:
magic_quotes_gpc: NOT OK(is '1', should be '0')

Is it ok for me to have inserted:

php_flag magic_quotes_gpc off

into .htaccess as displayed below:

# AddDefaultCharset UTF-8
AddType text/x-component .htc

<IfModule mod_php4.c>
php_flag display_errors Off
php_flag log_errors On
php_flag magic_quotes_gpc off
php_value error_log logs/errors
php_value upload_max_filesize 5M
php_value post_max_size 6M
php_value memory_limit 64M
php_value session.auto_start 0
php_value zlib.output_compression 0
php_value magic_quotes_gpc 0
</IfModule>

<IfModule mod_php5.c>
php_flag display_errors Off
php_flag log_errors On
php_flag magic_quotes_gpc off
php_value error_log logs/errors
php_value upload_max_filesize 5M
php_value post_max_size 6M
php_value memory_limit 64M
php_value session.auto_start 0
php_value zlib.output_compression 0
php_value magic_quotes_gpc 0
</IfModule>

<FilesMatch "(\.inc|\~)$">
Order allow,deny
Deny from all
</FilesMatch>

Order deny,allow
Allow from all
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 08-19-2008, 12:36 PM
Registered User
 
Join Date: Aug 2008
Posts: 9
Downloads: 0
Uploads: 0
Default

This error has come up for me as well, But I don't know how to fix it.. Is someone able to tell me?

Thanks,
Jarred
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 08-19-2008, 03:51 PM
dj2's Avatar
dj2 dj2 is offline
Registered User
 
Join Date: Jul 2008
Location: Ohio
Posts: 40
Downloads: 7
Uploads: 0
Default

As long as your host allows to the .htaccess file, open it and add this line:
Code:
php_flag magic_quotes_gpc off
Save, and you should be set.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 08-19-2008, 03:57 PM
Registered User
 
Join Date: Aug 2008
Posts: 9
Downloads: 0
Uploads: 0
Default

Where is the .htaccess file?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 08-19-2008, 04:02 PM
dj2's Avatar
dj2 dj2 is offline
Registered User
 
Join Date: Jul 2008
Location: Ohio
Posts: 40
Downloads: 7
Uploads: 0
Default

It's located in the root directory when you login via FTP. You may have to set your FTP app to show invisible files.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 08-19-2008, 04:10 PM
Registered User
 
Join Date: Aug 2008
Posts: 9
Downloads: 0
Uploads: 0
Default

The one in the public_html folder?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 08-19-2008, 04:35 PM
dj2's Avatar
dj2 dj2 is offline
Registered User
 
Join Date: Jul 2008
Location: Ohio
Posts: 40
Downloads: 7
Uploads: 0
Default

Quote:
Originally Posted by jarred89 View Post
The one in the public_html folder?
That's the one
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 08-19-2008, 04:39 PM
Registered User
 
Join Date: Aug 2008
Posts: 9
Downloads: 0
Uploads: 0
Default

Cool, There is nothing in it so ill just copy that to it and save it then upload it again.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 08-19-2008, 04:43 PM
Registered User
 
Join Date: Aug 2008
Posts: 9
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by jarred89 View Post
Cool, There is nothing in it so ill just copy that to it and save it then upload it again.
It makes the whole site not work...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 08-19-2008, 05:07 PM
Registered User
 
Join Date: May 2007
Posts: 92
Downloads: 0
Uploads: 0
Default

You want to put it in the .htaccess that is in your Roundcube root which should already have quite a few lines in it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 06:48 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community