Page 2 of 3
Re: Image too big or not enough memory on Server
Posted: 03 May 2016, 13:59
by baker
Ok after switching the language from backend to english, i received an other error Screen. Itßs crazy with german language in Backend it´s not working, with english in Backend it seems to work?????
So now they accept the changes i made and accept the size of Image.
in the mentioned php file the Memory_limit is set to 50M. Can i Change this to 512M?
What do the following Option ( Resize Width und Height )

Re: Image too big or not enough memory on Server
Posted: 03 May 2016, 14:07
by Gruz
This should not depend on the language. I just nicht sprechen Deutsch. So I wanted to see the English wording.
Try adding to your .htaccess
php_value memory_limit 512M
And then check in the phpinfo if it's applied.
Re: Image too big or not enough memory on Server
Posted: 03 May 2016, 14:21
by baker
I set this Option in the php.ini and the Option works and shown in the phpinfo.
So the Server accept the changes.
The question is what is with the Option in the xxxMagic.php file line 229 there is the Memory_limit <50M
Can i Change this Setting directly in the file and did phoca accepted These Settings.
Re: Image too big or not enough memory on Server
Posted: 03 May 2016, 14:27
by Jan
Hi, not sure if you read my posts, but the main problem is, such large files are not used on server - in internet.
First question to solve is, is such large image needed on the web?
If there is some reason to have such large images, which is not common in internet, then the second question is. What are the limits on the server.
You can try to customize the limit increasing in the php code, but not sure if this will help or if this will be allowed - it always depends on server settings, if this increasing of limits will be accepted or not - depends on server/php settings. Mostly this is not allowed. But just try to test it if this will have some influence on it.
Jan
Re: Image too big or not enough memory on Server
Posted: 03 May 2016, 14:36
by Gruz
baker wrote:I set this Option in the php.ini and the Option works and shown in the phpinfo.
So the Server accept the changes.
The question is what is with the Option in the xxxMagic.php file line 229 there is the Memory_limit <50M
Can i Change this Setting directly in the file and did phoca accepted These Settings.
Since it works at my server, I think it has nothing to Phoca doens't accept any server settings. It's your server settings. You may PM me superadmin access so I can play a little at your server to see if it's possible to be fixed.
Re: Image too big or not enough memory on Server
Posted: 03 May 2016, 15:12
by baker
@Jan: i read your Posts, but i won´t believe that. Sure you're right what you say.
The simple answer for the big size Pictures is ... My wife should be able to upload from frontend her Pictures.
She shoot Pictures with her mobile phone and after that she should be able to upload it simple to our Website.
@Gruz: Do you Need Admin Access to joomla or to my root (ftp Access)
Re: Image too big or not enough memory on Server
Posted: 03 May 2016, 15:20
by Gruz
I don't need your root, it's an overkill. Joomla superadmin access and optionally ftp access (so I can easily edit files).
Re: Image too big or not enough memory on Server
Posted: 03 May 2016, 15:33
by baker
Did it worked on your Server with my Image? in Frontend and Backend?
i can´t send you PM because i registered today.
So i have no rights for sending PM here.
do you have an E-Mail adress?
Re: Image too big or not enough memory on Server
Posted: 03 May 2016, 15:45
by Gruz
Just tested at FE as well. Works.
arygroup@gmail.com
Re: Image too big or not enough memory on Server
Posted: 03 May 2016, 18:27
by baker
Hey man thank you for your support.
I talk to my hoster. In my hosting package there are 512 MB RAM available. But max 64MB Ram can reserved for one process. So for my image with this high resolution Phoca need 70 MB Ram for converting. I will shrink my pictures now to smalles size. There is a new package from hoster i can upgrade to ... more costs of 3 € / month. And then i can have 512MB ram reserved for one process.
Thanks a lot to you all