[Fusionforge-commits] r8298 - in trunk/gforge: . contrib/rh8_apache20_config docs/docbook/docbook/installation_guide

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Sat Oct 17 13:43:46 CEST 2009


Author: aljeux
Date: 2009-10-17 13:43:46 +0200 (Sat, 17 Oct 2009)
New Revision: 8298

Modified:
   trunk/gforge/INSTALL.TXT
   trunk/gforge/INSTALL.restricted
   trunk/gforge/contrib/rh8_apache20_config/php.ini
   trunk/gforge/docs/docbook/docbook/installation_guide/installation_guide.xml
Log:
Update docs since now magic_quotes_gpc must be Off

Modified: trunk/gforge/INSTALL.TXT
===================================================================
--- trunk/gforge/INSTALL.TXT	2009-10-17 11:43:39 UTC (rev 8297)
+++ trunk/gforge/INSTALL.TXT	2009-10-17 11:43:46 UTC (rev 8298)
@@ -187,7 +187,7 @@
 necessary for your php cgi to run the cron jobs.
 
 register_globals = Off
-magic_quotes_gpc = On
+magic_quotes_gpc = Off
 file_uploads = On
 include_path = ".:/opt/gforge/gforge/:/opt/gforge/gforge/www/include/:/etc/gforge/"
 
@@ -195,7 +195,7 @@
 it by running the following command and add the above include_path
 directive there:
 
-$ /usr/bin/php4 -i | fgrep php.ini
+$ /usr/bin/php -i | fgrep php.ini
 
 
 FRS - File Release System
@@ -373,12 +373,6 @@
 Mailman and the FRS uploads dir can also be backed up with tar.
 
 
-Q: Any time i enter an apostrophe in a text box, i get a parse error
-
-A: As stated in the instructions above, you should have magic_quotes_gpc=On
-in your php.ini file
-
-
 Q: Large uploads into FRS or the doc manager fail.
 
 A: Apache and the php.ini file need to have upload limits and possibly 

Modified: trunk/gforge/INSTALL.restricted
===================================================================
--- trunk/gforge/INSTALL.restricted	2009-10-17 11:43:39 UTC (rev 8297)
+++ trunk/gforge/INSTALL.restricted	2009-10-17 11:43:46 UTC (rev 8298)
@@ -283,8 +283,8 @@
 Add the following lines to the .htaccess file in your ~/gforge/lib/www directory.
 The crontab.in file also can be modified to include this path as well.
 
-php_value register_globals 1d
-php_value magic_quotes_gpc 1
+php_value register_globals Off
+php_value magic_quotes_gpc Off
 php_value file_uploads 1
 php_value include_path = ".:~/gforge/lib/:~/gforge/lib/www/include/:~/gforge/etc/"
 
@@ -456,12 +456,6 @@
 Mailman and the FRS uploads dir can also be backed up with tar.
 
 
-Q: Any time i enter an apostrophe in a text box, i get a parse error
-
-A: As stated in the instructions above, you should have magic_quotes_gpc=On
-in your php.ini file
-
-
 Q: Large uploads into FRS or the doc manager fail.
 
 A: Apache and the php.ini file need to have upload limits and possibly 

Modified: trunk/gforge/contrib/rh8_apache20_config/php.ini
===================================================================
--- trunk/gforge/contrib/rh8_apache20_config/php.ini	2009-10-17 11:43:39 UTC (rev 8297)
+++ trunk/gforge/contrib/rh8_apache20_config/php.ini	2009-10-17 11:43:46 UTC (rev 8298)
@@ -326,7 +326,7 @@
 ;
 
 ; Magic quotes for incoming GET/POST/Cookie data.
-magic_quotes_gpc = On
+magic_quotes_gpc = Off
 
 ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
 magic_quotes_runtime = Off    

Modified: trunk/gforge/docs/docbook/docbook/installation_guide/installation_guide.xml
===================================================================
--- trunk/gforge/docs/docbook/docbook/installation_guide/installation_guide.xml	2009-10-17 11:43:39 UTC (rev 8297)
+++ trunk/gforge/docs/docbook/docbook/installation_guide/installation_guide.xml	2009-10-17 11:43:46 UTC (rev 8298)
@@ -383,7 +383,7 @@
           <para><emphasis>Serving Web pages</emphasis>.  In this case, PHP is usually used as module and its configuration is in virtual host configuration, as shown later in the document.  If you prefer to configure <filename>php.ini</filename>, the following directives are required by FusionForge:</para>
           <programlisting>
 <!-- register_globals = Off-->
-magic_quotes_gpc = On
+magic_quotes_gpc = Off
 file_uploads = On
 include_path=&quot;.:<replaceable>/opt/gforge</replaceable>:<replaceable>/opt/gforge</replaceable>/www/include:/etc/gforge&quot;
 </programlisting>
@@ -517,7 +517,7 @@
 </programlisting>
           <para>Add these lines in your conf apache </para>
           <programlisting>
-php_flag   magic_quotes_gpc On
+php_flag   magic_quotes_gpc Off
 php_value  include_path     &quot;.:/etc/gforge:<replaceable>/opt/gforge</replaceable>:<replaceable>/opt/gforge</replaceable>/www/include&quot;
 </programlisting>
         </listitem>
@@ -1141,7 +1141,7 @@
     <para>Q: How do I backup FusionForge?</para>
     <para>A: The only proper way to backup the gforge database is with <command>pg_dump</command>.  Any attempt to backup the filesystem while pgsql is running will result in a useless and corrupt backup. You can backup CVS trees using <command>tar</command> as long as they are not actively and heavily used during the backup. Mailman and the FRS uploads dir can also be backed up with <command>tar</command>.</para>
     <para>Q: Any time i enter an apostrophe in a text box, i get a parse error</para>
-    <para>A: As stated in the instructions above, you should have <literal>magic_quotes_gpc=On</literal> in your <filename>php.ini</filename> file.</para>
+    <para>A: As stated in the instructions above, you should have <literal>magic_quotes_gpc=Off</literal> in your <filename>php.ini</filename> file.</para>
     <para>Q: Large uploads into FRS or the doc manager fail.</para>
     <para>A: Apache and the <filename>php.ini</filename> file need to have upload limits and possibly memory limits increased.</para>
     <para>Q: When I click on <filename>/projects/</filename> or <filename>/users/</filename> links, I get a <computeroutput>Page Not Found</computeroutput> error instead of the page I expected.</para>




More information about the Fusionforge-commits mailing list