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 15. Nov 2024, 11:57

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  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Error for "Top 21"
PostPosted: 11. Mar 2009, 20:16 
Offline

Joined: 13. Jan 2007, 01:54
Posts: 49
Hi,

After I upgraded TWG to 1.7.x, I got error when I select "Top 21" link of albums :

No images could be found for this view.
Protected galleries are only included if you unlock them first

I'm using 1.7.6 now.

Please advise. Thanks.

VL


Top
 Profile  
 
 Post subject:
PostPosted: 11. Mar 2009, 21:32 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
click on the bandwidth icon. This view is only updated every x hours for optimal performance.

http://www.tinywebgallery.com/en/faq.php#h43
-> x hours caching
gives you more details. how to disable this if you don't like the caching.

how many images are in your gallery?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 12. Mar 2009, 00:39 
Offline

Joined: 13. Jan 2007, 01:54
Posts: 49
I'm not sure what causes the probelm. Some albums work with Topx (maybe pre1.7 xml), but some don't.

From myconfig.php, I have :

$precache_xml_background=false;

and config.php, I didn't change any default cache values. What are your recomended settings to turn on Topx?

Thanks.

VL


Top
 Profile  
 
 Post subject:
PostPosted: 12. Mar 2009, 09:49 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
you have not really responded to my post before.

this xml has not changed since 1.6

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 12. Mar 2009, 18:07 
Offline

Joined: 13. Jan 2007, 01:54
Posts: 49
I have 4612 images in my gallery.

I notice that after a very long time Topx works for new albums which have problem, but the statistic is not updated properly.

VL


Top
 Profile  
 
 Post subject:
PostPosted: 12. Mar 2009, 18:15 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
This is explained in the howto. The numbers are only updated every x hours if you have more than 2000 images. You can change this settings if you like.

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 12. Mar 2009, 19:35 
Offline

Joined: 13. Jan 2007, 01:54
Posts: 49
From error message which refer nothing related to cache files:

No images could be found for this view.
Protected galleries are only included if you unlock them first.

What are protected galleries, and how to unlock them?

VL


Top
 Profile  
 
 Post subject:
PostPosted: 12. Mar 2009, 22:15 
Offline

Joined: 13. Jan 2007, 01:54
Posts: 49
Also in config.php, the default parameter:

$precache_main_top_x_interval=4;

refers to 4hours to refresh cache, but I have the above error for months in new albums before TWG shows something for Topx.

Thanks.

VL


Top
 Profile  
 
 Post subject:
PostPosted: 12. Mar 2009, 22:42 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Interesting.

Because then the topx cache it not refreshed at all? e.g if you click on the bandwidth icon it should be refreshed right away.

If you are in a subfolder then you can click on the topx as well. Does it work there?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 12. Mar 2009, 23:27 
Offline

Joined: 13. Jan 2007, 01:54
Posts: 49
Regardless where I click the bandwidth icon in albums at main level or subfolders. I got the same error message for Topx. So I think Topx is not working at all for post-1.7-upgrade albums,
Topx still working for pre-1.7-upgrade albums, I guess maybe it reads old statistics (?).

Could it be file permission problem? I set all files in xml folders with write permision for everyone, but it doesn't solve the problem.

VL


Top
 Profile  
 
 Post subject:
PostPosted: 12. Mar 2009, 23:36 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
The format has not changed.

If you are in a subfolder then you can click on the topx as well. Does it work there? do the counter work?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 12. Mar 2009, 23:47 
Offline

Joined: 13. Jan 2007, 01:54
Posts: 49
I got the same error for subfolder too, but the counter works fine at all levels.

VL


Top
 Profile  
 
 Post subject:
PostPosted: 12. Mar 2009, 23:55 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Is there a change if you set

$precache_main_top_x=false;
$precache_main_top_x_limit=5000;

But it'S even more strange that topx is not updated in the subdir because there they are normally not cached.

You have a url?

- Michael


Top
 Profile  
 
 Post subject:
PostPosted: 13. Mar 2009, 00:03 
Offline

Joined: 13. Jan 2007, 01:54
Posts: 49
As your suggestion, I set

$precache_main_top_x=false;
$precache_main_top_x_limit=5000;

in myconfig.php, and click bandwidth icon to regenerate cache, but I got the same error.

Here is url:

http://vulieu.net/twg/index.php?twg_alb ... 09.1-KySuu

click "Top 21" in the menu, you'll see the message.

VL


Top
 Profile  
 
 Post subject:
PostPosted: 13. Mar 2009, 00:09 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
It's a configuration error.

You have disabled the counter of images ($show_count_views = false; ) but you still have set
$topx_default='views';

So it's impossible that the topx can show views!

The old folders maybe work because you had the views counter enabled before.

- Michael


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 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