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 How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old March 2nd, 2006, 10:16 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 120
Photopost error 145 table corrupt

Overnight my Photopost gallery died (white page). After investigating a bit it looks like my pp_cache is corrupted. mysql generates this:

SQL query: Edit

SHOW KEYS FROM `pp_cache` ;

MySQL said: Documentation
#1016 - Can't open file: 'pp_cache.MYI' (errno: 145)

Can anyone help with a query to repair the table? Thanks.
mitchjaz2 is offline   Reply With Quote
Old March 2nd, 2006, 10:41 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
REPAIR TABLE 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 March 2nd, 2006, 10:50 AM   #3 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 120
Thanks. Now my Photopost index is messed up. www.dphoto.us/forumphotos. A warning now shows up in mysql:

Indexes: Documentation
Keyname Type Cardinality Action Field
PRIMARY PRIMARY 0 Edit Drop id
id INDEX None Edit Drop id
Warning PRIMARY and INDEX keys should not both be set for column `id`
Create an index on columns


Thanks for your help.
mitchjaz2 is offline   Reply With Quote
Old March 2nd, 2006, 11:03 AM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
You need to repopulate the cache table. Turn off the cachetimeout in admin and then view your index. You can then go turn it back 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 March 2nd, 2006, 11:13 AM   #5 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 120
I turned off the cache timeout, with the same result. Also, I just noticed this error at the top of the page: Warning: Invalid argument supplied for foreach() in photos/pp-inc.php on line 2891
mitchjaz2 is offline   Reply With Quote
Old March 2nd, 2006, 11:53 AM   #6 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 120
Apologies if another thread should be started, but it's all related I believe. If I go to upload photos, no options show in the category dropdown box to upload photos. Options do appear in the album drop down box. The following mysql warning appears at the top of the upload page:

Warning: Invalid argument supplied for foreach() in photos/pp-inc.php on line 2891

Nothing has been changed on the server...this all has just happened overnight.
mitchjaz2 is offline   Reply With Quote
Old March 2nd, 2006, 12:00 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
Turn off your cache in Global Options and see what happens.
__________________
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 March 2nd, 2006, 12:07 PM   #8 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 120
I did that earlier. Same result.
mitchjaz2 is offline   Reply With Quote
Old March 2nd, 2006, 12:56 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Feb 2004
Posts: 120
BTW, in the error message it looks like it's looking for pp-inc in "photos" directory, and photopost in in forumphotos directory.
mitchjaz2 is offline   Reply With Quote
Old March 2nd, 2006, 02:06 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 68,070
What is your pp_path set to in config-inc.php?

Verify you have properly repaired the cache table.

By the way what version of Photopost you running cause line 2891 has nothing to do with a query in 5.3

Code:
Content visible to verified customers only.
__________________
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
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Table 'photopost.cache' doesn't exist firstrebel Photopost Pro Installation & Upgrades 19 September 28th, 2005 07:54 PM
Put PhotoPost inside an html table MickeyD Photopost Pro How Do I...? 2 July 1st, 2005 06:27 PM
Corrupt tumbnames, mismatch between server filename, and dB filename imported_tamarian Installs and Upgrade - vBulletin 3.0.X 3 March 7th, 2005 11:06 AM
mysql error: Can't open file: 'vb3_adv_gallery_images.MYI' (errno: 145) tcb Installs and Upgrade - vBulletin 3.0.X 1 February 2nd, 2005 07:13 AM
PhotoPost table list? shelbyforums Photopost Pro Installation & Upgrades 3 December 23rd, 2004 07:19 PM


All times are GMT -5. The time now is 11:41 AM.

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