4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Lucifix on April 28, 2003, 06:05:29 PM

Title: thumnails again
Post by: Lucifix on April 28, 2003, 06:05:29 PM
I have problem with auto-creating thumbnails.

My server supports GD 2. I am sure about that. I have currect GD to 2 and aslo checked this help:
http://4homepages.de/forum/viewtopic.php?t=3332&postdays=0&postorder=asc&highlight=isexecutable&start=15

When you want to put new photo to gallery, it happen nothing. Blank white screen. And photo wont be uploaded. If I dont select GD mode in settings, photo uploads but without thumbnail.

My site is using PHP Version 4.3.1.

It used to work few months ago. Then FTP server went down, and after that it stoped. FTP works normaly now like everything else.

Thanks,
Lucifix
Title: thumnails again
Post by: Lucifix on May 21, 2003, 01:31:54 PM
Does nobody has any clue?

Isnt there any options where you put code in and then you see where is the error - something like error report.

I check my php and saw this:
gd
GD Support  enabled  
GD Version  bundled (2.0 compatible)  
GIF Read Support  enabled  
PNG Support  enabled  
WBMP Support  enabled  

is that normal?
Title: Re: thumnails again
Post by: V@no on May 21, 2003, 01:43:12 PM
Quote from: Lucifix1
It used to work few months ago. Then FTP server went down, and after that it stoped. FTP works normaly now like everything else.

have u asked your host about that?
Title: thumnails again
Post by: Lucifix on May 21, 2003, 01:45:52 PM
i dont know what would be wrong with host. Host work just fine, as far as i konw. If not, what should i ask them?

here is info: http://slo-foto.portal.si/info.php
Title: thumnails again
Post by: Lucifix on May 21, 2003, 01:55:19 PM
If PHP 4.31 realy doesn't recognize
Code: [Select]
is_executable(); then i should remove all that from image_utils.php file?
Title: thumnails again
Post by: V@no on May 21, 2003, 01:58:35 PM
Quote from: Lucifix1
then i should remove all that from image_utils.php file?
I dont think this has anything to do with GD, because its build into php, not external as IM or NetPBM
Title: thumnails again
Post by: Lucifix on May 21, 2003, 01:59:08 PM
Couse i am using GD 2 i have remove this line:

Code: [Select]
 case "gd":
    if (!extension_loaded("gd")) {
      $convert_options['convert_error'] = (defined("IN_CP")) ? "<b class=\"marktext\">".$lang['gd_error']."</b><br />\n".$lang['check_module_settings'] : 1;
    }
    break;


But then i get this message:
Code: [Select]
Select module to create thumbnail.
Check module settings.


I have selected GD module.
Title: thumnails again
Post by: V@no on May 21, 2003, 02:02:12 PM
maybe try this instead:
Code: [Select]
 case "gd":
//    if (!extension_loaded("gd")) {
//      $convert_options['convert_error'] = (defined("IN_CP")) ? "<b class=\"marktext\">".$lang['gd_error']."</b><br />\n".$lang['check_module_settings'] : 1;
//    }
    break;
Title: thumnails again
Post by: Lucifix on May 21, 2003, 02:05:06 PM
then the photos uploads but without thumbnail. If i go to control panel and try to add auto thumb there i get this:

Code: [Select]
GD library error. Check module settings.
Title: thumnails again
Post by: Lucifix on May 21, 2003, 02:12:08 PM
ups.... nothing changes if i put your code in.
Title: thumnails again
Post by: V@no on May 21, 2003, 02:12:16 PM
then contact your host.
as u mentioned before, it worked just fine, untill server went down...so, something happend that it doesnt work anymore...
Title: thumnails again
Post by: Lucifix on May 21, 2003, 02:16:54 PM
I will! Thanks alot for your support.

Do I only have this problem? If I don't, I can post solution here if my webmaster will help me.

Lucifix
Title: thumnails again
Post by: V@no on May 21, 2003, 02:19:21 PM
sure, let us know in any case ;) :D