This file is too large to / Error 403: : INVALID IMAGE FILE

General questions relating to Joomla! 2.5. Note: All 1.6 and 1.7 releases have reached end of life and should be updated to 2.5. There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
ctopping1
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Fri Feb 15, 2008 5:09 pm
Location: Baltimore, MD
Contact:

This file is too large to / Error 403: : INVALID IMAGE FILE

Postby ctopping1 » Thu Feb 14, 2013 5:26 pm

Not sure if these two items are related.

1. I can't upload through the media manager. Getting a "This file is too large to upload" error. I've read a few other forums about making sure the upload max, etc is set in the php.ini file. Both are set to 20M.

2. When I try to upload a file using the JCE editor I'm getting this error: "Error 403: : INVALID IMAGE FILE"

The version of Joomla is 2.5.7
Windows IIS7

Any help would be great. Thanks

User avatar
senukexvn
Joomla! Apprentice
Joomla! Apprentice
Posts: 46
Joined: Wed Sep 26, 2012 4:26 am
Contact:

Re: This file is too large to / Error 403: : INVALID IMAGE F

Postby senukexvn » Thu Feb 14, 2013 6:04 pm

This issue is caused by some entries in the custom php.ini file you are using (in the Joomla! root folder).

You have set a few open_basedir paths for the site, but you do not have an upload_tmp_dir value set - when this is the case PHP uses the system default which is not within the open_basedir restrictions you have set.

Adding an upload_tmp_dir value to the php.ini that is within the open_basedir restrictions seems to fix this problem.
http://thegioitragop.vn -->Trả góp iphone 5
http://dichvuketoan360.vn --> Dịch vụ kế toán

ctopping1
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Fri Feb 15, 2008 5:09 pm
Location: Baltimore, MD
Contact:

Re: This file is too large to / Error 403: : INVALID IMAGE F

Postby ctopping1 » Thu Feb 14, 2013 6:09 pm

There is no custom php.ini file in the root of this Joomla site?


Return to “General Questions/New to Joomla! 2.5”

Who is online

Users browsing this forum: No registered users and 7 guests