Author Topic: No thumbs appear while using plain upload  (Read 21588 times)

0 Members and 1 Guest are viewing this topic.

Offline steven

  • Pre-Newbie
  • Posts: 4
    • View Profile
No thumbs appear while using plain upload
« on: December 28, 2002, 12:29:58 AM »
Hello,

could anyone help me out with this one. I haven't seen it on another discussion...

My problem is that my thumbnails don't show up anymore although they appear in the right directory on the server...and when I want to edit a picture, I see the thumbnail (and i can delete it again by crossing the box asside of it) :roll: I don't use any 'auto thubnail generator'...just plain upload..

Since no thubnails appear anymore (it worked for some time), visitors can't see the normal version anymore either.

Anybody a clue?

tnx

Offline Warz

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: No thumbs appear while using plain upload
« Reply #1 on: February 24, 2008, 02:32:06 PM »
*Bump*

Sorry for bumping a 5 year old topic however I also a similar issue.

I have uploaded all my thumbnails via FTP and the structure looks like this:
/data/media/1/image.jpg
/data/thumbnails/1/image.jpg

What do I need to do in order to have the thumbs displayed?

I uploaded the images first, and have uploaded the thumbs later on.

Thanks

Offline nobby

  • 4images Guru
  • *******
  • Posts: 2.873
    • View Profile
Re: No thumbs appear while using plain upload
« Reply #2 on: February 24, 2008, 02:40:11 PM »
Hi,

ACP  :arrow: Check new images  :arrow: Auto Thumbnailer  :wink:

See Annex:

Offline Warz

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: No thumbs appear while using plain upload
« Reply #3 on: February 24, 2008, 02:45:06 PM »
Hi, when I go "Check new images" I find nothing, then when I go Auto Thumbnailer I get results, however I don't dare to press the "create thumbnails" button since I have already created and uploaded the thumbs? What will the option do?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: No thumbs appear while using plain upload
« Reply #4 on: February 24, 2008, 02:50:04 PM »
Quote
What will the option do?

If see images upload on FTP but no can see in ACP, use this - http://www.4homepages.de/forum/index.php?topic=20234.0
Is compare data of IMAGES_TABLE, CATEGORIES_TABLE with FTP images data. With this, you get what is wrong. ;)
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Warz

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: No thumbs appear while using plain upload
« Reply #5 on: February 24, 2008, 02:57:28 PM »
Thanks, but unlucky my web server use PHP 4.4.7 and not PHP 5... Any other ideas?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: No thumbs appear while using plain upload
« Reply #6 on: February 24, 2008, 03:19:29 PM »
Hum ... sorry ... I support gallery user for PHP v5.2+ only (for this problem).
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Warz

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: No thumbs appear while using plain upload
« Reply #7 on: February 24, 2008, 04:47:17 PM »
Hello,

I installed PHP 5 on my server and installed your script.

Quote
Error(s) found: 1

Cannot find cat ID value: 2 under FTP folder: data/thumbnails/2 and / or in table. image.jpg file has been found in  4images_images table Matched cat ID value: 2 for: image.jpg file..

Error(s) found: 536

Cannot find file data/thumbnails/2/image2.jpg under FTP and / or in 4images_images table.
 

To be honest I have no idea what to do now... I mean, the images is located at data/thumbnails/2 so I have no idea why it says it's not...  :(

Offline honda2000

  • 4images Guru
  • *******
  • Posts: 3.263
    • View Profile
    • Wir machen Internet!
Re: No thumbs appear while using plain upload
« Reply #8 on: February 24, 2008, 04:49:36 PM »
search: safe_mode / Safe-Mod / safe-mode

Offline Warz

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: No thumbs appear while using plain upload
« Reply #9 on: February 24, 2008, 04:52:12 PM »
search: safe_mode / Safe-Mod / safe-mode
On my server the Safe Mode is "off".

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: No thumbs appear while using plain upload
« Reply #10 on: February 24, 2008, 04:52:52 PM »
ahHA ! so diagnostic is find problem. ;)

Quote
Cannot find cat ID value: 2 under FTP folder: data/thumbnails/2 and / or in table. image.jpg file has been found in  4images_images table Matched cat ID value: 2 for: image.jpg file..

