Advertisement:

Author Topic: Upload image --> ERROR ..PLS HELP  (Read 630 times)

absingapore

  • Newbie
  • *
  • Posts: 3
Upload image --> ERROR ..PLS HELP
« on: January 19, 2015, 04:48:54 pm »
When I upload image, pop out this error message? how to solve? Thanks in advance!

Warning: imagejpeg() [function.imagejpeg]: SAFE MODE Restriction in effect. The script whose uid is 2087 is not allowed to access /tmp owned by uid 0 in /home/absingap/public_html/oc-includes/osclass/classes/ImageResizer.php on line 158

Warning: imagejpeg() [function.imagejpeg]: Invalid filename in /home/absingap/public_html/oc-includes/osclass/classes/ImageResizer.php on line 158

Fatal error: Uncaught exception 'Exception' with message '/tmp/phpBRwfim_normal does not exist!' in /home/absingap/public_html/oc-includes/osclass/classes/ImageResizer.php:40 Stack trace: #0 /home/absingap/public_html/oc-includes/osclass/classes/ImageResizer.php(24): ImageResizer->__construct('/tmp/phpBRwfim_...') #1 /home/absingap/public_html/oc-includes/osclass/ItemActions.php(1402): ImageResizer::fromFile('/tmp/phpBRwfim_...') #2 /home/absingap/public_html/oc-includes/osclass/ItemActions.php(437): ItemActions->uploadItemResources(Array, '12') #3 /home/absingap/public_html/oc-admin/items.php(519): ItemActions->edit() #4 /home/absingap/public_html/oc-admin/index.php(48): CAdminItems->doModel() #5 {main} thrown in /home/absingap/public_html/oc-includes/osclass/classes/ImageResizer.php on line 40

Aficionado

  • Guest
Re: Upload image --> ERROR ..PLS HELP
« Reply #1 on: January 19, 2015, 06:29:24 pm »
Search first the forums. Plenty of information related.

Or contact your hosting company about safe mode.