Hi All,

I have installed Views in the modules and once I made it active i come up with this error.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 122880 bytes) in /home3/wafisham/public_html/modules/views/includes/admin.inc on line 1127

The rest of the site works fine but I get this error whenever i try to access the modules page
http://www.website.com/admin/build/modules

Any help would be great.
Thanks
Lindsay

Comments

xano’s picture

Title: Error now that Views has been installed » Error now that Views has been installed (memory limit)
Assigned: Unassigned » xano
Status: Active » Fixed

Go to php.ini and increase PHP's memory limit. Restart Apache when you're done.

Lindsayk’s picture

Sorry to sound like a idiot but I have done a search for php.ini and cant find it. where is it usually kept I would have though Public html??
would the settings be in the .htaaccess ??

xano’s picture

I was assuming you were working on a local webserver, on which you would have access to php.ini, which is PHP's configuration file. You might want to try putting this line of code in your .htaccess file, but that will only work if your hosting provider allows you to change the PHP settings through .htaccess. If they don't, the only option is to find another hosting provider: php_value memory_limit 16M

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

xano’s picture

Assigned: xano » Unassigned