Photos fail to appear "SOMETIMES" on my page
farhaneee
Joined: 2009-08-04
Posts: 36 |
![]() |
Hi all, can anyone tell me what is the real cause behind this? is it the database failing to bring the data? is the Gallery API responsible or is it just the internet randomly losing the information and it does not reach the client at the first go? can anyone tell me a solution? I hope you can see the problem at |
|
suprsidr
![]()
Joined: 2005-04-17
Posts: 8339 |
![]() |
They all showed for me in FF, IE, Chrome, Safron and Opera win7x64 Could be intermittent network errors on your end. -s |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
If you continue to have problem post your information: |
|
farhaneee
Joined: 2009-08-04
Posts: 36 |
![]() |
please do refresh some times .. maybe you can see the blank image borders here is the php info you requested, thanks guys for your time |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
I can see your thumbnails are not all displaying and it says "[Render error]" in places. I saw this error a lot recently while modding my site to bypass the G2 Image Firewall and I guess the error is down to your highly customised theme which probably has an error in the way "g->image" has been called in some places or (hopefully not), something is wrong with your smarty installation. Flick on one of the standard G2 Themes like Matrix and if it works, you will need to go back over your customisations to find out what was wrongly done. -- |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
Post your system information: |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
It's OK nivekiam ... I got to know this error very well. It is not server related or anything like that and is template related from GalleryTemplateAdapter.class. Something was missed in his custom template. Probably the params not passed properly in a "g->image" or "g->url" call. At least hopefully that is the case. I hit it while short circuiting the image firewall. -- |
|
nivekiam
![]()
Joined: 2002-12-10
Posts: 16504 |
![]() |
Well I'm also wondering if he's using GD and the derivatives are not getting properly created and cached so GD is continued rebuilding (and failing at times) in rebuilding the derivatives. Which I've also seen. Although those were just not loading and not generating a render error like you pointed out. |
|
farhaneee
Joined: 2009-08-04
Posts: 36 |
![]() |
Thanks all, really appreciate your responses, Quote:
I saw this error a lot recently while modding my site to bypass the G2 Image Firewall does that by bypassing the firewall I can have speedup with less security? if yes can you point me to a link where I can learn to do the same... I think my site is pretty slow I'm using GD the phpinfo.php can be viewed by clicking the link |
|
Dayo
Joined: 2005-11-04
Posts: 1642 |
![]() |
Actually, the G2 Image Firewall just slows down the application and stresses the server it is run on without giving any additional security. Basically, it is a design flaw. Unfortunately, I haven't yet gotten round to documenting the process as I am going to, at some point, make it into a module so that people can activate it without hacking the core code. I must confess I have not even began the first step towards this as I am working on something else. I see what your issue is. Firstly, on the render error, you just need to add an if block to your template to display some text if the album thumb is missing. On the missing thumbs, that could be down to a number of issues such as memory problems while creating the thumbs although I see that you have a 100m limit. Go into your admin clear the template and database caches and then run "rebuild all thumbs/resizes". This is memory intensive and mine falls over even with a 256m memory limit. I only have a few items in my gallery and it falls over whether running ImageMagick or GD particularly if the watermark module is active. Just wait about 5 minutes and then rerun it if it falls over. -- |
|
farhaneee
Joined: 2009-08-04
Posts: 36 |
![]() |
thanks Dayo, yes it appears to be fixed now.. cant see the missing thumbs anymore. I would be very interested in the bypass firewall module in fact it would be one of the best modules gallery 2 has to offer. |
|