Hi,
I'm using dolphin 6.1.4. I'm getting the following error in my dolphin admin panel when tried to save the advanced settings after changes:
Warning: getimagesize() [function.getimagesize]: Filename cannot be
empty in
/home/admin/domains/xxx.com/public_html/admin/global_settings.php
on line 800
When i checked the line 800 its as below:
Line 800 : $scan = getimagesize( $_FILES['file_watermark']['tmp_name'] );
if ( $scan && ( 1 == $scan[2] || 2 == $scan[2] || 3 == $scan[2] || 6 == $scan[2] ) ) { $uploadfile = $dir['tmp'] . $_FILES['file_watermark']['name']; $targetfile = $dir['profileImage'] . $_FILES['file_watermark']['name']; if ( move_uploaded_file($_FILES['file_watermark']['tmp_name'], $uploadfile) ) { $query = "UPDATE `GlParams` SET `VALUE` ='". addslashes($_FILES['file_watermark']['name']) ."' WHERE `Name` = 'Water_Mark'"; db_res($query); imageResize( $uploadfile, $targetfile, $gl_pic['pic']['width'], $gl_pic['pic']['height'] ); unlink( $uploadfile ); @chmod($targetfile, 0644); } }
$query = "UPDATE `GlParams` SET `VALUE` ='". (int)$_POST['transp1'] ."' WHERE `Name` = 'transparent1'"; db_res($query); $query = "UPDATE `GlParams` SET `VALUE` ='". process_db_input($_POST['enable_wm']) ."' WHERE `Name` = 'enable_watermark'"; db_res($query); ?> <div class="succ">Watermark settings saved.</div><br /> <?php }
?>
Thank you.
rgds, Ben |
You hit the wrong save button (there are 2 on this page, the bottom one is for watermarks) or the image you attempted to upload was an empty file. |
Not really. I clicked on the top button the get the settings saved. Also, no images being upload since the particular page basically only for settings. Checkout the snapshot at http://www.mediafire.com/?sharekey=0421119e918d95732fb2ca15d7ea42d9e04e75f6e8ebb871
Please assist.
|
Hello ranggitube!
Is it possible to look this problem irectly in your site? Because save_watermak function will be launched only after pressing "Save watermark" button. Provide me via Unity mail admin access to your site.
Regards
|
Hi LeonidS,
I've sent you a mail.
Cheer
|
Did this problem get solved? I using the same version and have the same Issue. I cant save my settings in the admin panel. |
i had the same issue using firefox
i.e. worked just fine :) watermark future works :))
|
Issue yet to be resolved.
prolaznik - i've tried in i.e. but vain, still got the same error.
anyone able to resolve this issue?
|
I too have the same issue. It will indeed save, however only in IE.
-Tom
|
ihave the same issue, did this get resolved yet? |
I have a new install version 6.1.5 and I got this error saving an event.
Warning: getimagesize() [function.getimagesize]: Filename cannot be empty in /home/marketi3/public_html/wshs/inc/classes/BxDolEvents.php on line 252
The event infomation was saved. Any idea how to stop this error?
Thanks.
|