Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34
  1. #1
    Join Date
    Sep 2014
    Location
    ohio
    Posts
    216
    Plugin Contributions
    0

    Default Now I'm really hosed

    All kinds of errors what to do? my store is dead in the water at this time


    [21-May-2016 13:38:48 America/Phoenix] Request URI: /store/, IP address: 107.216.52.176
    #1 trigger_error() called at [//includes/classes/db/mysql/query_factory.php:167]
    #2 queryFactory->show_error() called at [//includes/classes/db/mysql/query_factory.php:139]
    #3 queryFactory->set_error() called at [//includes/classes/db/mysql/query_factory.php:266]
    #4 queryFactory->Execute() called at [//includes/functions/functions_lookups.php:29]
    #5 zen_get_countries() called at [//includes/functions/functions_lookups.php:62]
    #6 zen_get_country_name() called at [//includes/init_includes/init_header.php:71]
    #7 require(//includes/init_includes/init_header.php) called at [//includes/autoload_func.php:48]
    #8 require(//includes/autoload_func.php) called at [//includes/application_top.php:170]
    #9 require(//includes/application_top.php) called at [/home/content/m/e/s/mespe61/html/store/index.php:26]

    [21-May-2016 13:38:48 America/Phoenix] PHP Fatal error: 1054:Unknown column 'status' in 'where clause' :: select countries_name, countries_iso_code_2, countries_iso_code_3
    from zen_countries
    where countries_id = '223' and status != 0 order by countries_name ==> (as called by) //includes/functions/functions_lookups.php on line 29 <== in //includes/classes/db/mysql/query_factory.php on line 167

  2. #2
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,674
    Plugin Contributions
    123

    Default Re: Now I'm really hosed

    Have you corrupted the countries table? It should have a status column. You could just add it back in and set it to 1.
    Here's what it should look like:

    Code:
    DROP TABLE IF EXISTS countries;
    CREATE TABLE countries (
      countries_id int(11) NOT NULL auto_increment,
      countries_name varchar(64) NOT NULL default '',
      countries_iso_code_2 char(2) NOT NULL default '',
      countries_iso_code_3 char(3) NOT NULL default '',
      address_format_id int(11) NOT NULL default '0',
      status tinyint(1) default 1,
      PRIMARY KEY  (countries_id),
      KEY idx_countries_name_zen (countries_name),
      KEY idx_address_format_id_zen (address_format_id),
      KEY idx_iso_2_zen (countries_iso_code_2),
      KEY idx_iso_3_zen (countries_iso_code_3)
    ) ENGINE=MyISAM;
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,674
    Plugin Contributions
    123

    Default Re: Now I'm really hosed

    The data for populating this table is in a fresh download of Zen Cart in zc_install/sql/install/mysql_utf8.sql.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Sep 2014
    Location
    ohio
    Posts
    216
    Plugin Contributions
    0

    Default Re: Now I'm really hosed

    Too late, I'm really hosed now, can't log into admin.
    I decided to restore from backup, but it looks like I missed some files

    Getting:

    [21-May-2016 16:16:22 America/Phoenix] PHP Fatal error: Call to a member function Execute() on a non-object in /admin/includes/init_includes/init_db_config_read.php on line 13

    And line 13 is a comment!!!

  5. #5
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,684
    Plugin Contributions
    9

    Default Re: Now I'm really hosed

    i highly doubt line 13 is a comment. it certainly was not a comment at the time of the logging of the error. the file may have changed since then, and if tables are now missing fields, its possible you were hacked... but i'm just guessing.

    good luck!
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  6. #6
    Join Date
    Sep 2014
    Location
    ohio
    Posts
    216
    Plugin Contributions
    0

    Default Re: Now I'm really hosed

    my bad, it's not a comment, it's my bad.
    I've tried to upgrade to 1.55a and updated the database patch to 1.55 Then I tried to restore
    so I restored my database from before the update, and I restored all my files, and now I found the correct php file and it indicates that my patch isn't correct. Can I unpatch from 1.55 back to 1.51?

  7. #7
    Join Date
    Sep 2014
    Location
    ohio
    Posts
    216
    Plugin Contributions
    0

    Default Re: Now I'm really hosed

    And between a test site and live site, I mixed up passwords and now I'm hosed. So I was hoping to restore, log in with my old password and start fixing things (or breaking them more, however you want to look at it,,,)

  8. #8
    Join Date
    Sep 2014
    Location
    ohio
    Posts
    216
    Plugin Contributions
    0

    Default Re: Now I'm really hosed

    Phew, I managed to work through the issues I had by copying my test admin folder to my live store. So I can log in, but I need to update the database server to the 1.55 patch

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

    Default Re: Now I'm really hosed

    Can I unpatch from 1.55 back to 1.51?
    You should have a backup of your DB as 1.5.1 - just import it using phpmyadmin
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Now I'm really hosed

    Phew, I managed to work through the issues I had by copying my test admin folder to my live store. So I can log in, but I need to update the database server to the 1.55 patch
    Thought you had already done this???

    Re run zc_install and select upgrade
    Zen-Venom Get Bitten

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. really bugging me now!
    By shadytints in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 11 Mar 2011, 04:06 AM
  2. Now I have really done it!
    By jon_tadeu in forum General Questions
    Replies: 2
    Last Post: 30 Nov 2007, 01:53 AM
  3. Really Big Problem need help now!
    By personalisedpresent in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 26 Sep 2006, 08:43 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR