Last modified: 2010-05-15 15:29:16 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T2551, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 551 - Installer needs to detect magic_quotes_runtime
Installer needs to detect magic_quotes_runtime
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.3.x
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-09-21 22:40 UTC by krishna krishnamaneni
Modified: 2010-05-15 15:29 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description krishna krishnamaneni 2004-09-21 22:40:10 UTC
here is the response from installation page.
Checking environment...

    * PHP 4.3.3: ok
    * PHP server API is apache2handler; ok, using pretty URLs (index.php/Page_Title)
    * Have XML / Latin1-UTF-8 conversion support.
    * PHP's memory_limit is 50M. If this is too low, installation may fail!
    * Have zlib support; enabling output compression.
    * Found GD graphics library built-in, image thumbnailing will be enabled if
you enable uploads.
    * Installation directory: /var/www/html/wiki
    * Script URI path: /wiki
    * Connected as root (automatic)
    * Connected to database... 3.23.58
    * Database wikidb exists
    * Creating tables...Query "CREATE TABLE user ( user_id int(5) unsigned NOT
NULL auto_increment, user_name varchar(255) binary NOT NULL default \'\',
user_real_name varchar(255) binary NOT NULL default \'\', user_rights tinyblob
NOT NULL default \'\', user_password tinyblob NOT NULL default \'\',
user_newpassword tinyblob NOT NULL default \'\', user_email tinytext NOT NULL
default \'\', user_options blob NOT NULL default \'\', user_touched char(14)
binary NOT NULL default \'\', UNIQUE KEY user_id (user_id) ) PACK_KEYS=1" failed
with error code "You have an error in your SQL syntax near '\'\', user_real_name
varchar(255) binary NOT NULL default \'\', user_rights tiny' at line 1".
Comment 1 Brion Vibber 2004-09-22 07:16:45 UTC
Check your PHP configuration; do you have the 'magic_quotes_runtime' option on?
(see http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-runtime )

If you do, try turning it off -- it's likely to cause no end of trouble.

If that's not it, I'm not sure what else could be causing this...
Comment 2 Brion Vibber 2004-09-22 21:11:34 UTC
Reopening this for now; we should add a check for this setting and abort the installation with a message 
explaining the problem.
Comment 3 Brion Vibber 2005-03-20 09:06:29 UTC
Check for magic_quotes_runtime and magic_quotes_sybase now checked into the installer for REL1_4 and HEAD.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links