 | |  | |
January 4th, 2009, 11:17 PM
|
#1 (permalink)
| | Guest | 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,
| |
| |
January 5th, 2009, 10:52 AM
|
#2 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
January 5th, 2009, 01:50 PM
|
#3 (permalink)
| | Guest |
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
| |
| |
January 5th, 2009, 02:09 PM
|
#4 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
January 5th, 2009, 04:54 PM
|
#5 (permalink)
| | Guest |
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.
| |
| |
January 5th, 2009, 07:26 PM
|
#6 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,684
|
You can do that
DELETE FROM ppgal_categories WHERE catid=4
|
| |
January 5th, 2009, 08:12 PM
|
#7 (permalink)
| | Guest | Quote:
Originally Posted by Chuck S 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
| |
| |
January 5th, 2009, 08:21 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,684
|
deleting 1 should not delete 4
|
| |
January 5th, 2009, 08:39 PM
|
#9 (permalink)
| | Guest |
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.
| |
| |
January 5th, 2009, 08:41 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
January 5th, 2009, 08:43 PM
|
#11 (permalink)
| | Guest |
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?
| |
| |
January 5th, 2009, 09:01 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
January 5th, 2009, 09:38 PM
|
#13 (permalink)
| | Guest |
Can i zip and send you the DB files from the mysql data folder?
| |
| |
January 5th, 2009, 09:38 PM
|
#14 (permalink)
| | Guest |
Plugin manager says "PhotoPost vBGallery 2.4.3 PhotoPost vBGallery 2.4.3"
| |
| |
January 6th, 2009, 09:55 AM
|
#15 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
January 7th, 2009, 04:17 AM
|
#16 (permalink)
| | Guest |
easier to just remove it. Thanks anyway.
| |
| |
January 7th, 2009, 08:21 AM
|
#17 (permalink)
| | Photopost Developer Verified Customer
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.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 08:16 AM. | |