Author Topic: Auto-Thumbnailer and Create thumbnails ERROR  (Read 18170 times)

0 Members and 1 Guest are viewing this topic.

Offline Andrei Bovkun

  • Pre-Newbie
  • Posts: 4
    • View Profile
Auto-Thumbnailer and Create thumbnails ERROR
« on: May 29, 2002, 07:19:15 PM »
Hello!
At first, sorry for my English.

I use 4images (Version: 1.5 Beta). See http://www.bovkun.com/coolpix
I think all is good, but ...  :(   When I'm trying Auto-Thumbnailer (.. > Check thumbnails > Create thumbnails) it returns error message:

Code: [Select]
Create thumbnail for: test_1 (9.jpg) ....  

ERROR

Warning: imagecreatefromjpeg: './../data/media/1/9.jpg' is not a valid JPEG file in /home/bovkun/public_html/coolpix/admin/thumbnailer.php on line 74

ERROR

Warning: Supplied argument is not a valid Image resource in /home/bovkun/public_html/coolpix/admin/thumbnailer.php on line 79

ERROR

Warning: Supplied argument is not a valid Image resource in /home/bovkun/public_html/coolpix/admin/thumbnailer.php on line 79

ERROR

Warning: Supplied argument is not a valid Image resource in /home/bovkun/public_html/coolpix/admin/thumbnailer.php on line 79

ERROR

Warning: imagejpeg: unable to open './../data/thumbnails/1/9.jpg' for writing in /home/bovkun/public_html/coolpix/admin/thumbnailer.php on line 81

ERROR

Warning: Supplied argument is not a valid Image resource in /home/bovkun/public_html/coolpix/admin/thumbnailer.php on line 83

   Error creating thumbnail!



CD is installed. All permissions is right.

What can I do :?:  
PEOPLE, HELP ME PLEASE


See info() on http://www.iname.com.ua/~gsa/  
In adition I can give (to Admin Site) FTP access to my "4images" directory.


--------

By the way, in /docs/Installation.txt I find some misstake.
Compare this:

line 56
Code: [Select]
    chmod 777 (drwxrwxrwx) : data
     chmod 777 (drwxrwxrwx) : data/database
     chmod 777 (drwxrwxrwx) : data/media
     chmod 777 (drwxrwxrwx) : data/thumbnails
     chmod 777 (drwxrwxrwx) : data/tmp_media
     chmod 777 (drwxrwxrwx) : data/tmp_thumbnails
     chmod 777 (drwxrwxrwx) : templates
     chmod 777 (drwxrwxrwx) : templates/default
     chmod 777 (drwxrwxrwx) : templates/default/media


and

line 75
Code: [Select]
    chmod 777 (drwxrwxrwx) : data
     chmod 777 (drwxrwxrwx) : data/database
     chmod 777 (drwxrwxrwx) : data/media
     chmod 777 (drwxrwxrwx) : data/thumbnails
     chmod 777 (drwxrwxrwx) : templates
     chmod 777 (drwxrwxrwx) : templates/default
     chmod 777 (drwxrwxrwx) : templates/default/media


That is not big problem, but as for me...  :?  My English is not so good, and German language is BIG PROBLEM.  :(

Offline heygu

  • Newbie
  • *
  • Posts: 22
    • View Profile
    • http://www.107BBS.com
Re: Auto-Thumbnailer and Create thumbnails ERROR
« Reply #1 on: May 29, 2002, 08:12:40 PM »
Check your folders permission.
There is nothing hard on this world if you willing to try them hard...

Offline Andrei Bovkun

  • Pre-Newbie
  • Posts: 4
    • View Profile
Auto-Thumbnailer and Create thumbnails ERROR
« Reply #2 on: May 29, 2002, 09:29:13 PM »
I checked. All right...  :(
Where is wrong permitions? I can't find it.


Code: [Select]

/admin                     ¦drwxr-xr-x
¦/images                    ¦drwxr-xr-x
¦*ALL FILES        ¦-rwxr-xr-x
/data                      ¦drwxrwxrwx
¦/database                  ¦drwxrwxrwx
¦/media                     ¦drwxrwxrwx
¦/thumbnails                ¦drwxrwxrwx
¦/tmp_media                 ¦drwxrwxrwx
¦/tmp_thumbnails            ¦drwxrwxrwx
/includes                  ¦drwxr-xr-x
¦*ALL FILES                  ¦-rwxr-xr-x
/lang                      ¦drwxr-xr-x
¦/deutsch                   ¦drwxr-xr-x
¦/english                   ¦drwxr-xr-x
¦*index.html                ¦-rwxr-xr-x
/templates                 ¦drwxrwxrwx
¦/default                   ¦drwxrwxrwx
¦¦/icons                     ¦drwxr-xr-x
¦¦/images                    ¦drwxr-xr-x
¦¦/media                     ¦drwxrwxrwx
¦¦¦ALL FILES               ¦-rw-rw-rw-
¦¦ ALL FILES               ¦-rw-rw-rw-
*ALL FILES            ¦-rwxr-xr-x


Next example:
Code: [Select]
Create thumbnail for: 313.gif (313.gif) ....  

ERROR

Warning: ImageCreateFromGif: No GIF read support in this PHP build in /home/bovkun/public_html/coolpix/admin/thumbnailer.php on line 74


ERROR

Warning: Supplied argument is not a valid Image resource in /home/bovkun/public_html/coolpix/admin/thumbnailer.php on line 79


ERROR

Warning: Supplied argument is not a valid Image resource in /home/bovkun/public_html/coolpix/admin/thumbnailer.php on line 79


ERROR

Warning: Supplied argument is not a valid Image resource in /home/bovkun/public_html/coolpix/admin/thumbnailer.php on line 79


ERROR

Warning: ImageGif: No GIF create support in this PHP build in /home/bovkun/public_html/coolpix/admin/thumbnailer.php on line 81


ERROR

Warning: Supplied argument is not a valid Image resource in /home/bovkun/public_html/coolpix/admin/thumbnailer.php on line 83

   Error creating thumbnail!



May be the problem in English templates?
And I've got same trouble with "Auto-Image-Resizer"


Code: [Select]
Convert image file: 9.jpg (640x480) ....  

ERROR

Warning: imagecreatefromjpeg: './../data/media/1/9.jpg.bak' is not a valid JPEG file in /home/bovkun/public_html/coolpix/admin/resizer.php on line 66


ERROR

Warning: Supplied argument is not a valid Image resource in /home/bovkun/public_html/coolpix/admin/resizer.php on line 71


ERROR

Warning: Supplied argument is not a valid Image resource in /home/bovkun/public_html/coolpix/admin/resizer.php on line 71


ERROR

Warning: Supplied argument is not a valid Image resource in /home/bovkun/public_html/coolpix/admin/resizer.php on line 71

   Image file converted!


More, this ruine pictures!...

I know somethin is wrong, but what and where :?:

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Auto-Thumbnailer and Create thumbnails ERROR
« Reply #3 on: May 29, 2002, 10:25:40 PM »
hi,

1. GIF pic's are not supported in GD 2 (only ImageMagick)
2. maybe is your JPEG pic corrupt . (IS NOT: i just tested it on my server)
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Andrei Bovkun

  • Pre-Newbie
  • Posts: 4
    • View Profile
Auto-Thumbnailer and Create thumbnails ERROR
« Reply #4 on: May 31, 2002, 02:46:44 PM »
Quote from: Nicky

1. GIF pic's are not supported in GD 2 (only ImageMagick)


Ok. I see.

Quote from: Nicky

2. maybe is your JPEG pic corrupt . (IS NOT: i just tested it on my server)


No, no. File is not corrupt.
You can see it http://www.bovkun.com/coolpix/data/media/1/9.jpg
The same error I've got with another pictures.

SOS!

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Auto-Thumbnailer and Create thumbnails ERROR
« Reply #5 on: May 31, 2002, 03:01:25 PM »
hi,

pls. send me your admin login..
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline Andrei Bovkun

  • Pre-Newbie
  • Posts: 4
    • View Profile
Auto-Thumbnailer and Create thumbnails ERROR
« Reply #6 on: June 12, 2002, 10:49:49 PM »
SOS SOS SOS

I updated to new version (1.50 Final) but have got the same problem.  :evil:  :!:  :?:

My hosting provider use SAFE_MODE. May be in this problem?
[/code]

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Auto-Thumbnailer and Create thumbnails ERROR
« Reply #7 on: June 13, 2002, 12:21:34 AM »
Yes, with safe mode on, you can't use the AUto-Thumbnailer and Auto-Resizer. Sorry.

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline a4land

  • Newbie
  • *
  • Posts: 12
    • View Profile
Auto-Thumbnailer and Create thumbnails ERROR
« Reply #8 on: June 26, 2002, 11:33:10 AM »
Hi ! I need your help !
I have that trouble too . But there is a little diference !!
I still can use the "Auto-thumbnail" and "Auto-resizer" when I login as a ADMIN and DIRECT UPLOAD , everything sucessful !!
But when my memberS upload their picture (not "Direct Upload") , I validate these images ok ,  but I can't use the "Auto-thumnail"
The error notice :

Create thumbnail for: Metallica logo (newani.gif) ....  
Warning: call_user_func() expects first argument, 'ImageCreateFromgif', to be a valid callback in /home/luong/public_html/a4land/lucky/admin/thumbnailer.php on line 76

Warning: imagesx(): supplied argument is not a valid Image resource in /home/luong/public_html/a4land/lucky/admin/thumbnailer.php on line 81

Warning: imagesy(): supplied argument is not a valid Image resource in /home/luong/public_html/a4land/lucky/admin/thumbnailer.php on line 81

Warning: imagecopyresized(): supplied argument is not a valid Image resource in /home/luong/public_html/a4land/lucky/admin/thumbnailer.php on line 81

Warning: call_user_func() expects first argument, 'Imagegif', to be a valid callback in /home/luong/public_html/a4land/lucky/admin/thumbnailer.php on line 83

Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/luong/public_html/a4land/lucky/admin/thumbnailer.php on line 85
   Error creating thumbnail!


I'm not sure that my hosting provider is working on SAFE MODE or NOT because It's not my own server . So that I hope you can help me !
Thankyou and sorry for my English

Offline FED

  • Pre-Newbie
  • Posts: 7
    • View Profile
Auto-Thumbnailer and Create thumbnails ERROR
« Reply #9 on: July 09, 2002, 07:55:25 PM »
Please help..
imagemagick right installed on my server..
path /usr/bin/ (right?)
then i go to Auto-Thumbnailer, click Create Thumbnails,
i see this:
Quote
Create thumbnail for: Butcher (Butcher.jpg) ....  
   Error creating thumbnail!
Create thumbnail for: Spider (Spider.jpg) ....  
   Error creating thumbnail!
Create thumbnail for: Yellow Lightning (yellowlightning.jpg) ....  
   Error creating thumbnail!

help..please  :roll:

Offline whistler81

  • Newbie
  • *
  • Posts: 30
    • View Profile
Auto-Thumbnailer and Create thumbnails ERROR
« Reply #10 on: July 09, 2002, 08:46:59 PM »
i see the same.....
i looks like a coding problem or a server problem??

Offline Kentorch

  • Newbie
  • *
  • Posts: 36
    • View Profile
Auto-Thumbnailer and Create thumbnails ERROR
« Reply #11 on: July 10, 2002, 04:41:27 AM »
u guys should upgrade to the latest version, 1.6, if ur host got safe mod on, it will work too ;)

Offline DigiSmack

  • Newbie
  • *
  • Posts: 25
    • View Profile
    • http://www.digitalsmackdown.com
Auto-Thumbnailer and Create thumbnails ERROR
« Reply #12 on: July 10, 2002, 08:33:16 AM »
Quote from: conanqtran
u guys should upgrade to the latest version, 1.6, if ur host got safe mod on, it will work too ;)


I don't think 1.6 allows safe mode enabled servers to use these features...I've posted before with problems with image magick and thumbnails and after many headaches, came to the conclusion that's it's beacause of safe mode I cannot get any of them to work... If you know differently, please explain

Offline Kentorch

  • Newbie
  • *
  • Posts: 36
    • View Profile
Auto-Thumbnailer and Create thumbnails ERROR
« Reply #13 on: July 10, 2002, 08:45:28 AM »
my host got safe mode on but i run 4images 1.6 without any problems...hurm... :)

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Auto-Thumbnailer and Create thumbnails ERROR
« Reply #14 on: July 10, 2002, 10:12:35 AM »
@conanqtran,

i do not think that your host have SAFE MODE ON...
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi