Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ugurc

    (@ugurc)

    at least you are trying to help. thanks. i reuploaded the entire wp but nothing has changed.

    btw, finally i tried this :
    define('WP_SITEURL','../../../');
    and tadaaaa. css and js problem are gone except the other links like www.ads-software.com are still wrong (btw, my wp is uploaded on httpdocs, not in a subfolder). BUT now i can’t complete the installation correctly. after the page that asks information (site title, username etc.) some errors occured :

    WordPress 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 ' meta_key, meta_value FROM wp_usermeta WHERE IN (89) ORDER BY umeta_id ASC' at line 1]
    SELECT , meta_key, meta_value FROM wp_usermeta WHERE IN (89) ORDER BY umeta_id ASC
    
    WordPress 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 '= 89' at line 1]
    SELECT umeta_id FROM wp_usermeta WHERE meta_key = 'nickname' AND = 89
    
    WordPress 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 '= 89' at line 1]
    SELECT umeta_id FROM wp_usermeta WHERE meta_key = 'first_name' AND = 89
    
    WordPress 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 '= 89' at line 1]
    SELECT umeta_id FROM wp_usermeta WHERE meta_key = 'last_name' AND = 89
    
    WordPress 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 '= 89' at line 1]
    SELECT umeta_id FROM wp_usermeta WHERE meta_key = 'description' AND = 89
    
    WordPress 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 '= 89' at line 1]
    SELECT umeta_id FROM wp_usermeta WHERE meta_key = 'rich_editing' AND = 89
    
    WordPress 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 '= 89' at line 1]
    SELECT umeta_id FROM wp_usermeta WHERE meta_key = 'comment_shortcuts' AND = 89
    
    WordPress 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 '= 89' at line 1]
    SELECT umeta_id FROM wp_usermeta WHERE meta_key = 'admin_color' AND = 89
    
    WordPress 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 '= 89' at line 1]
    SELECT umeta_id FROM wp_usermeta WHERE meta_key = 'use_ssl' AND = 89
    
    WordPress 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 '= 89' at line 1]
    SELECT umeta_id FROM wp_usermeta WHERE meta_key = 'show_admin_bar_front' AND = 89
    
    WordPress 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 '= 89' at line 1]
    SELECT umeta_id FROM wp_usermeta WHERE meta_key = 'show_welcome_panel' AND = 89

    at the bottom of the page it says “Success!”. home page says “Nothing found” . i checked the tables created in the db. all seems empty except wp_options.

    the server i’m using has :

    MySQL client version: 5.0.22
    PHP version 5.2.17

    Thread Starter ugurc

    (@ugurc)

    i guess i found something. esc_url() function returns wrong URLs too.

    In “install.php” there is a line like this :
    <h1 id="logo"><a href="<?php echo esc_url( __( 'https://www.ads-software.com/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>

    on the install page, the www.ads-software.com link seems like this in the page source:

    https://www.example.com/wp-admin/://www.ads-software.com/

    for example :
    <?php echo esc_url('https://google.com/'); ?>
    result is :
    ://google.com/

    what should i do ?

    ugurc

    (@ugurc)

    create a new php file in www folder (lets say phpinfo.php), write this line and save it :
    <?php phpinfo(); ?>
    when you run the phpinfo.php, you will see a list of all your php settings. Find : Loaded Configuration File
    that is where your php.ini file is located.

    ugurc

    (@ugurc)

    did you try to turn “magic_quotes_gpc” off in your php.ini?

Viewing 4 replies - 1 through 4 (of 4 total)