Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Direct assistance needed WordPress

  • SOLVED

I was editing my shipping stuff in wpsc-shopping_cart_page.php

Now I get this error.
I reset everything to yesterday where I did not have this.
But its still there.

My wp site is gone.
Forum is still working tho.

But every wp page it gives this error:

<em>
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /home/deb47592n2/domains/lockpickwinkel.nl/public_html/wp-content/plugins/wp-e-commerce/wpsc-includes/shipping.helper.php on line 466</em>

domain:

[[LINK href="http://www.lockpickwinkel.nl"]]http://www.lockpickwinkel.nl[[/LINK]]



I redirected the domain to another domain for my visitors..

Can someone help me out ?

Thanks in advance!

Kind regards,

Koen

Answers (3)

2012-05-31

Agus Setiawan answers:

use this :

in .htaccess
php_value memory_limit 40M

in wp_config
define('WP_MEMORY_LIMIT', '40M');


Agus Setiawan comments:

if still error, use this :

1. Try adding this line to your wp-config.php file:
define('WP_MEMORY_LIMIT', '64M');

2. If you have access to your PHP.ini file, change the line in PHP.ini
If your line shows 32M try 64M:
memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)

3. If you don't have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 64M


Koenjah comments:

Just placed it in the files.
Dunno where but its in there.

Should take a min to refresh I think. :)

Thanks for fast reply :D


Koenjah comments:

Tried it but still cant get it to work..

Everything you told me is in there.
But when I tried this:

<em>3. If you don't have access to PHP.ini try adding this to an .htaccess file:
php_value memory_limit 64M</em>

I got this:

Parse error: syntax error, unexpected T_STRING in /home/deb47592n2/domains/lockpickwinkel.nl/public_html/wp-config.php on line 20

So I deleted it, now I still got

<em>Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 71 bytes) in /home/deb47592n2/domains/lockpickwinkel.nl/public_html/wp-content/plugins/wp-e-commerce/wpsc-includes/shipping.helper.php on line 466</em>

What does this mean?
Is someone trying to flood my website?

2012-05-31

Daniel Yoen answers:

Create a file "php.ini" in the "wp-admin" folder of wordpress install.

Add the following text to the file;

memory_limit = 256M ; //Just sample

hope this help. :)

2012-05-31

Francisco Javier Carazo Gil answers:

Hi Koenjah,

If memory limit is not allowed to move by user you have a problem of RAM so you should do the next:

1. Disable all plugins that is not absolutely necessary
2. Install this one: http://wordpress.org/extend/plugins/p3-profiler/
3. Do the test
4. With results try to disable only plugins which are heavier
5. In your theme, try to make it as light as you can do something like this: http://www.problogdesign.com/general-tips/13-tags-to-delete-from-your-theme/

Hope it helps.


Koenjah comments:

Hi :)

I dont have acces to my wordpress admin page.
Its all the same error.

I deleted some plugins by ftp.

But its still erroring :)


Francisco Javier Carazo Gil comments:

If you have access to SQL try to disable all this: UPDATE wp_options SET option_value = 'a:0:{}' WHERE option_name = 'active_plugins';


Koenjah comments:

Btw normally my site is very fast.
I think someone is trying to flood my site..

But I do have allot of useless plugins installed.. :)


Francisco Javier Carazo Gil comments:

Well you should now repair if you cannot without any plugin, talk to your host.

Maybe your site is fast, but maybe is plenty of RAM and you have reach the top.


Francisco Javier Carazo Gil comments:

We are talking about RAM and MySQL Queries, and maybe, CPU load.

In this image appears other parameters.


Koenjah comments:

K, thanks for your time anyway :)