Results 1 to 10 of 15

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Posts
    108
    Plugin Contributions
    0

    Default Re: editing multiple pages

    THANKS EVERYBODY !! I am going to learn this or die trying.

    Thanks for pointing me in the right direction

  2. #2
    Join Date
    Mar 2009
    Posts
    108
    Plugin Contributions
    0

    Default Re: editing multiple pages

    and I used to think trying to learn the banjo was hard...geezzz
    But I guess I can look at this the same way , practice and sooner or later I will know how to do it

  3. #3
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

  4. #4
    Join Date
    Mar 2009
    Posts
    108
    Plugin Contributions
    0

    Default Re: editing multiple pages

    I have had a question in my head for a few weeks now about backups , guess this is a good time to get clarification. When I do backups using phpMyAdmin I follow the directions found in the documentation here. The next time I go to do a backup of the DB most everything is checked the same as when I did my last backup with the exception of "add drop table" instead the box "add if not exists" is checked.
    In the past I check the box " add drop table " anyway because thats what the directions say.
    So my question is do I need to check the "add drop table" everytime or will it be ok leaving it checked at "add if not exists" ??

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: editing multiple pages

    So my question is do I need to check the "add drop table" everytime or will it be ok leaving it checked at "add if not exists" ??
    Basically, NO....

    There are instances where one might select a different set but they must really understand what they are doing

    The DB while robust is fragile to being structured correctly....

    If all you want to alter is the product description....

    First make a backup, place your site down for maintenance,

    Tehn make a backup/export of ONLY the product description table.

    Preserve a unaltered copy of this table, open another copy in a code editor like notepad++

    Do a replace and enter the current text exactly in the for box

    Enter the exact text you want displayed in the with box and select replace all

    Save and import this table to your DB

    Take off maint and check that you have not broken things

    If you have....import the unaltered back of that table and you should be back to where you were

    All else fails, import the full DB backup you made before starting
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Mar 2009
    Posts
    108
    Plugin Contributions
    0

    Default Re: editing multiple pages

    I got an error message that said #1062 - Duplicate entry '23-1' for key 'PRIMARY'
    I scratched my head for a while and thought it was because some of the words was in both what I had to start with and the new description I changed to. ?? So I figured I would try and change the text I didnt want anymore with the word pizza , then I could do it again and change pizza to my new description but get the same error message ?? #1062 - Duplicate entry '23-1' for key 'PRIMARY'

    Looking at the database after I changed it , it looks like I want it but something is not in the right place for the import ? any ideas ? Thanks

    Scratching my head some more....
    Should I drop the products_description table first, then import the new one ? is that where the " duplicate is coming from ?
    Last edited by Trees2wood; 19 Apr 2011 at 06:51 AM.

  7. #7
    Join Date
    Mar 2009
    Posts
    108
    Plugin Contributions
    0

    Default Re: editing multiple pages

    Quote Originally Posted by Trees2wood View Post
    Should I drop the products_description table first, then import the new one ? is that where the " duplicate is coming from ?
    That did it. Thanks for the help everybody. I just changed 768 pages ( I forgot I had over 500 other pages 90% filled out thanks to the copy function )

 

 

Similar Threads

  1. v150 Define Pages Editor not editing overriden pages
    By llaen in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 21 May 2023, 01:41 AM
  2. Editing shipping details if customer has multiple addresses
    By smoother in forum Managing Customers and Orders
    Replies: 1
    Last Post: 6 Apr 2010, 05:11 AM
  3. Multiple Product Editing/Deleting
    By windsor1975 in forum General Questions
    Replies: 5
    Last Post: 14 Jan 2010, 09:56 PM
  4. Editing you multiple choice
    By attroll in forum General Questions
    Replies: 0
    Last Post: 19 Sep 2009, 04:54 PM
  5. Editing Product descriptions on multiple items
    By 5869 in forum General Questions
    Replies: 0
    Last Post: 1 Nov 2007, 07:00 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg