Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 13:52

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Pages loading partially
PostPosted: 2. Jul 2008, 22:21 
Offline

Joined: 16. May 2006, 17:15
Posts: 53
Location: Rio Claro - SP - Brazil
I'm having several problems while loading TWG pages. Sometimes only a few folders (or subfolders) shows and the rest of the page doesn't load at all.

Returning to the previous page and back to the page that has the problem sometimes fix it, and sometimes it requires a click on the bandwidth button.

The debug file is empty.

URL: #removed_broken_link

_________________
http://www.skooterweb.com/fotos/
http://www.skooterweb.com/


Top
 Profile  
 
 Post subject:
PostPosted: 2. Jul 2008, 22:24 
Offline

Joined: 16. May 2006, 17:15
Posts: 53
Location: Rio Claro - SP - Brazil
This is the last line of the html source from one of the times the page didn't full load:

Code:
<td colspan="3" class="twg_info"><div class="twg_100_prozent twg_imagetablediv"><table class="twg twg_100_prozent" summary="" border="0" cellpadding="0" cellspacing="0"><tr><td onclick="hideAllTimed();"  class="twg_image"><span class='twg_title'>Bem-Vindo a galeria de fotos de Fabricio Breve</span><br/><br/><table summary='' class='thumbnails'><tr><td class="mainnav"><center><table class='twg ' summary='' border='1' cellspacing='0' cellpadding='3'><tr><td style='' class=twg><center><div class='new_div'><a href='/fotos/index.php?twg_album=Clau&amp;twg_foffset=0,0'><img alt=''  src='buttons/new.gif' /></a></div><a href='/fotos/index.php?twg_album=Clau&amp;twg_foffset=0,0'><img  src='cache/_5d1856113bd08d51475c0b6c48624cf8_folder_top.tmp.png' alt='' /></a></center></td></tr></table></center><a href='/fotos/index.php?twg_album=Clau&amp;twg_foffset=0,0'>Clau (1244)</a><a href='/fotos/index.php?twg_gal_logout=true'><img class='twg_lock' src='buttons/unlock.gif' alt=''/></a></td><td class="mainnav"><center><table class='twg ' summary='' border='1' cellspacing='0' cellpadding='3'><tr><td style='' class=twg><center><a href='/fotos/index.php?twg_album=Unimep&amp;twg_foffset=0,0'><img  src='cache/_3aeec69935b53cf809b222aed88ca749_folder_top.tmp.png' alt='' /></a></center></td></tr></table></center><a href='/fotos/index.php?twg_album=Unimep&amp;twg_foffset=0,0'>Unimep (431)</a></td><td class="mainnav"><center><table class='twg ' summary='' border='1' cellspacing='0' cellpadding='3'><tr><td style='' class=twg><center><div class='new_div'><a href='/fotos/index.php?twg_album=S%E3o+Carlos&amp;twg_foffset=0,0'><img alt=''  src='buttons/new.gif' /></a></div><a href='/fotos/index.php?twg_album=S%E3o+Carlos&amp;twg_foffset=0,0'><img  src='cache/_b408ee17ede627844da716990334486c_folder_top.tmp.png' alt='' /></a></center></td></tr></table></center><a href='/fotos/index.php?twg_album=S%E3o+Carlos&amp;twg_foffset=0,0'>São Carlos (473)</a></td><td class="mainnav"><center><table class='twg ' summary='' border='1' cellspacing='0' cellpadding='3'><tr><td style='' class=twg><center><a href='/fotos/index.php?twg_album=Sancafolia&amp;twg_foffset=0,0'><img  src='cache/_6ae8c8865248207ed125a816fa7c278a_folder_top.tmp.png' alt='' /></a></center></td></tr></table></center><a href='/fotos/index.php?twg_album=Sancafolia&amp;twg_foffset=0,0'>Sancafolia (2719)</a></td></tr><tr><td class="mainnav"><center><table class='twg ' summary='' border='1' cellspacing='0' cellpadding='3'><tr><td style='' class=twg><center><div class='new_div'><a href='/fotos/index.php?twg_album=Rio+Claro&amp;twg_foffset=0,0'><img alt=''  src='buttons/new.gif' /></a></div><a href='/fotos/index.php?twg_album=Rio+Claro&amp;twg_foffset=0,0'><img  src='cache/_25dcd5a4e7fa535115393a6f6a02af3a_folder_top.tmp.png' alt='' /></a></center></td></tr></table></center><a href='/fotos/index.php?twg_album=Rio+Claro&amp;twg_foffset=0,0'>Rio Claro (485)</a></td><td class="mainnav"><center><table class='twg ' summary='' border='1' cellspacing='0' cellpadding='3'><tr><td style='' class=twg><center><a href='/fotos/index.php?twg_album=Pessoas&amp;twg_foffset=0,0'><img  src='cache/_b60e68b3991915a615c6385bd2ec11d1_folder_top.tmp.png' alt='' /></a></center></td></tr></table></center><a href='/fotos/index.php?twg_album=Pessoas&amp;twg_foffset=0,0'>Amigos (567)</a></td><td class="mainnav"><center><table class='twg ' summary='' border='1' cellspacing='0' cellpadding='3'><tr><td style='' class=twg><center><a href='/fotos/index.php?twg_album=Igreja+Nova+Vida&amp;twg_foffset=0,0'><img  src='cache/_18578fd7ea5efaf30ad58809dc021d9f_folder_top.tmp.png' alt='' /></a></center></td></tr></table></center><a href='/fotos/index.php?twg_album=Igreja+Nova+Vida&amp;twg_foffset=0,0'>Igreja Nova Vida (685)</a></td><td class="mainnav"><center><table class='twg ' summary='' border='1' cellspacing='0' cellpadding='3'><tr><td style='' class=twg><center><div class='new_div'><a href='/fotos/index.php?twg_album=Diversas+%28pvt%29&amp;twg_foffset=0,0'><img alt=''  src='buttons/new.gif' /></a></div><a href='/fotos/index.php?twg_album=Diversas+%28pvt%29&amp;twg_foffset=0,0'><img  src='cache/_186e2f185ab2d7bc5a2814a9ad424cb3_folder_top.tmp.png' alt='' /></a></center></td></tr></table></center><a href='/fotos/index.php?twg_album=Diversas+%28pvt%29&amp;twg_foffset=0,0'>Diversas (pvt) (341)</a><a href='/fotos/index.php?twg_gal_logout=true'><img class='twg_lock' src='buttons/unlock.gif' alt=''/></a></td></tr><tr><td class="mainnav"><center><table class='twg ' summary='' border='1' cellspacing='0' cellpadding='3'><tr><td style='' class=twg><center><a href='/fotos/index.php?twg_album=Canal+%23Rio_Claro&amp;twg_foffset=0,0'><img  src='cache/_8bb27e68148218228cb32a14073ac558_folder_top.tmp.png' alt='' /></a></center></td></tr></table></center><a href='/fotos/index.php?twg_album=Canal+%23Rio_Claro&amp;twg_foffset=0,0'>Canal #Rio_Claro (240)</a></td>


That happened after I returned from a locked folder (after unlocking it) to the main page.

_________________
http://www.skooterweb.com/fotos/
http://www.skooterweb.com/


Top
 Profile  
 
 Post subject:
PostPosted: 2. Jul 2008, 23:10 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
does it only happen after you return from a unlocked folder?
I have been to the site without problems

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 2. Jul 2008, 23:29 
Offline

Joined: 16. May 2006, 17:15
Posts: 53
Location: Rio Claro - SP - Brazil
TinyWebGallery wrote:
does it only happen after you return from a unlocked folder?
I have been to the site without problems

/Michael


Not exactly. Sometimes it happens with subfolders. But entering a protected folder is the easier way to reproduce it.

_________________
http://www.skooterweb.com/fotos/
http://www.skooterweb.com/


Top
 Profile  
 
 Post subject:
PostPosted: 2. Jul 2008, 23:32 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
and how should I reproduce it then? :).

Are any entries on the server log file?
Since when does this happen?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 2. Jul 2008, 23:45 
Offline

Joined: 16. May 2006, 17:15
Posts: 53
Location: Rio Claro - SP - Brazil
TinyWebGallery wrote:
and how should I reproduce it then? :).

Are any entries on the server log file?
Since when does this happen?

/Michael


I'm sending you the password through a private message.

Please try entering the locked folder called "Clau" and than coming back to the main page. I did that sometimes and most times only the first nine folder appeared, the folder called "Eventos e Viagens" (the one with the most subfolders and pictures) and the following doesn't load.

I didn't see anything wrong in the server log file.

This is happening since I moved to a webhosting service and load all the pictures. I believe the script is timing out (30 seconds), that wouldn't happen in my home webserver because I had set its timeout to a higher value (5 minutes or so).

_________________
http://www.skooterweb.com/fotos/
http://www.skooterweb.com/


Top
 Profile  
 
 Post subject:
PostPosted: 3. Jul 2008, 00:51 
Offline

Joined: 16. May 2006, 17:15
Posts: 53
Location: Rio Claro - SP - Brazil
Notice that when this problem happens, reloading the page won't solve it, so I believe the problem occurs when the cache is being constructed.

_________________
http://www.skooterweb.com/fotos/
http://www.skooterweb.com/


Top
 Profile  
 
 Post subject:
PostPosted: 3. Jul 2008, 08:55 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
the problem is that you could turn off some of the caching but then the "new" would not work too because for this all files have to be checked.

check if
$precache_xml=false (this is the default)

and for testing set $show_changes=0;
check if you still have the problem. I want to find out where the bottleneck on your system is.

And set $precache_background=false;

Maybe the parallel caching is a problem on your system. You maybe try to access the cache when it is building...
Especially when you log into a protected folder some caches are changed ...

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 3. Jul 2008, 22:39 
Offline

Joined: 16. May 2006, 17:15
Posts: 53
Location: Rio Claro - SP - Brazil
I tried these configs, but still the same problems occurs.

_________________
http://www.skooterweb.com/fotos/
http://www.skooterweb.com/


Top
 Profile  
 
 Post subject:
PostPosted: 4. Jul 2008, 06:51 
Offline

Joined: 16. May 2006, 17:15
Posts: 53
Location: Rio Claro - SP - Brazil
Hi Michael,

I found out that when these options are disabled the problem doesn't happen:

$autocreate_folder_image = true;
$autocreate_folder_image_recursive = true;

I know the folder_image is supposed to be created only once a day, but it looks like it's being created on every session.

Another problem that doesn't seems to be related with the first: the pictures inside "Amigos\Angélica" are not showing although there are traces of them in the source code and even the pagination buttons show up.

Thanks

_________________
http://www.skooterweb.com/fotos/
http://www.skooterweb.com/


Top
 Profile  
 
 Post subject:
PostPosted: 4. Jul 2008, 08:36 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Thanks - i'll check this.

After a login this cache is maybe refreshed too and this is quite some work to determine the new folder image. Or it simply crashes when this has to be done. Is it enough if you disable the recusive option?

About the images - I would avoid album names e.g. with an é - (use a foldername.txt to set the display value) I do the encoding but I have seen that some servers do not handle the encoding right and therefore the images are not shown.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 4. Jul 2008, 08:55 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
i was at the folder - how should it look like? - it is strange that the pager is shown but only one subfolder is there...

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 4. Jul 2008, 13:03 
Offline

Joined: 16. May 2006, 17:15
Posts: 53
Location: Rio Claro - SP - Brazil
I haven't done many tests, but it seems that disabling the recursive option is enough, maybe because most of the main folders have only subfolders inside.

About the folder, I believe the server is handling it fine, because other folders with special characters are working fine. Also, in my home server the same problem happens.

Besides the subfolder you saw, this folder has 68 pictures, that are not showing. I even changed some weird picture names, deleted the corresponding XML files, but the problem persists.

_________________
http://www.skooterweb.com/fotos/
http://www.skooterweb.com/


Top
 Profile  
 
 Post subject:
PostPosted: 4. Jul 2008, 13:16 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I check the recursive thing - There has to be any kind of loop I have maybe missed...

the reading of the directory works because the paging works too.

Something causes the loop that displays the thumbnails to exit earlier - I have to check tonight what could cause the problem...
nothing in the log or the server log?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 4. Jul 2008, 13:38 
Offline

Joined: 16. May 2006, 17:15
Posts: 53
Location: Rio Claro - SP - Brazil
Nothing in the server log.

The debug log have this line, that doesn't seem related:

07.03.2008 0:08:34 (br) - ERROR 2 in lic_html/fotos/inc/filefunctions.inc.php, line 705: filemtime() [<a href='function.filemtime'>function.filemtime</a>]: stat failed for ../../fotos/Aniversário do Rafael (Rio Claro 26-05-2006)

_________________
http://www.skooterweb.com/fotos/
http://www.skooterweb.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2, 3  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 76 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy