PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Installation & Upgrades

Photopost Pro Installation & Upgrades If you're having install or upgrade problems

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old July 5th, 2008, 07:54 AM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2006
Posts: 11
5.62 to 6.11 upgrade breaks Category.

I've tried several times to upgrade my Photopost 5.62 to 6.11 with same results. Basically, upgrading breaks Category listing, see below attachments. I've traced the problem to pp-inc.php file, and as soon as this file is copied over, it breaks the category listing. I've reverted back to 5.62 until I can find solution for this. Any help is appreciated.
Attached Images
File Type: jpg Image1.jpg (35.7 KB, 15 views)
File Type: jpg Image2.jpg (67.3 KB, 19 views)
yonglvnv is offline   Reply With Quote
Old July 5th, 2008, 09:09 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
Turn off your category cache in admin perform your upgrade you will be fine.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 7th, 2008, 02:51 AM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2006
Posts: 11
Thanks, that worked. Now, do I turn the category cache back on? Or turning it back on cause same problem?
yonglvnv is offline   Reply With Quote
Old July 7th, 2008, 10:28 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
You can turn the cache on thats fine. Have a good day.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 19th, 2008, 05:28 AM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2006
Posts: 11
turning the cache on breaks the category listing again.

With cache off, category listing is not showing for unregistered users. Any way to fix this?
yonglvnv is offline   Reply With Quote
Old July 19th, 2008, 12:58 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
We would have to see a link and login to your site because if everything is correct you should not have an issue. I can run cache on or off it does not matter.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 19th, 2008, 08:06 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
I have the same problem, I truncate the table pp_cache and now all works fine.
vigape is offline   Reply With Quote
Old July 19th, 2008, 08:41 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
Not a problem most likely your cache table entry would not update
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 20th, 2008, 03:42 AM   #9 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
and is posible regenerate de cache table?
vigape is offline   Reply With Quote
Old July 20th, 2008, 01:18 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
Truncating or getting rid of the entry and allowing the program to regenerate it should work
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 20th, 2008, 02:50 PM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Apr 2006
Posts: 11
how would I go about truncating and regenerating the pp_cache table. Are you talking about physically deleting the table?
yonglvnv is offline   Reply With Quote
Old July 20th, 2008, 03:20 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
in phpmyadmin try running this

DELETE FROM pp_cache;
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 20th, 2008, 07:23 PM   #13 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
And how allowing the program to regenerate it ?
I do not see the option on the admin panel
vigape is offline   Reply With Quote
Old July 20th, 2008, 07:52 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
If you turn on the category cache we should place an entry in the cache table.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 21st, 2008, 09:14 AM   #15 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
I try turn off the cache, delete from pp_cache and turn on the cache.
But 5 hours later the cache table is empty.

The value for 'Minutes to cache index page...' is 10 minutes.

Are some script to rebuild the cache table?
vigape is offline   Reply With Quote
Old July 21st, 2008, 11:40 AM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
It should be built within the script sure there are conditionals in the script. Is anyone actually viewing the gallery to rebuild it? The cache has to be on for it to be rebuilt and if you cleared the entry and it is on it will be rebuilt. If you turn it on and things display fine just leave it on.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 21st, 2008, 01:59 PM   #17 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
We have over 30 users viewing the gallerys.
I turn on the cache and you can see not working well now. I send you the link by mp.
vigape is offline   Reply With Quote
Old July 21st, 2008, 02:00 PM   #18 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
I can't message you, the link is *********

You can see the title of all gallerys publics and private users.

Last edited by vigape; July 21st, 2008 at 02:18 PM. Reason: edited link
vigape is offline   Reply With Quote
Old July 21st, 2008, 02:01 PM   #19 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 66,802
That definately does not look like its upgraded correctly you can email support at photopost dot com
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 21st, 2008, 02:15 PM   #20 (permalink)
Member
Verified Customer
 
Join Date: Feb 2007
Posts: 31
Ok.
The finally solution.
the system is not capable of creating new cache if this is eliminated.
But if you can re-fill the table.
I restore the table with the data backup and runnig this:
UPDATE `pp_cache` SET `statscache` = NULL ,
`recentcache` = NULL ,
`popularcache` = NULL ,
`randomcache` = NULL ,
`calcache` = NULL ,
`catcache` = NULL ,
`catprops` = NULL WHERE `id` =1 LIMIT 1 ;
This sql flush the table, is the same that create a new row with id 1 and a timestamp and all others null if table is empty.

Now the system works fine, and re-fill the table with correct data.

yonglvnv, try it and tell us if works for you
vigape is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
category cache breaks display 6.01 Coastie Photopost Pro Bug Reports 1 January 21st, 2008 11:39 AM
v6.0 Line breaks doubled up aacircle Photopost Pro Bug Reports 4 October 9th, 2007 07:10 PM
5.62 to 6.0 Upgrade breaks category layout jgommel Photopost Pro Installation & Upgrades 5 September 21st, 2007 10:11 AM
Upgrade to PHP5 breaks spider friendly URLs user10 Photopost Pro Installation & Upgrades 3 November 11th, 2006 11:13 AM


All times are GMT -5. The time now is 02:33 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0