blank page after photo upload

hello,

many user upload a picture and after that action they become a blank page and the pic are not uploaded.

i know if i desable the option "use gd library...." in admin menu the problem is fixed but instead the blank page the user should have a info page that say´s what is the max for size like mb´s and pixel.

how can i fixe this problem to save my webspace?

Quote · 19 May 2009

yes, I have this problem on a site I did a upgrade from 6.1.4 to 6.1.5

I will do the upgrade soon to 6.1.6 on this site to see is it is still there.

Diddy is not greedy and has time. Dolphin is cool and its not just mine :-)
Quote · 19 May 2009

ok waiting for next update is not a good solution because until this update is available all my users cant upload  a new pic or i losing much of webspace if i disable the GD library.

any other fix for this?

Quote · 19 May 2009

How large are the files being uploaded? If they are over your post limit then you will get a blank page. The blank page usually means that "show errors" is turned off.


Add this to the top of you header.inc.php file:

ini_set("display_errors","1");

It might override the server setting not to show errors. You will get a better idea of the problem.

Quote · 19 May 2009

How large are the files being uploaded? If they are over your post limit then you will get a blank page. The blank page usually means that "show errors" is turned off.


Add this to the top of you header.inc.php file:

ini_set("display_errors","1");

It might override the server setting not to show errors. You will get a better idea of the problem.

the file is 4 mb. all what i nedd is that the user get the info of possible files that they can upload.

i don´t want 4 mb file´s on my server but users are looking on this blank page. i know why but not the user that´s my problem.

Info that say the file ist to big (mb) or the pixel are to great or the wrong kind of files ......

Quote · 19 May 2009

If allowed, try this for your .htaccess:


php_value upload_max_filesize 10M
php_value post_max_size 10M
php_value max_execution_time 1000
php_value max_input_time 1000


It's an issue with your post max size.

Quote · 19 May 2009

If allowed, try this for your .htaccess:

php_value upload_max_filesize 10M
php_value post_max_size 10M
php_value max_execution_time 1000
php_value max_input_time 1000

It's an issue with your post max size.

.....max_filesize does it mean 10 Megabyte of one file?

and where is the .htaccess located in root or in wich directory

EDIT: ok i put it into the root .htaccess but now i becom the upload screen.

the user get also not the information about the possibilitie

Quote · 19 May 2009

I'm having the same problem. I installed Dolphin 6.1.6 and when I upload photos it gives me a blank page and goes to uploadSharePhoto.php. The images are blank as well. The site can be seen at http://myfunbeach.com/photo/all/10/1

Quote · 21 May 2009

Guys, don`t forget about memory installed at server.

Here simple calculation:

as example you tried to upload image 3000 * 2000

How many memory it will require to resize?

(3000 * 2000 * 24 (color bit)  ) / (1024 * 1024) = 137.3MB

several hosts give normal error, that you have XX MB installed, X required, so we can understand why it happen,

sometimes (another servers) it give just blank page :)

Quote · 21 May 2009

for profile photos

 

in upload_media.php line 186->188 change

 

  case 'upload':
   $ret .= $oMedia -> uploadMedia( $iPhotoID );
   header('Location:' . $_SERVER['PHP_SELF'] . '?show=' . $oMedia -> sMediaType );

 

into

 

  case 'upload':
   $ret .= $oMedia -> uploadMedia( $iPhotoID );
   header('Refresh:' . 0 . 'Location:' . $_SERVER['PHP_SELF'] . '?show=' . $oMedia -> sMediaType );

 

for shared photos

 

in uploadSharePhoto.php line 188

 

change

 

header("Location:".$sFileLink);

 

to

 

header("Refresh: 0; url=/browsephoto.php");

 

 

it may not be the best solution but it works for me and you dont have to disable gd library for this

 

hope this helps

Quote · 26 May 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.