Results 1 to 7 of 7

Threaded View

  1. #1
    Join Date
    Jan 2011
    Location
    US
    Posts
    37
    Plugin Contributions
    0

    red flag Can't access admin/sign-in

    Tried uploading backup copy of shop after installing B1G1 free module, which didn't work. Store "front" is appearing but I can't get in the back end. Any help appreciated,.

    Error log says:
    [13-Sep-2011 07:48:20] PHP Fatal error: Cannot redeclare zen_update_products_price_sorter() (previously declared in /home/sprinks/public_html/shop/zc_admin/includes/functions/general.php:2680) in /home/sprinks/public_html/shop/zc_admin/includes/functions/functions_prices.php on line 1334

    And this is line 1325 to 1334 in functions_prices.php:

    PHP Code:
    // set the products_price_sorter
      
    function zen_update_products_price_sorter($product_id) {
        global 
    $db;

        
    $products_price_sorter zen_get_products_actual_price($product_id);

        
    $db->Execute("update " TABLE_PRODUCTS " set
                      products_price_sorter='" 
    zen_db_prepare_input($products_price_sorter) . "'
                      where products_id='" 
    . (int)$product_id "'");
      } 
    Last edited by Kim; 14 Sep 2011 at 04:04 PM.
    Happy to be Zenning (and learning more about Zen Cart) today

 

 

Similar Threads

  1. v153 Can't login to admin after SSl was disabled, How to restore admin access?
    By alpheus in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 20 Dec 2014, 09:34 PM
  2. v153 Can't sign in Admin from 1&1
    By Phil Davis in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 7 Oct 2014, 02:57 AM
  3. v151 Two Sign-ins Required to Access store Admin
    By KenBaker in forum Basic Configuration
    Replies: 14
    Last Post: 22 Mar 2014, 01:26 PM
  4. Replies: 3
    Last Post: 4 Jun 2009, 06:40 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