Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Can I Safely Delete "Cat=1" from MySQL?  (Read 3596 times)

0 Members and 1 Guest are viewing this topic.

keeva

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Can I Safely Delete "Cat=1" from MySQL?
« on: August 24, 2004, 05:45:54 pm »

My photo gallery is here: http://www.presidentsrock.com/media/photos/

Problem is that I have a categroy who id is 1 that I'd like to delete. Although I can't delete it from the CPG admin menus I see that I could easily delete the row in "cpg130_categories" within the SQL table in MyPHPAdmin. Can I safely delete it without screwing up the other categories and albums? Please advise as my client would freak if I screwed something up. I just want to get rid of this id 1 categpry.

thanks,

- Kevin
« Last Edit: August 25, 2004, 09:10:41 am by GauGau »
Logged

Nibbler

  • Guest
Re: Can I Safely Delete "Cat=1" from MySQL?
« Reply #1 on: August 24, 2004, 05:51:31 pm »

Thats the user galleries cat. If you remove the albums that are in there then it will go away.
Logged

keeva

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Can I Safely Delete "Cat=1" from MySQL?
« Reply #2 on: August 24, 2004, 06:37:01 pm »

Cat=1 does not show up in the Album Manager drop down, and thus there is no way to delete the album inside cat=1.

I don't care about saving the few photos in Cat=1. I just need to delete the entire category. Just to be clea, there is no option to delete Cat=1 in the category manager.

thanks,

- Kevin
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Can I Safely Delete "Cat=1" from MySQL?
« Reply #3 on: August 24, 2004, 07:18:06 pm »

DO NOT delete cat 1 from your database. 
To delete the albums from cat 1, browse into the cat, and then the sub cat page, where you will see the edit/delete buttons.

Once all are deleted, this cat will then be invisible, and to prevent further albums being created there, turn off 'can have personal albums', for all groups including admin, in the groups manager.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

keeva

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Can I Safely Delete "Cat=1" from MySQL?
« Reply #4 on: August 24, 2004, 07:23:57 pm »

Thank you. That did the trick!
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 16 queries.