 | |  | | | Classifieds Installation & Upgrades If you're having install or upgrade problems, post here. |
May 31st, 2006, 08:06 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jul 2005
Posts: 53
| Problem after upgrading from 2.41 to 2.5
Hi,
I just downloaded 2.5 and have a problem after the upgrade.
In showproduct.php, showcat.php, recent ads in index.php, member.php, the 1st thumbnail always shows a cross (image not found). Strangely, the URL & supersize link to this 1st thumbnail still works.
Examples: http://classifieds.singaporeexpats.c...?product=11262 in this cat: http://classifieds.singaporeexpats.c...cat.php?cat=16 http://classifieds.singaporeexpats.c...=11300&cat=135 in this cat: http://classifieds.singaporeexpats.c...at.php?cat=135
Conclude:
1. Which means if this default 1st thumbnail ($bigimage) is supposed to show in any/all pages of the Classifieds, it will not appear.
2. In showproduct.php, clicking on the "red cross" (image not found) link still works and can see the image ($bigimage) in supersize. 1st thumbnail ( $file1thumb) fails to load.
3. This problem only occurs if:
(a) The ad has more than ONE thumbnail
(b) It is from the OLD ads which I upgraded from 2.41 to 2.5
4. If I place a NEW ad, all thumbs seems to work.
Kindly assist me on the above issue.
Thank you.
|
| |
May 31st, 2006, 09:47 PM
|
#2 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
Have you tried rebuilding thumbs. There have been no reported issues on this
|
| |
May 31st, 2006, 10:53 PM
|
#3 (permalink)
| | Member Verified Customer
Join Date: Jul 2005
Posts: 53
|
How to rebuild thumb?
|
| |
June 1st, 2006, 10:39 AM
|
#4 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
In Admin => Scan Database there is a rebuild missing thumbnail option.
|
| |
June 1st, 2006, 11:13 AM
|
#5 (permalink)
| | Member Verified Customer
Join Date: Jul 2005
Posts: 53
|
rebuilt about 50 of them then this error halts the rebuilding:
Warning: copy(/home/singap2/public_html/classifieds/data/43/thumbs/): failed to open stream: Is a directory in /home/singap2/public_html/classifieds/image-inc.php on line 399
Warning: unlink(/home/singap2/public_html/classifieds/data/43/thumbs/): Is a directory in /home/singap2/public_html/classifieds/image-inc.php on line 428
|
| |
June 1st, 2006, 11:17 AM
|
#6 (permalink)
| | Member Verified Customer
Join Date: Jul 2005
Posts: 53
|
I tried again and got this:
Thumbnail not sized: /home/singap2/public_html/classifieds/data/43/thumbs/6522candle4.jpg
Creating from /home/singap2/public_html/classifieds/data/43/6522candle4.jpg ...
Warning: copy(/home/singap2/public_html/classifieds/data/43/thumbs/6522candle4.jpg): failed to open stream: Permission denied in /home/singap2/public_html/classifieds/image-inc.php on line 399
Warning: unlink(/home/singap2/public_html/classifieds/data/43/thumbs/6522candle4.jpg): Permission denied in /home/singap2/public_html/classifieds/image-inc.php on line 428
Third time I got this:
Thumbnail not sized: /home/singap2/public_html/classifieds/data/43/thumbs/6522candle4.jpg
Creating from /home/singap2/public_html/classifieds/data/43/6522candle4.jpg ...
Warning: copy(/home/singap2/public_html/classifieds/data/43/thumbs/6522candle4.jpg): failed to open stream: Permission denied in /home/singap2/public_html/classifieds/image-inc.php on line 399
Warning: unlink(/home/singap2/public_html/classifieds/data/43/thumbs/6522candle4.jpg): Permission denied in /home/singap2/public_html/classifieds/image-inc.php on line 428
|
| |
June 1st, 2006, 11:22 AM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Jul 2005
Posts: 53
|
Oh no! Now in admin stats I got a full page of these:
Warning: is_dir(): Stat failed for /home/singap2/public_html/classifieds/data//43/thumbs/12848P1070187a.jpg (errno=13 - Permission denied) in /home/singap2/public_html/classifieds/adm-inc.php on line 749
Warning: is_dir(): Stat failed for /home/singap2/public_html/classifieds/data//43/thumbs/6522painting.jpg (errno=13 - Permission denied) in /home/singap2/public_html/classifieds/adm-inc.php on line 749
Warning: is_dir(): Stat failed for /home/singap2/public_html/classifieds/data//43/thumbs/2083DSC02181.JPG (errno=13 - Permission denied) in /home/singap2/public_html/classifieds/adm-inc.php on line 749
Warning: is_dir(): Stat failed for /home/singap2/public_html/classifieds/data//43/thumbs/9967HK_Curtain_Tie.JPG (errno=13 - Permission denied) in /home/singap2/public_html/classifieds/adm-inc.php on line 749
Warning: is_dir(): Stat failed for /home/singap2/public_html/classifieds/data//43/thumbs/4021PICT0549.JPG (errno=13 - Permission denied) in /home/singap2/public_html/classifieds/adm-inc.php on line 749
Warning: is_dir(): Stat failed for /home/singap2/public_html/classifieds/data//43/thumbs/7322349196.jpg (errno=13 - Permission denied) in /home/singap2/public_html/classifieds/adm-inc.php on line 749
|
| |
June 1st, 2006, 11:53 AM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Jul 2005
Posts: 53
|
OK, its the directory permission.
I managed to complete the command without error.
Question:
Now I find all the 1ST thumbnail is correct. But, the second thumbnail is wrong.
It seems like the Rebuilt all thumbnail command only rebuilt the 1ST thumb and did not rebuilt the 2ND or 3RD. Is that correct?
How do I rebuild the 2ND thumbnail?
Take a look here: http://classifieds.singaporeexpats.c...=11295&cat=135 |
| |
June 1st, 2006, 01:18 PM
|
#9 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
You would need to use rebuild all thumbs
|
| |
June 1st, 2006, 02:49 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Jul 2005
Posts: 53
| Quote: |
Originally Posted by Chuck S You would need to use rebuild all thumbs | That is what I did, I tick Rebuild All Thumbnails then click Perform Tasks
And this is the result (Can you take a look?): http://classifieds.singaporeexpats.c...=10113&cat=135
The 2ND thumbnail does not rebuild, or rebuilt wrongly, I dunno.
Any other way to solve this? Like editing image-inc.php?
|
| |
June 1st, 2006, 03:01 PM
|
#11 (permalink)
| | Member Verified Customer
Join Date: Jul 2005
Posts: 53
|
Well, the only way to solve this is to delete all the thumbs directory in all the cats then click Rebuild All Thumbnails.
Very very tedious but guess thats the only way now |
| |
June 1st, 2006, 03:05 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
I dont see an issue there you can also rebuild a thumb by editing an ad.
|
| |
June 1st, 2006, 03:29 PM
|
#13 (permalink)
| | Member Verified Customer
Join Date: Jul 2005
Posts: 53
|
We have 6085 ads you see....
|
| |
June 1st, 2006, 06:55 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 66,806
|
What I am saying is I have viewed your example and other ads on your site and I am not seeing any missing pictures.
|
| |
June 2nd, 2006, 12:37 AM
|
#15 (permalink)
| | Member Verified Customer
Join Date: Jul 2005
Posts: 53
|
Cos I deleted the thumbs directory in all the 138 categories then Rebuild all thumbs.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 02:48 PM. | |