[Increase allowed script memory]Blank Screen

More
10 years 9 months ago #44810 by ggppdk
Hello

did the new setting take effect?

i mean does the new setting show in the error message

Before:
"Fatal error: Allowed memory size of 24M exhausted (it is in bytes i just write MB)

After:
"Fatal error: Allowed memory size of 128M exhausted (it is in bytes i just write MB)


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #44813 by Jonl
No, the error message is the same, so I've obviously amended the wrong php.ini file.

I've done some more investigation and according to the PHP Information page in Joomla, the Loaded Configuration file is /etc/php53.ini.d/php.ini

That's obviously the file I'm looking for, but I can't find the etc directory

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #44814 by ggppdk
Hello

try adding it to the file
.htaccess

inside your joomla folder
Code:
php_value memory_limit 96M

if it is not allowed then you will get an internal server error
if you get an error, then try setting a lower value:
64M
40M


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #44818 by Jonl
adding the text to the .htaccess file did not solve the problem, however I have found the solution.

In the index.php file of both the Joomla root and the administrator folder I have added the line
Code:
ini_set('memory_limit','96M');

immediately after
Code:
<?php

Problem solved :D

Thanks again for your assistance

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.483 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline