• Resolved schachjunge

    (@schachjunge)


    Installed today a new WordPress 4.5.1 on my server. The first thing i did was installing WooCommerce and i couldn’t reach the admin panel anymore. Tried for the last 2 hours to find a solution, reinstalled 3 times, but admin is still not working. Even tried to deactivate, chose a woocomerce theme and activated again, but it still wont work.
    DeBug gives “Cannot modify header information” but couldnt find the solution for that.

    Can’t understand why i cant install the plugin when it is the first thing i did. That definitely should work!

    https://ww.wp.xz.cn/plugins/woocommerce/

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor Mike Jolley

    (@mikejolley)

    Why post a 1 star review instead of asking here first -.-

    No doubt you’ve hit a memory limit.

    Enable https://codex.ww.wp.xz.cn/WP_DEBUG to confirm

    Increase memory to fix https://docs.woothemes.com/document/increasing-the-wordpress-memory-limit/

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Also “Cannot modify header information” can occur if something outputs content after headers are sent, but what would cause that would highly depend on what else is being ran alongside.

    Thread Starter schachjunge

    (@schachjunge)

    Ok new error: 64MB doesnt seem to be enough

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 122880 bytes) in /var/www/web139855/html/wp-admin/includes/media.php on line 2418

    Plugin Contributor Mike Jolley

    (@mikejolley)

    Thats the one. Use the snippet I linked to, increase to 96 or more. After that, report back if there are any other errors.

    Thread Starter schachjunge

    (@schachjunge)

    Well my maximum is 64MB. Maybe you should write anywhere that you need more than that to run WooCommerce. As i said, there is nothing else running and no other plugin

    Plugin Contributor Mike Jolley

    (@mikejolley)

    You don’t need more usually, if thats all thats running. More plugins + more data = more memory usage.

    I assume you have more than just WooCommerce active right now?

    Thread Starter schachjunge

    (@schachjunge)

    Well thats strange, because there is nothing else running on the server. As i said the WooCommerce installation was the first thing i did after my WordPress installation. And thats the only thing running on the server.
    Is there maybe any plugin which reduces the memory needed?

    Plugin Contributor Mike Jolley

    (@mikejolley)

    No. Add https://ww.wp.xz.cn/plugins/query-monitor/ to see what your default usage is. Odd that you’d hit 64 with no data or themes or plugins..

    What host is this?

    Also, if you still cannot access due to memory, if you delete ‘woocommerce’ from the wp-content/plugins dir, it will deactivate too.

    Thread Starter schachjunge

    (@schachjunge)

    I thought the way you described is the only way that i can deactivate it. I did this now 4 times.
    The Host is flatbooster.com

    Ok the query-monitor says that i am using 51MB memory without any other plugin. So there could be the problem right?

    Thanks for your help btw

    Plugin Contributor Mike Jolley

    (@mikejolley)

    My memory usage locally is less than that ***with*** WooCommerce. There must be some plugin/theme installed surely?

    Thread Starter schachjunge

    (@schachjunge)

    Yes its the memory. It uses around 40MB when i am not in the admin panel and 50MB when i am in it.
    Installed woocommerce again and saw that on the standard site the memory usage is around 58MB, so when i open the admin panel it explodes.

    Ok maybe you are right when you ask about the host. I try to figure out how he is uses all the memory

    Thread Starter schachjunge

    (@schachjunge)

    Ok cool, so my host said i just have to switch to php 5.5 and i only had to add these 2 line to my .htaccess file:
    AddHandler x-httpd-php55 .php .php3 .php4 .phtml
    AddHandler x-httpd-php55 .php5

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    AddHandler x-httpd-php55 .php .php3 .php4 .phtml
    AddHandler x-httpd-php55 .php5
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Everything works perfectly fine now! Thanks again!

    Thread Starter schachjunge

    (@schachjunge)

    resolved

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

The topic ‘Admin Panel not working anymore’ is closed to new replies.