argumentsite
Total posts: 20
06 Nov 2016 09:40

Добрый день!

После добавления материалов при заходе в одну из категорий cobalt выдает ошибку:

Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 76972561 bytes) in /home/m/mysite13/impulsefilm.ru/public_html/components/com_cobalt/library/php/helpers/filter.php on line 28

Прочитал пару тем на форуме по данному вопросу:

http://www.mintjoomla.com/ru/support/community-forum/ %D1%81%D1%82%D0%B0%D1%82%D1%8C%D1%8F-%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D1%82%D0%B5%D0%BB%D1%8F/2682-mel/48-cobalt-8/4037-cobolt-module-records-map-template-out-of-memory-error.html

http://www.mintjoomla.com/support/community-forum/user-item/4656-giorgi625/48-cobalt-8/6261-allowed-memory-size-exhausted.html

но никакого решения там так и не нашел.

Подскажите, пожалуйста, в чем может быть проблема?

Last Modified: 11 Nov 2016


Sergey
Total posts: 13,748
08 Nov 2016 09:17

Поробуй увеличить память в настроках php.ini


argumentsite
Total posts: 20
09 Nov 2016 09:25

Увеличил память до 512M.

Теперь открывается просто белая страница, ошибок никаких не выдает: http://impulsefilm.ru/zvezdy.html


andiamine VIP
Total posts: 295
09 Nov 2016 13:14

The memory allocation for PHP can be adjusted permanently, or temporarily.

Permanently

You can permanently change the PHP memory allocation two ways.

If you have access to your php.ini file, you can edit the value for memory_limit to your desire value.

If you do not have access to your php.ini file (and your webhost allows it), you can override the memory allocation through your .htaccess file. Add php_value memory_limit 128M (or whatever your desired allocation is).

Temporary

You can adjust the memory allocation on the fly from within a PHP file. You simply have the code ini_set('memory_limit', '128M'); (or whatever your desired allocation is). You can remove the memory limit (although machine or instance limits may still apply) by setting the value to "-1".


Sergey
Total posts: 13,748
11 Nov 2016 04:50

Google for "Joomla white creen of death" and fix this first. Then you will see the problem.

Powered by Cobalt