WordPress.org

Ready to get started?Download WordPress

Forums

Step 2 error: (5 posts)

  1. hashem
    Member
    Posted 9 years ago #

    Hello!

    I having trouble installing WordPress 1.22. The error occurs in Step 2. After the part which says
    "Option Tables created okay".,I get the following error over and over again:

    Database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'Array' at line 1] Array

    I must have deleted the database and recreated the user about a dozen times, but its always the same error.

    I am using :

    Apache version 1.3.33 (Unix)
    PHP version 4.3.10
    MySQL version 4.0.22-standard

    I would appreciate any help!

    Thanks
    Regards
    Hashem

  2. sylday
    Member
    Posted 9 years ago #

    I heard, but haven't verified, that after the worm defacing that occured with the phpBB message boards many servers installed safeguards that are preventing the installation of WordPress. The Step #2 error that you're describing is the problem others are having.

  3. szehau
    Member
    Posted 9 years ago #

    Hi,

    I faced the same problem when installing wordpress 1.2.2. I have figured out the problem and I changed the following code (in install.php):

    "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(86,'default_geourl_lat ', 8, 0.0, 'The default Latitude ICBM value - see here', 8, 20)",
    "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(87,'default_geourl_lon', 8, 0.0, 'The default Longitude ICBM value', 8, 20)",

    to


    "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(86,'default_geourl_lat ', 8, '0.0', 'The default Latitude ICBM value - see here', 8, 20)",
    "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(87,'default_geourl_lon', 8, '0.0', 'The default Longitude ICBM value', 8, 20)",

    Note: changes made to the field 'option_value' and it works for me :)

    Regards
    SzeHau

  4. hashem
    Member
    Posted 9 years ago #

    Thank you all for your suggestions. Unfortunately, I still get the same errors...maybe its blocked by the host as sylday mentioned!

  5. blakej
    Member
    Posted 9 years ago #

    I am a newbie, and have been trying to install WP on a hosted server. When trying to run the install.php file from my browser, I get this error message. Can anyone help figure out what to do to fix it?
    Fatal error: Cannot use [] for reading in /homepages/2/d116938963/htdocs/wordpress/wp-config.php on line 1

    reinstalled and reedited my wp-config file and still get this error message now
    Warning: main(/homepages/2/d116938963/htdocs/wordpress/wp-includes/wp-db.php): failed to open stream: No such file or directory in /homepages/2/d116938963/htdocs/wordpress/wp-settings.php on line 30

    Fatal error: main(): Failed opening required '/homepages/2/d116938963/htdocs/wordpress/wp-includes/wp-db.php' (include_path='.:/usr/local/lib/php') in /homepages/2/d116938963/htdocs/wordpress/wp-settings.php on line 30

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.