Ok so is mean CATEGORIES_TABLE is find cat_id no 2 but folder no 2 is no exist in FTP (or change in FTP and no change in CATEGORIES_TABLE and IMAGES_TABLE for cat_id field from ACP). This is bad but now you see what is source. Solution: Recheck cat no 2 in CATEGORIES_TABLE, IMAGES_TABLE and FTP folder for all match.

Quote
Error(s) found: 536

536 ???  8O

Wow ... now check your data/media and data/thumbnails folder + CATEGORIES_TABLE and IMAGES_TABLE for all match.  8O

Note: This problem is nothing do with safe_mode . This is upload / backup-restore problem.
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Warz

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: No thumbs appear while using plain upload
« Reply #11 on: February 24, 2008, 05:38:51 PM »
Hello,

I don't understand how do I do this? I have more than 7000 images in the table "image_media_file" while in "image_thumb_file" there are only 5 which I have added manually earlier. How do I make the thumbs appear in the thumb table/category?

Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: No thumbs appear while using plain upload
« Reply #12 on: February 24, 2008, 06:00:20 PM »
Quote
I don't understand how do I do this?

If no get how, check in phpmyadmin in CATEGORIES_TABLE and IMAGES_TABLE for cat_id match with FTP cat_id (data/thumbnails and data/media). After, in IMAGES_TABLE, check for image_thumb_file match with cat_id of FTP. Diagnostic is say is no find match data. ;)

If upload manual, use this: http://www.4homepages.de/forum/index.php?topic=3080.0
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?

Offline Warz

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: No thumbs appear while using plain upload
« Reply #13 on: February 24, 2008, 06:53:59 PM »
Hey,

It seems like they are matching like they should. However in every line the thumbs are missing.

It looks like this:

Quote
INSERT INTO `4images_images` VALUES(1, 2, 1, 'myimagename', '', '', 1202758236, 1, 'image.jpg', '', '', 1, 0, 4, 0, 0.00, 16);

It should look like this:

Quote
INSERT INTO `4images_images` VALUES(1, 2, 1, 'myimagename', '', '', 1202758236, 1, 'image.jpg', 'image.jpg', '', 1, 0, 4, 0, 0.00, 16);

As you can see, it's missing the thumbnail in each row. I can't add this manual because it would take me weeks and months and years. I'm not very good at this so I'm not sure what's the best way to solve it. I use PHPMYADMIN, there are no CATEGORIES_TABLE all there is 4images_categories for example.


Offline thunderstrike

  • 4images Guru
  • *******
  • Posts: 2.327
    • View Profile
Re: No thumbs appear while using plain upload
« Reply #14 on: February 24, 2008, 07:09:16 PM »
Hey,

It seems like they are matching like they should. However in every line the thumbs are missing.

It looks like this:

Quote
INSERT INTO `4images_images` VALUES(1, 2, 1, 'myimagename', '', '', 1202758236, 1, 'image.jpg', '', '', 1, 0, 4, 0, 0.00, 16);

It should look like this:

Quote
INSERT INTO `4images_images` VALUES(1, 2, 1, 'myimagename', '', '', 1202758236, 1, 'image.jpg', 'image.jpg', '', 1, 0, 4, 0, 0.00, 16);

As you can see, it's missing the thumbnail in each row. I can't add this manual because it would take me weeks and months and years. I'm not very good at this so I'm not sure what's the best way to solve it. I use PHPMYADMIN, there are no CATEGORIES_TABLE all there is 4images_categories for example.

If two different line for INSERT INTO, how can match like they should. The cat_id is find but FTP file and image_media_file is no match (diagnostic is scan this too). ;)

You use a MOD for this problem or is 4images fresh ? If fresh, what is 4images version ?
8 steps need when ask question -

- PHP version (ACP - > phpinfo())
- mySQL version (ACP - > phpinfo())
- 4images version
- Post screenshot / URL
- Post code in BB Code (no need full file for code) or post attach file
- It doesn't work. What is say - what is do for no work
- Install MOD ? If so - please say (troubleshooting)
- Read FAQ ? Install Bug fixes ?