简体   繁体   中英

Getting blank page on a Joomla site

The Joomla 2.5+ version site was working for over year but suddenly it is showing blank page.

Also I am unable to save anything in admin panel. Recently I have also made its beta website with new installation Joomla with different db in beta folder under root directory. I don't really think it has created the problem for the original website.

In the error log under admin panel I found this:

PHP Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in /public_html/plugins/authentication/gmail/gmail.php on line 55

In the error log under home directory I found this:

PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 78 bytes) in /public_html/libraries/gantry/core/utilities/gantrylesscompiler.class.php on line 1594

This is a very old question but it is still relevant and so I will answer it. Gantry templates typically need a lot of memory (they really are complex), which means that 32 MB of memory allocated to the page is not enough. You will need more. Try creating a php.ini file or a .user.ini file under the root directory of your Joomla website with the following code:

memory_limit = 64M;

The above will double the allocated memory per page to 64M, if it doesn't work for you then change it to 128M. Typically, for a low traffic website, you will be on the safe side for up to 256M (unless your website is hit with DoS attack).

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM