• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: CGSmartImage throws php error – found why
PostPosted: Sun May 17, 2020 2:19 pm 
Offline
Forum Members
Forum Members

Joined: Sun Aug 06, 2006 2:36 pm
Posts: 97
Location: Munich, Germany
Hi,
I struggled on this problem, found the error described a few times on this forum, but no solution. So I decided to post it here.

I used CGSmartImage the first time – and was impressed what it can do. Thanks for making it!
But it also resulted in an error at one point:
\$1:
CGSmartImage/action.default.php on line 44
plus something on php memory limit.
I checked the hoster: Ample php memory.
And I checked CMSms system information:
$1:
Bildschirmfoto 2020-05-06 um 16.18.37.png
Bildschirmfoto 2020-05-06 um 16.18.37.png [ 24.79 KiB | Viewed 62 times ]

I could only get it fixed when I finally found a mention in the CMSms documentation:
[url]]https://docs.cmsmadesimple.org/installation/installing/permissions-and-php-settings#memory_limit_range[/url
So I added this line to my config.php:
\$1:
ini_set("memory_limit", "256M");

Now CMSms system info showed no longer -1. But 256M.
And CGSmartImage worked like a charme!

I hope this helps people who run into the same problem as I did.
Thanks for making CMSms and for all the great modules!

Reinhard


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CGSmartImage throws php error – found why
PostPosted: Sun May 17, 2020 2:36 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Mon Nov 28, 2011 9:29 am
Posts: 3210
Location: The Netherlands
Thanks for sharing!


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
A2 Hosting