Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2011-09-26 17:15:30

dbone187
Member
Registered: 2011-09-19
Posts: 18

Upload Photo Error

When I try to upload a photo I get this following error.

VException [ 0 ]: VException [ 0 ]: exception 'Exception' with message 'Application Error. Trying to preserve image properties without a identifier!' in /home/jiggleyo/public_html/libraries/framework/image/gd.php:323 Stack trace: #0 /home/jiggleyo/public_html/libraries/framework/image/gd.php(155): VImage_Driver_gd->preserve() #1 /home/jiggleyo/public_html/libraries/framework/image/gd.php(179): VImage_Driver_gd->crop(0, 0, NULL, NULL, '/home/jiggleyo/...') #2 /home/jiggleyo/public_html/modules/photo/components/upload.php(234): VImage_Driver_gd->crop_from_center(125, 150, '/home/jiggleyo/...') #3 /home/jiggleyo/public_html/modules/photo/photo.php(53): VComponent_photo_upload->render() #4 /home/jiggleyo/public_html/libraries/framework/module.php(24): VModule_photo->render() #5 /home/jiggleyo/public_html/index.php(59): VModule::load('photo') #6 {main} ~ /home/jiggleyo/public_html/modules/photo/photo.php [ 55 ]

/home/jiggleyo/public_html/libraries/framework/module.php [ 26 ]

21             try {
22                 require $module_file;
23                 $module_obj        = new $module_class();
24                 $module_obj->render();
25             } catch(Exception $e) {
26                 throw new VException($e);
27             }
28         } else {
29             if ($module != '404') {
30                 VModule::load('404', true);
31             } else {

    /home/jiggleyo/public_html/index.php [ 59 ] » VModule::load(arguments)

Environment

This one I got no Idea whats happening.

Offline

#2 2011-09-26 20:56:34

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Upload Photo Error

Go to Admin -> Photo -> Configure - are all photo size options set to a positive integter? If you disable debug does the error still appear?


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

#3 2011-09-26 22:21:01

dbone187
Member
Registered: 2011-09-19
Posts: 18

Re: Upload Photo Error

how should they be set ?
Photo Height is now 0 and so is Photo Height

Offline

#4 2011-09-27 07:07:40

symtab
Administrator
Registered: 2010-08-23
Posts: 7,501
Website

Re: Upload Photo Error

Photo width should be a positive integer. Photo height can be 0.


Adult Scripts: Adult Script Pro - Adult Search Script
Adult Advertising/Traffic: Plug Rush - EXOClick - PopAds

Offline

Board footer

Powered by FluxBB