Author Topic: Auto thumbnail/ add images errors.  (Read 15170 times)

0 Members and 1 Guest are viewing this topic.

Offline ASEFD

  • Pre-Newbie
  • Posts: 6
    • View Profile
Auto thumbnail/ add images errors.
« on: August 02, 2002, 05:13:46 AM »
Hi.

I get the following errors:

When I try to upload a new image:
Quote
Warning: Unable to create './../data/media/1/6_2.gif': Permission denied in /home/keepthem/public_html/zao/pictures/includes/upload.php on line 111

Warning: Unable to move '/tmp/phpkXsPZ9' to './../data/media/1/6_2.gif' in /home/keepthem/public_html/zao/pictures/includes/upload.php on line 111
Image 1  
  Error uploading image file: 6.gif
6_2.gif: Copy error. Please check the directory permissions.

No database entry!

(my directory permissions ARE correct)


And when I try and make auto thumbnails:
Quote
Create thumbnail for: Dan1 (1.gif) ....  
Warning: call_user_func() expects first argument, 'ImageCreateFromgif', to be a valid callback in /home/keepthem/public_html/zao/pictures/includes/image_utils.php on line 65

   Error creating thumbnail!

And that is using GD Bibliothek.


Please help, I don't want to have to go through and make thumbnails for EVERY image I will be adding.

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Auto thumbnail/ add images errors.
« Reply #1 on: August 02, 2002, 09:20:59 AM »
Check if folder "1" exists in data/media and data/thumbnails. If not, create it and chmod 777.

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

Offline ASEFD

  • Pre-Newbie
  • Posts: 6
    • View Profile
Okay..
« Reply #2 on: August 02, 2002, 11:02:26 AM »
Cool, that worked.

Now what about the auto thumbnails????

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Auto thumbnail/ add images errors.
« Reply #3 on: August 02, 2002, 11:30:02 AM »
You have to delete the existing images from the database because the relating files doesn't exists on the server. Add a new image and try it again.

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

Offline ASEFD

  • Pre-Newbie
  • Posts: 6
    • View Profile
Auto thumbnail/ add images errors.
« Reply #4 on: August 02, 2002, 11:52:42 AM »
I have added quite a few new images and I still get the same thumbnail error message.

 :cry:

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Auto thumbnail/ add images errors.
« Reply #5 on: August 02, 2002, 11:56:09 AM »
Ok, try this.
Open "includes/image_utils.php" and replace this line:
Code: [Select]
$version = 0;
with
Code: [Select]
return 0;

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

Offline ASEFD

  • Pre-Newbie
  • Posts: 6
    • View Profile
Auto thumbnail/ add images errors.
« Reply #6 on: August 02, 2002, 12:02:18 PM »
Tried it..

Still giving me the same error.

Quote
Create thumbnail for: Rob2 (2.gif) ....  
Warning: call_user_func() expects first argument, 'ImageCreateFromgif', to be a valid callback in /home/keepthem/public_html/zao/pictures/includes/image_utils.php on line 65

   Error creating thumbnail!


Create thumbnail for: Rob3 (3.gif) ....  
Warning: call_user_func() expects first argument, 'ImageCreateFromgif', to be a valid callback in /home/keepthem/public_html/zao/pictures/includes/image_utils.php on line 65

   Error creating thumbnail!


Create thumbnail for: Rob4 (4.gif) ....  
Warning: call_user_func() expects first argument, 'ImageCreateFromgif', to be a valid callback in /home/keepthem/public_html/zao/pictures/includes/image_utils.php on line 65

   Error creating thumbnail!


For now, I'm going to get some sleep.  It's 4:30am here in the western US.  Hope you can help me figure out the problem.
 :?

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Auto thumbnail/ add images errors.
« Reply #7 on: August 02, 2002, 12:27:48 PM »
I guess you are using GD 2.0 or higher. This version does'nt support the GIF- format.

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

Offline ASEFD

  • Pre-Newbie
  • Posts: 6
    • View Profile
Auto thumbnail/ add images errors.
« Reply #8 on: August 02, 2002, 06:51:44 PM »
I tried jpg too.

Quote
Create thumbnail for: misc1 (1.jpg) ....  
Warning: imagejpeg: unable to open './../data/thumbnails/7/1.jpg' for writing in /home/keepthem/public_html/zao/pictures/includes/image_utils.php on line 72

   Error creating thumbnail!


Create thumbnail for: misc2 (2.jpg) ....  
Warning: imagejpeg: unable to open './../data/thumbnails/7/2.jpg' for writing in /home/keepthem/public_html/zao/pictures/includes/image_utils.php on line 72

   Error creating thumbnail!


Now it's an error on a different line..  :?

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Auto thumbnail/ add images errors.
« Reply #9 on: August 02, 2002, 08:34:11 PM »
Check if you permissions of your folders inside the data folder are set correctly. Must be 777 for all folders.

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

Offline ASEFD

  • Pre-Newbie
  • Posts: 6
    • View Profile
Auto thumbnail/ add images errors.
« Reply #10 on: August 02, 2002, 10:14:15 PM »
Yep, they're all chmod 777.

I have a question real quick.
I'm hosted through a different server.. (not my own)
Would I be able to install "ImageMagic" in my public_html directory and see if that will work?  Or does it only work if it's installed on the main server?

Also, if it is installed on the main server (which it might be) what would the directory be??

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Auto thumbnail/ add images errors.
« Reply #11 on: August 03, 2002, 08:03:14 AM »
To install ImageMagick you need root access on your server. Ask your host, maybe they can install it for you.

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

Offline irocracer

  • Newbie
  • *
  • Posts: 25
    • View Profile
Auto thumbnail/ add images errors.
« Reply #12 on: November 11, 2002, 12:20:01 PM »
i'm to , getting the same error ......

i tried everthing, that you guys was talking about and still notthing

Offline legolasbloom

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Auto thumbnail/ add images errors.
« Reply #13 on: November 18, 2002, 03:12:37 AM »
i have the same problem. I can upload the pics but the auto-thumbnailer won't work. I tried everything in this thread

Offline sikter

  • Pre-Newbie
  • Posts: 1
    • View Profile
Auto thumbnail/ add images errors.
« Reply #14 on: December 02, 2002, 05:25:47 AM »
Any word on fix for this?
I'm also trying to create a thumb for jpg image and all of my data folders have 777 permision.

This is really driving me crazy. I tried everything from this forum but no luck so far.

BTW. This used to work fine some time ago and it just quit working.
 :(

MY ERROR MESSAGE:
Create thumbnail for: test Image (bottle.jpg) ....  
Warning: call_user_func() expects first argument, 'ImageCreateFromgif', to be a valid callback in /home/endeavor/public_html/photos/includes/image_utils.php on line 65

   Error creating thumbnail!
JOKS