- Messaggi: 49
- Ringraziamenti ricevuti 0
Missing some thumbnails
- sa
- Autore della discussione
- Offline
- Anziano Utente
Less
Di più
12 Anni 10 Mesi fa #374
da sa
Missing some thumbnails è stato creato da sa
Hi,
Our site is very large with over 5000 articles. We noticed some thumbnails are not being generated for some articles. I looked in components/com_customproperties/images and I see that some directories and images have been created but there are missing directories.
The directory has sufficient permissions as the presence of some generated directories would show. I have retried refreshing the thumbnails in the backend a few times, and the old directories are deleted and new ones created, but it never fully populated with all the directories it should.
Any ideas on what is happening? Is it possible that because there are so many directories, the script is timing out before finishing? if so, what settings would i need to change to correct this?
Thanks
Our site is very large with over 5000 articles. We noticed some thumbnails are not being generated for some articles. I looked in components/com_customproperties/images and I see that some directories and images have been created but there are missing directories.
The directory has sufficient permissions as the presence of some generated directories would show. I have retried refreshing the thumbnails in the backend a few times, and the old directories are deleted and new ones created, but it never fully populated with all the directories it should.
Any ideas on what is happening? Is it possible that because there are so many directories, the script is timing out before finishing? if so, what settings would i need to change to correct this?
Thanks
Si prega Accesso o Crea un account a partecipare alla conversazione.
- andrea_4g
- Offline
- Amministratore
Less
Di più
- Messaggi: 1122
- Ringraziamenti ricevuti 163
12 Anni 10 Mesi fa #377
da andrea_4g
Risposta da andrea_4g al topic Re: Missing some thumbnails
I don't think the problem is caused by a timeout issue. Thumbnails are (re)created upon the fist display of the article in the result list, thus only a handful are created at one time.
It'll be helpful to visit your site to troubleshoot the problem. (no need to post it here, send an email please)
It'll be helpful to visit your site to troubleshoot the problem. (no need to post it here, send an email please)
Si prega Accesso o Crea un account a partecipare alla conversazione.
- sa
- Autore della discussione
- Offline
- Anziano Utente
Less
Di più
- Messaggi: 49
- Ringraziamenti ricevuti 0
12 Anni 10 Mesi fa #379
da sa
Risposta da sa al topic Re: Missing some thumbnails
Ahh ok, that's good to know.
I turned on error reporting and it came up with this:
<b>Warning</b>: Division by zero in <b>/var/www/vhosts/mysite.com/httpdocs/components/com_customproperties/helper.php</b> on line <b>299</b><br />
<br />
<b>Warning</b>: imagecreatetruecolor() [<a href='function.imagecreatetruecolor'>function.imagecreatetruecolor</a>]: Invalid image dimensions in <b>/var/www/vhosts/mysite.com/httpdocs/components/com_customproperties/helper.php</b> on line <b>621</b><br />
<br />
<b>Warning</b>: imagecopyresampled() expects parameter 1 to be resource, boolean given in <b>/var/www/vhosts/mysite.com/httpdocs/components/com_customproperties/helper.php</b> on line <b>623</b><br />
<br />
<b>Warning</b>: imagejpeg() expects parameter 1 to be resource, boolean given in <b>/var/www/vhosts/mysite.com/httpdocs/components/com_customproperties/helper.php</b> on line <b>626</b><br />
<br />
<b>Warning</b>: imagedestroy() expects parameter 1 to be resource, boolean given in <b>/var/www/vhosts/mysite.com/httpdocs/components/com_customproperties/helper.php</b> on line <b>627</b><br />
I turned on error reporting and it came up with this:
<b>Warning</b>: Division by zero in <b>/var/www/vhosts/mysite.com/httpdocs/components/com_customproperties/helper.php</b> on line <b>299</b><br />
<br />
<b>Warning</b>: imagecreatetruecolor() [<a href='function.imagecreatetruecolor'>function.imagecreatetruecolor</a>]: Invalid image dimensions in <b>/var/www/vhosts/mysite.com/httpdocs/components/com_customproperties/helper.php</b> on line <b>621</b><br />
<br />
<b>Warning</b>: imagecopyresampled() expects parameter 1 to be resource, boolean given in <b>/var/www/vhosts/mysite.com/httpdocs/components/com_customproperties/helper.php</b> on line <b>623</b><br />
<br />
<b>Warning</b>: imagejpeg() expects parameter 1 to be resource, boolean given in <b>/var/www/vhosts/mysite.com/httpdocs/components/com_customproperties/helper.php</b> on line <b>626</b><br />
<br />
<b>Warning</b>: imagedestroy() expects parameter 1 to be resource, boolean given in <b>/var/www/vhosts/mysite.com/httpdocs/components/com_customproperties/helper.php</b> on line <b>627</b><br />
Si prega Accesso o Crea un account a partecipare alla conversazione.
- sa
- Autore della discussione
- Offline
- Anziano Utente
Less
Di più
- Messaggi: 49
- Ringraziamenti ricevuti 0
12 Anni 10 Mesi fa #380
da sa
Risposta da sa al topic Re: Missing some thumbnails
Also when I look at the code the height and width of the img is set to 0?
Si prega Accesso o Crea un account a partecipare alla conversazione.
- sa
- Autore della discussione
- Offline
- Anziano Utente
Less
Di più
- Messaggi: 49
- Ringraziamenti ricevuti 0
12 Anni 10 Mesi fa #381
da sa
Risposta da sa al topic Re: Missing some thumbnails
Ahhhhhhh
nevermind. i figured it out. I had set the height to auto... didn't realize it only accepts px...
now it's working
nevermind. i figured it out. I had set the height to auto... didn't realize it only accepts px...
now it's working
Si prega Accesso o Crea un account a partecipare alla conversazione.
- andrea_4g
- Offline
- Amministratore
Less
Di più
- Messaggi: 1122
- Ringraziamenti ricevuti 163
12 Anni 10 Mesi fa #382
da andrea_4g
Risposta da andrea_4g al topic Re: Missing some thumbnails
Glad the problem is solved and thanks for the feedback.
Si prega Accesso o Crea un account a partecipare alla conversazione.
Tempo creazione pagina: 0.173 secondi