Results 1 to 2 of 2

Thread: max file upload size message inaccurate, and error message inaccurate

  1. #1
    Thread Starter
    Veteran almightyeric's Avatar
    Join Date
    Aug 2011
    Location
    Nothern CA, USA
    Posts
    416
    Thanks
    56
    Thanked 19 Times in 16 Posts

    max file upload size message inaccurate, and error message inaccurate

    Reporting 2 ClassiPress bugs here:

    Bug #1: ClassiPress shows an inaccurate "maximum file size per image" value.

    Beneath the image upload form in step 1 (part 2) of the "Post an Ad" process, ClassiPress shows the maximum file size per image to be some value (e.g. "5MB"). The value it shows is whatever value the site administrator has selected in: "ClassiPress" > "Settings" > "Listings" > "Ad Images Options" > "Max Size Per Image" (e.g. "5MB").

    However, setting that value to "5MB" by itself does not mean a user can upload a 5MB image file. Specifically, if PHP's upload_max_filesize is set to something smaller (e.g. 2MB), the user will still only be able to upload images of up to 2MB each.

    --

    Bug #2: ClassiPress shows an image type-related error message when the actual issue is image size-related.

    When a user uploads an image that is smaller than the limit ClassiPress advertises on the page, but larger than PHP's upload_max_filesize, ClassiPress does show an error message on the next page.

    However, the error message ClassiPress shows is: "An Error Has Occurred.", followed by "temp_image_3.3MB.jpg is not a valid image type (.gif, .jpg, .png). Please go back and upload a different image." This error message is inaccurate since the image type is one of the valid ones listed.

    --

    This is with ClassiPress 3.3.1 and WordPress 3.7.1.
    PHP version is 5.4.6 in Ubuntu Linux.

  2. #2
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,100
    Thanks
    121
    Thanked 1,755 Times in 1,441 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] I18N: Not translated message "File size error. File:"
    By andreuerj in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: December 16th, 2013, 09:37 AM
  2. Need Help locating error message file for ad submission form please.
    By seoagent in forum ClassiPress General Discussion
    Replies: 3
    Last Post: November 21st, 2012, 04:59 PM
  3. 10 Error Message whenever image upload were attempted
    By ongcp in forum Report ClassiPress Bugs
    Replies: 43
    Last Post: July 7th, 2012, 03:41 PM
  4. Error message when I upload the ClassiPress Theme to WordPress
    By dunnbiz in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: March 1st, 2012, 12:34 PM
  5. theme-functions.php no such file error message
    By byung in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: July 16th, 2011, 08:56 AM