Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13
  1. #11
    Join Date
    Jul 2011
    Posts
    59
    Plugin Contributions
    0

    Default Re: 2.0 Clean install - but all links point to one product!

    Seven hours so far this morning.
    I have two sites on the go - the main site and the test site.

    - The main site /shop/ refuses to work, all links point to the one product.
    - The test site /shop2/ seems to work fine, all the links work, BUT if I change the test site intot he main site and update the 2 configure files accordingly, it immediately suffers the same problem - all links point to the one product. if I change it back to /shop2/ all links work as normal.

    However, when I try to log in, the site crashes and i get this error log thrown up:
    Code:
    [11-May-2024 11:31:58 UTC] Request URI: /shop2/index.php?main_page=login&action=process, IP address: 81.105.228.234, Language id 1
    #0 [internal function]: zen_debug_error_handler()
    #1 /includes/classes/db/mysql/query_factory.php(714): trigger_error()
    #2 /includes/classes/db/mysql/query_factory.php(659): queryFactory->show_error()
    #3 /includes/classes/db/mysql/query_factory.php(299): queryFactory->set_error()
    #4 /includes/classes/Customer.php(208): queryFactory->Execute()
    #5 /includes/modules/pages/login/header_php.php(104): Customer->login()
    #6 /index.php(35): require('/home/heresy/pu...')
    --> PHP Fatal error: MySQL error 1054: Unknown column 'last_login_ip' in 'field list' :: UPDATE customers
    SET last_login_ip = '81.105.228.234'
    WHERE customers_id = 1 ==> (as called by) /includes/classes/Customer.php on line 208 <== in /includes/classes/db/mysql/query_factory.php on line 714.
    How do I fix this, please?

  2. #12
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,585
    Plugin Contributions
    88

    Default Re: 2.0 Clean install - but all links point to one product!

    You have some kind of re-direct set up somewhere. You could try posting the root (not /shop or /shop2) .htaccess file to see if anybody sees an issue there.

  3. #13
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,765
    Plugin Contributions
    124

    Default Re: 2.0 Clean install - but all links point to one product!

    > --> PHP Fatal error: MySQL error 1054: Unknown column 'last_login_ip' in 'field list' :: UPDATE customers

    This was an update made in Zen Cart 1.5.8. Sounds like you didn't run zc_install when you did your upgrade... or perhaps you did and got an error that prevented it from completing.

    Try re-loading your backup database, running zc_install again and looking for logs, or check this to see if you have this issue:

    https://docs.zen-cart.com/user/upgra...andardization/
    That Software Guy. My Store: Zen Cart Support
    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.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v151 Product pages- some but not all-contain YouTube links
    By tcarden in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 30 Nov 2012, 07:14 PM
  2. SSL enabled but product links still point to http
    By Donny Bahama in forum Basic Configuration
    Replies: 1
    Last Post: 17 Dec 2011, 12:07 PM
  3. Replies: 10
    Last Post: 5 Aug 2011, 09:59 AM
  4. Replies: 8
    Last Post: 25 Jul 2010, 09:13 PM
  5. Free Shipping For All But One product?
    By Petzlifedirect.com in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 19 Apr 2007, 05:58 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR