6 replies [Last post]
Mink's picture
Offline
Joined: 08/08/2007
Juice: 66
Was this information Helpful?

I am pretty sure it is my host... Words don't express how I feel for them right now.

This is the error message:

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 11520 bytes) in /homepages/35/d91000072/htdocs/GRS/drupal/modules/ubercart/uc_store/uc_store.module on line 2200

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Ubercart or my stupid host

Oof... you might look in your site's settings.php. I believe you can change the allocated memory there unless that's blocked by your host. Worth a shot!

Mink's picture
Offline
Joined: 08/08/2007
Juice: 66
Re: Re: Ubercart or my stupid host

Apparently I don't have that so I guess I am not allowed to change it. *sigh* 1&1 strikes again. First 500 errors and now this...

No way I am staying with them now.

Edit: Thank you Shawn, but I contacted 1&1 about it and they say there is no way to change the memory size.

catorghans@drupal.org's picture
Offline
Joined: 08/16/2007
Juice: 72
Re: Re: Re: Ubercart or my stupid host

If you have a linux server you might try to change these php values in the .htaccess in the drupal root.
I was able to do that (but the server hosting company knew about it).

Mink's picture
Offline
Joined: 08/08/2007
Juice: 66
Re: Re: Re: Re: Ubercart or my stupid host

Thanks but I tried that when I was getting errors before. This is the host. I am just going to have to live with it until I get a new host. I have had this problem with 1&1 for the last month, just in different forms.

Shawn Conn's picture
Offline
Administrator
Joined: 08/07/2007
Juice: 916
PHP.ini

Also, if you were looking to allocate more memory for any PHP web apps (beside Drupal), some webhosts allow you to override PHP.ini's default settings by placing a php.ini file in your hosting root directory. memory_limit is the value set in php.ini that sets the maximum amount of memory a PHP script is allow to allocate.

-Shawn Conn: If the Name Don't Rhyme It Ain't Mine

StephenGWills's picture
Offline
Uber DonorBug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Not Kulvik
Joined: 08/07/2007
Juice: 414
Re: Ubercart or my stupid host

I had that problem with PHP v5.3 and it appears to be a function of how many modules you have loaded. for me the fix was to add the line:

go to your sites/settings.php file in drupal and look for a stack of lines like this:

ini_set('memory_limit','16M');

add that one.