• Resolved Kjeldebu

    (@kjeldebu)


    Hi,

    I can’t get access to wp-admin.

    https://www.p-works.org/wp-admin

    Have tried checking spces in wp-config and so on
    Have renamed plugin directory to desable the plugins
    Have duugging set to ‘true’

    I get this when i try to access my page

    Notice: Constant EZSQL_VERSION already defined in /home/pworks/www/wp-content/db.php on line 43

    Notice: Constant object already defined in /home/pworks/www/wp-content/db.php on line 48

    Notice: Constant OBJECT_K already defined in /home/pworks/www/wp-content/db.php on line 53

    Notice: Constant ARRAY_A already defined in /home/pworks/www/wp-content/db.php on line 58

    Notice: Constant ARRAY_N already defined in /home/pworks/www/wp-content/db.php on line 63

    Deprecated: Assigning the return value of new by reference is deprecated in /home/pworks/www/wp-content/plugins/db-cache-reloaded-fix/db-module.php on line 214

    Notice: Constant EZSQL_VERSION already defined in /home/pworks/www/wp-content/plugins/db-cache-reloaded-fix/db-module.php on line 43

    Notice: Constant object already defined in /home/pworks/www/wp-content/plugins/db-cache-reloaded-fix/db-module.php on line 48

    Notice: Constant OBJECT_K already defined in /home/pworks/www/wp-content/plugins/db-cache-reloaded-fix/db-module.php on line 53

    Notice: Constant ARRAY_A already defined in /home/pworks/www/wp-content/plugins/db-cache-reloaded-fix/db-module.php on line 58

    Notice: Constant ARRAY_N already defined in /home/pworks/www/wp-content/plugins/db-cache-reloaded-fix/db-module.php on line 63

    Fatal error: Call to undefined function icl_register_string() in /home/pworks/www/wp-content/plugins/woocommerce-multilingual/woocommerce_wpml.class.php on line 527

    Any help would be welcome i had solved it last week and then it suddenly reappeared.

    Thanks!

    Jonathan

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi Jonathan,

    In the output you posted, the big problem is:

    Fatal error: Call to undefined function icl_register_string() in /home/pworks/www/wp-content/plugins/woocommerce-multilingual/woocommerce_wpml.class.php on line 527

    The problem is either with the WooCommerce plugin or the WPML plugin by the looks of it.

    You said you’d disabled your plugins though, they appear to still be loading. When you provided this output, was that after renaming the plugins directory?

    Thread Starter Kjeldebu

    (@kjeldebu)

    Have tried it with an empty plugins folder and this is what i get:

    Warning: include_once(/home/pworks/www//wp-content/plugins/wp-super-cache/wp-cache-phase1.php): failed to open stream: No such file or directory in /home/pworks/www/wp-content/advanced-cache.php on line 10

    Warning: include_once(): Failed opening ‘/home/pworks/www//wp-content/plugins/wp-super-cache/wp-cache-phase1.php’ for inclusion (include_path=’.:/usr/local/php5.4/lib/php’) in /home/pworks/www/wp-content/advanced-cache.php on line 10

    Notice: Constant EZSQL_VERSION already defined in /home/pworks/www/wp-content/db.php on line 43

    Notice: Constant object already defined in /home/pworks/www/wp-content/db.php on line 48

    Notice: Constant OBJECT_K already defined in /home/pworks/www/wp-content/db.php on line 53

    Notice: Constant ARRAY_A already defined in /home/pworks/www/wp-content/db.php on line 58

    Notice: Constant ARRAY_N already defined in /home/pworks/www/wp-content/db.php on line 63

    Warning: require_once(/home/pworks/www/wp-content/plugins/db-cache-reloaded-fix/db-module.php): failed to open stream: No such file or directory in /home/pworks/www/wp-content/db.php on line 94

    Fatal error: require_once(): Failed opening required ‘/home/pworks/www/wp-content/plugins/db-cache-reloaded-fix/db-module.php’ (include_path=’.:/usr/local/php5.4/lib/php’) in /home/pworks/www/wp-content/db.php on line 94

    Ok, maybe your caching plugin is causing the problem.

    Look in the wp-content/ folder and remove any files there other than index.php. Also if there’s an mu-plugins folder, remove that as well.

    That should leave you the following:

    • languages/
    • themes/
    • upgrade/
    • index.php

    What do you get then?

    Thread Starter Kjeldebu

    (@kjeldebu)

    OK, I have removed them all (files but left the folders. That leaves me with 3 more folders than you said which are
    /uploads
    /cache
    /plugins

    I can login, super! But do get this message (still in debug mode)

    Warning: include(/home/pworks/www/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /home/pworks/www/wp-settings.php on line 65

    Warning: include(): Failed opening ‘/home/pworks/www/wp-content/advanced-cache.php’ for inclusion (include_path=’.:/usr/local/php5.4/lib/php’) in /home/pworks/www/wp-settings.php on line 65

    Strict Standards: Declaration of my_icon_menu_walker::start_el() should be compatible with Walker_Nav_Menu::start_el(&$output, $item, $depth = 0, $args = Array, $id = 0) in /home/pworks/www/wp-content/themes/myempire/framework/register_public.php on line 0

    Thread Starter Kjeldebu

    (@kjeldebu)

    I’ve reactivated the plugins folder and get this message now:

    Warning: include(/home/pworks/www/wp-content/advanced-cache.php): failed to open stream: No such file or directory in /home/pworks/www/wp-settings.php on line 65

    Warning: include(): Failed opening ‘/home/pworks/www/wp-content/advanced-cache.php’ for inclusion (include_path=’.:/usr/local/php5.4/lib/php’) in /home/pworks/www/wp-settings.php on line 65

    Fatal error: Call to undefined function icl_register_string() in /home/pworks/www/wp-content/plugins/woocommerce-multilingual/woocommerce_wpml.class.php on line 527

    I guess I’ll go and disable that woocommerce plugin.

    What I just realized is that /home/pworks/www/ and so on looks quite much like the folder path on my mac and not the path that i would expect on the ftp. What do you think?

    Is there a constant in your wp-config.php file that’s overriding the path for your site?

    Thread Starter Kjeldebu

    (@kjeldebu)

    ehm, no idea! don’t know what to look for ??

    Is there a line that starts with:

    define(‘WP_CONTENT_DIR’,

    Thread Starter Kjeldebu

    (@kjeldebu)

    no

    Thread Starter Kjeldebu

    (@kjeldebu)

    Seems to work now, i’m putting the plugins back in one by one and averything seems OK

    THANK YOU!!

    You’re welcome. Have fun!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘blank wp-admin’ is closed to new replies.