CK Posted May 2, 2009 Share Posted May 2, 2009 Hi guys,I tried to upload a 2MB .gif picture using the module 'home text editor' and encounter this error:-image is too large (2084.593KB). Maximum allowed: 307.2KBAny idea where can I configure the maximum allowed size? Thanks a heap in advance. Link to comment Share on other sites More sharing options...
prestabase Posted May 3, 2009 Share Posted May 3, 2009 CK,Yes, you can increase the max upload size with a php.ini file. Simply add the following to notepad or similar, then save the file as php.ini and upload it to the directory that needs the increased limit. You may need to contact your hosting provider for assistance.max_upload_filesize = XXM Link to comment Share on other sites More sharing options...
CK Posted May 4, 2009 Author Share Posted May 4, 2009 Hi prestabase,Thanks for your info. I tried it but it doesn't work. After contacted my hosting provider, they advise me to upload it using FTP client. Hence, another question arise: where is the uploaded image stored? Thanks in advance Link to comment Share on other sites More sharing options...
Stu583 Posted May 4, 2009 Share Posted May 4, 2009 ROOT_DIR --> Modules --> Editor. If you rename the file you are uploading to the same as the "default" it will be replaced. You may have to clear your cache before seeing the result though. Link to comment Share on other sites More sharing options...
wfpaisa Posted September 30, 2011 Share Posted September 30, 2011 in the folder, /adminxxx/tabs/AdminProducts.php protected $maxImageSize = 2000000; protected $maxFileSize = 10000000; to: protected $maxImageSize = 10000000; protected $maxFileSize = 10000000; 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now