AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: perthservices on October 10, 2014, 02:56:19 AM

Title: New installation problems
Post by: perthservices on October 10, 2014, 02:56:19 AM
I am having problems uploading files larger than 2MB even though phpinfo shows:

output_buffering = 4096;
magic_quotes_gpc = Off;
register_globals = Off;
default_charset  = UTF-8;
memory_limit = 256M;
max_execution_time = 30000;
post_max_size = 100M;
upload_max_filesize = 100M;
safe_mode = Off;
mysql.connect_timeout = 20;
session.use_cookies = On;
session.use_trans_sid = Off;
session.gc_maxlifetime = 12000000;

I get a Server Error.

Tried to turn on logs buts logs always empty so can't figure out what is happening.

Any assistance would be appreciated.

Thanks,
John
Title: Re: New installation problems
Post by: abolabo on October 10, 2014, 05:19:26 AM
menu system-> setting->system -> Resource Library Upload Max File Size, kB ?
Title: Re: New installation problems
Post by: perthservices on October 10, 2014, 05:36:43 AM
That would be too easy lol

I have actually solved this problem.  It was due to Apache2 settings.  If anyonelse is having similar issues I suggest trying this solution:

(Won't allow me to post link to solution!)  Email me!

Thanks all the same  :)
John
Title: Re: New installation problems
Post by: abantecart on October 10, 2014, 11:50:54 AM
I wonder why you can not post the solution? Is it URL?
Title: Re: New installation problems
Post by: perthservices on October 10, 2014, 07:22:57 PM
Yes it's a URL...
but this is copied from howtoforge:

nano /etc/apache2/mods-available/fcgid.load

It looks like this:

LoadModule fcgid_module /usr/lib/apache2/modules/mod_fcgid.so

# add the following lines

<IfModule fcgid_module>
FcgidMaxRequestLen 51200000
</IfModule>


Save and reload Apache....
/etc/init.d/apache2 reload

works for all virtual hosts using fcgi.

I use ISPConfig3 and this corrected my issue with file uploads.

Still having problems with AbanteCart logs, no matter what settings I choose, just can't it to work :(

Cheers,
John