PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old January 4th, 2009, 11:17 PM   #1 (permalink)
hydn
Guest
 
Posts: n/a
MySql queries for Deleting categories.

I have some categories that I can't get to edit after upgrade. Except for the member category.

I've managed to mass move all images to that one working category. Now how can I manually remove those trouble tables using mysql queries?

Thanks,
  Reply With Quote
Old January 5th, 2009, 10:52 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,684
Well what do you mean you can not edit them we may need to look at that to see maybe did you miss an upgrade etc.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 5th, 2009, 01:50 PM   #3 (permalink)
hydn
Guest
 
Posts: n/a
Didn't miss an upgrade. Simply went from 4.2 (first install) to 4.3. Moved servers and possibly the backup isn't working 100%. Every last thing works except for categories.

Is there a query? Or its your way or no way?

We cannot give ftp or admin access. Many companies such as vbseo etc provide great support without requesting admin access as a quick fix. We got a query from them last week which resolved an issue.

Support involves time yes. If not willing to meet my needs let me know.

kind regards,

hydn
  Reply With Quote
Old January 5th, 2009, 02:09 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,684
The way in the program is to hit the delete option to delete a category.

DELETE FROM ppgal_categories WHERE catid=8

replace with the proper catid your deleting and if your forum tables have a prefix add it to the query but that will work.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 5th, 2009, 04:54 PM   #5 (permalink)
hydn
Guest
 
Posts: n/a
Thanks that works.

One of the categories has sub-category.

If the category id is 1 and it's sub category ID is 4

Will DELETE FROM ppgal_categories WHERE catid=1 only delete category 1 or will it remove sub category 4 also?

Thanks

Last edited by hydn; January 5th, 2009 at 08:12 PM.
  Reply With Quote
Old January 5th, 2009, 07:26 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,684
You can do that

DELETE FROM ppgal_categories WHERE catid=4
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 5th, 2009, 08:12 PM   #7 (permalink)
hydn
Guest
 
Posts: n/a
Quote:
Originally Posted by Chuck S View Post
You can do that

DELETE FROM ppgal_categories WHERE catid=4
Sorry about type. The red 4. should have been 1

Don't want to delete 4. Its the only cat that works.

Would like to delete id 1 without loosing category 4
  Reply With Quote
Old January 5th, 2009, 08:21 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,684
deleting 1 should not delete 4
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 5th, 2009, 08:39 PM   #9 (permalink)
hydn
Guest
 
Posts: n/a
The categories are gone from the admin panel but still visible from main gallery. Is there another query to run to remove from main gallery?

When clicked i get:

"No Category specified. If you followed a valid link, please notify the administrator"

So they are def gone. But just still listed.
  Reply With Quote
Old January 5th, 2009, 08:41 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,684
Have you tried running your maintenance script to update things? Your cache is not updated I would suspect.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 5th, 2009, 08:43 PM   #11 (permalink)
hydn
Guest
 
Posts: n/a
I tried to run: Update Category Cache

But still get:
Quote:
MySQL Error : Unknown column 'title_clean' in 'field list'
Manual way to clear cache? Maybe via query?
  Reply With Quote
Old January 5th, 2009, 09:01 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,684
Thats the heart of your issue your missing an upgrade.

I would need more info on this site to assist hands on.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 5th, 2009, 09:38 PM   #13 (permalink)
hydn
Guest
 
Posts: n/a
Can i zip and send you the DB files from the mysql data folder?
  Reply With Quote
Old January 5th, 2009, 09:38 PM   #14 (permalink)
hydn
Guest
 
Posts: n/a
Plugin manager says "PhotoPost vBGallery 2.4.3 PhotoPost vBGallery 2.4.3"
  Reply With Quote
Old January 6th, 2009, 09:55 AM   #15 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,684
I hear what your saying about your version. No thats not going to help I would need to actually have access to the files and database on your server and try and get the actual upgrade to process as this is the only way your going to get over your issue.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old January 7th, 2009, 04:17 AM   #16 (permalink)
hydn
Guest
 
Posts: n/a
easier to just remove it. Thanks anyway.
  Reply With Quote
Old January 7th, 2009, 08:21 AM   #17 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,684
Okay but your still going to have issues if you dont actually fix your gallery I was offering to help not quite sure why you are persistant about not actually obtaining support.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   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
Deleting a categories: Cache not update [added 2.4] tintin74 Bugs - vBulletin 3.6x 4 November 10th, 2007 05:06 AM
Bulk Move using MySql Statements/Queries Directly mihirp Photopost Pro How Do I...? 2 March 4th, 2007 01:12 PM
Path issue with RP after deleting categories(FIXED) Jeremy ReviewPost Bug Reports 11 November 23rd, 2005 12:49 PM
Deleting Categories - File Not Found(FIXED) InterFX ReviewPost Bug Reports 1 November 5th, 2005 04:38 AM
Getting a error when deleting categories redtailboa Classifieds Bug Reports 2 October 4th, 2004 11:03 AM


All times are GMT -5. The time now is 08:16 AM.

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