Advertisement:

Author Topic: (SOLVED) jpeg image upload error  (Read 2567 times)

lcsighe

  • Newbie
  • *
  • Posts: 9
(SOLVED) jpeg image upload error
« on: June 26, 2015, 05:31:35 am »
Hi guys,

PLEASE, can anyone help me with the .jpeg extension error? My website publicity is on hold because of this problem, as i dont want users to come on the site and find out they cannot upload .jpeg pictures. Most images are in this format. Ive looked everywhere on the forum for solution.

Patricia theme, osclass 3.5.7


« Last Edit: June 29, 2015, 10:24:20 am by lcsighe »

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: jpeg image upload error
« Reply #1 on: June 26, 2015, 11:04:08 pm »
Please turn on debug and tell us what error you get in the error logfile.


Thanks,
Eric

lcsighe

  • Newbie
  • *
  • Posts: 9
Re: jpeg image upload error
« Reply #2 on: June 27, 2015, 08:06:56 am »
Hi, thanks for responding. Error message says "Photo: must be png,gif,jpg"

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1198
Re: jpeg image upload error
« Reply #3 on: June 27, 2015, 08:54:35 am »
check your database, in the table" t_preference" look for s_name "allowedExt", mine have "png,gif,jpg,jpeg"

SmaRTeY

  • Osclass Hero
  • Hero Member
  • *
  • Posts: 2519
Re: jpeg image upload error
« Reply #4 on: June 28, 2015, 01:16:59 am »
Msg means that the extension you are trying to upload is not allowed and so try the solution Cartagena mentions, it is most likely what you need OR the image you are uploading is 'funny' meaning what happens with other images carrying the same extension, same issue or no issue?

Hi, thanks for responding. Error message says "Photo: must be png,gif,jpg"

lcsighe

  • Newbie
  • *
  • Posts: 9
Re: jpeg image upload error
« Reply #5 on: June 29, 2015, 08:49:06 am »
check your database, in the table" t_preference" look for s_name "allowedExt", mine have "png,gif,jpg,jpeg"

Hi guys, thanks for the help, but where exactly do i find the t_preference table? public_html/oc-includes/.....? Please give me the folder directory, i'll work on it right away and give feedback.  Thanks guys.

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1198
Re: jpeg image upload error
« Reply #6 on: June 29, 2015, 08:58:15 am »
in your database, via cpanel of your server you need to go in PhpMyAdmin and look for the table preference (should be oc_t_preference ), inside the table search for "allowedExt" in the field s_name, the s_value should be "png,gif,jpg,jpeg". If you don't have the jpeg, just add it to the filed

lcsighe

  • Newbie
  • *
  • Posts: 9
Re: jpeg image upload error
« Reply #7 on: June 29, 2015, 10:21:41 am »
wow. you guys are awesome! Thank you so much, i sincerely appreciate you help, cartagena68. And SmaRTeY thanks too for responding. I will mark this post as solved.

cartagena68

  • issues
  • Hero Member
  • *
  • Posts: 1198
Re: (SOLVED) jpeg image upload error
« Reply #8 on: June 29, 2015, 06:42:00 pm »
Glad to help