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
    58,252
    Blog Entries
    3
    Plugin Contributions
    106

    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!
    Donations always welcome: www.zen-cart.com/donate

    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
    58,252
    Blog Entries
    3
    Plugin Contributions
    106

    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!
    Donations always welcome: www.zen-cart.com/donate

    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,655
    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.
    See and test drive Zen Cart's free templates at zencarttemplates.info

    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. moving site problem (site template doesnot show up now)
    By mrcoolboy15 in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 18 Jul 2008, 09:48 PM
  2. Problem Moving Test Site - Switches to test site folder
    By bullseye in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 1 Jan 2008, 10:47 PM
  3. Problem moving the site!
    By yellow1912 in forum General Questions
    Replies: 3
    Last Post: 21 Mar 2007, 05:39 AM
  4. Moving zen cart - Importing database problem
    By nipinuk in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 20 Dec 2006, 09:14 AM
  5. Moving database problem
    By clr in forum General Questions
    Replies: 1
    Last Post: 1 Jul 2006, 07:38 AM

Bookmarks

Posting Permissions

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