Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Jul 2007
    Location
    Chicago & Arkansas I split time LOL
    Posts
    149
    Plugin Contributions
    0

    Default Re: DataBase problem after moving site!!!!!!

    Well Ok I FTP'd those configs down and the are prefexed "ZEN" where my origianls are prefixed " " nothing? So I guess I need to change their prefix to match mine "my old ones " No trying to be stupid just don't want to mess this up!

  2. #12
    Join Date
    Jul 2007
    Location
    Chicago & Arkansas I split time LOL
    Posts
    149
    Plugin Contributions
    0

    Default Re: DataBase problem after moving site!!!!!!

    What does this error mean?

    1146 Table 'petesdb.configuration' doesn't exist
    in:
    [select configuration_key as cfgkey, configuration_value as cfgvalue from configuration]

    I was playing with the zencart prefix changer on the old site doing some experimenting

  3. #13
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: DataBase problem after moving site!!!!!!

    It means ZC is looking at the database named "petesdb" for the table named "configuration", but can't find it ... presumably because it's no longer named "configuration".
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #14
    Join Date
    Jul 2007
    Location
    Chicago & Arkansas I split time LOL
    Posts
    149
    Plugin Contributions
    0

    Default Re: DataBase problem after moving site!!!!!!

    Well what I was doing was trying to experiment! I used the ad-on here from the forum db prefix changer! I loaded to root like the instructions said. I ran it in-order to ad the zen prefix to it. I then changed the admin/includes/config and the includes/ config to use the prefix "zen" it did not work and errored so then I ran it again and left the prefix blank and changed the config files back. ITS STILL ERRORING? What did I miss? PLEASE DOC PLEASE tell me I can fix this

  5. #15
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: DataBase problem after moving site!!!!!!

    If your DB_PREFIX is not set to blank, but all your tablenames have no prefix, you're going to get those errors.
    If your DB_PREFIX is set to something, but all your tablenames do not have that at the beginning of the table names, you're also going to get "not found" errors.

    I'm not familiar with the addon you're talking about. Remember, addons are use-at-own risk.

    To fix the problem, you'll need to make sure all your tablenames have whatever prefix is in your DB_PREFIX setting. That may mean you need to manually rename them. phpMyAdmin lets you do that, although it's one-at-a-time.

    Worst-case scenario, you could use the database-backup you made before you started making changes ...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #16
    Join Date
    Jul 2007
    Location
    Chicago & Arkansas I split time LOL
    Posts
    149
    Plugin Contributions
    0

    Default Re: DataBase problem after moving site!!!!!!

    Hey doc on Go Daddy does the version of PHP 4.1 or 5.0 have anything to do with it FINDING the database! SO say's GoDaddy support ? ALso I did prefix every field and it came up with garbled information under categories! ? It looked like descriptions from DB FIELDS instead of the category names!

  7. #17
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: DataBase problem after moving site!!!!!!

    DB prefix should only be attached to tables, not column fields.

    Either of those versions of PHP should be fine. Sounds like they're grasping at straws.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  8. #18
    Join Date
    Jul 2007
    Location
    Chicago & Arkansas I split time LOL
    Posts
    149
    Plugin Contributions
    0

    Default Re: DataBase problem after moving site!!!!!!

    I apologize that was my mistake with terminology! I prefixed each table with zen_tablenamehere. It still did not work LOL. THings that make ya say Hummmmm LOL!

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v151 Losing customer info when moving database from test site to live site
    By FunkyPapa in forum General Questions
    Replies: 3
    Last Post: 7 Oct 2013, 01:11 PM
  2. Can't restore database after moving from localhost
    By Annie_zaz in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 16 Sep 2013, 11:48 AM
  3. v139h Moving Site - Database Configuration?
    By kevinmc3 in forum General Questions
    Replies: 8
    Last Post: 27 May 2012, 11:46 PM
  4. Can't access database after moving to GoDaddy
    By daneh in forum General Questions
    Replies: 14
    Last Post: 29 Sep 2011, 04:57 AM
  5. Database error after moving hosts
    By Djpete in forum Installing on a Linux/Unix Server
    Replies: 21
    Last Post: 31 May 2008, 10:08 AM

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