Advertisement:

Author Topic: SOLVED - Update Issues  (Read 5896 times)

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: Update Issues
« Reply #15 on: November 30, 2011, 12:44:42 am »
just change the table name to oc5_t_item_description

Jay

sundance

  • Sr. Member
  • ****
  • Posts: 384
Re: Update Issues
« Reply #16 on: November 30, 2011, 12:44:59 am »
Tried again, got this:

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: Update Issues
« Reply #17 on: November 30, 2011, 12:47:21 am »
so the database looks like it is up correct is it just the one item or a bunch showing that error?

Jay

sundance

  • Sr. Member
  • ****
  • Posts: 384
Re: Update Issues
« Reply #18 on: November 30, 2011, 12:48:54 am »
About half of them. So I am guessing that it is not letting me copy because some of them are still ok?

sundance

  • Sr. Member
  • ****
  • Posts: 384
Re: Update Issues
« Reply #19 on: November 30, 2011, 12:53:00 am »
I delete each duplicate entry (from the old database) and try again, but each time a new duplicate shows up - each one that is a already good item. I guess it won't copy over the ones that are already good. Any way to do a overwrite kind of copy?

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: Update Issues
« Reply #20 on: November 30, 2011, 12:56:29 am »
I am thinking that they are not copying because some are ok and it wants to input them again.

I have an idea copy the old table to a new table just give it a new name that way you still have a backup.

Then go though the item_description table and write down which ids you have there then either in you item_description table or the other backup delete these rows then try copying the table into the item_description table.

Jay

sundance

  • Sr. Member
  • ****
  • Posts: 384
Re: Update Issues
« Reply #21 on: November 30, 2011, 12:58:13 am »
It wants me to create a new table first. How do I do this?

sundance

  • Sr. Member
  • ****
  • Posts: 384
Re: Update Issues
« Reply #22 on: November 30, 2011, 01:04:52 am »
What is I just deleted all of them in the current and copied all the old over?

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: Update Issues
« Reply #23 on: November 30, 2011, 01:12:06 am »
click on the item_description table and click operations and there is an option like this "Move table to (database.table): " add a 1 at the end of the table name.

click on the item_description_old and under "Table options" where it says rename table just remove the _old from the end and click go.

that way you still have you item_descriptions table.

Jay

sundance

  • Sr. Member
  • ****
  • Posts: 384
Re: Update Issues
« Reply #24 on: November 30, 2011, 01:23:39 am »
Ok, man that sucked. I renamed it like you suggested and made the old the current one. I had to do some copying because of a couple of them I had deleted (needed to carry them over from the first current table). That phpmyadmin is crazy stuff. Thank you for your help. I wish I had some $$ I could pay you. Thank you again.

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: SOLVED - Update Issues
« Reply #25 on: November 30, 2011, 01:25:39 am »
What a way to learn phpmyadmin? I am glad I was able to help you get it working again.

Jay