Results 1 to 10 of 14

Hybrid View

  1. #1
    Join Date
    Jun 2005
    Location
    London, UK
    Posts
    144
    Plugin Contributions
    0

    Default strange issue with admin area

    This is odd. Somehow I have inadvertently altered something and now when I go into the 'payment' page under 'modules' in the admin area it is displaying the various payment modules all the way across the page so that there is no column on the right where you can edit/remove/install them and I cannot open any of the modules to change parameters.

    The shipping and order total pages seem fine it is just the 'payment' one that has gone wonky.

    Can someone point me in the right direction as to what files control the layout of this page ?

    Thanks,
    Sheryl

  2. #2
    Join Date
    Jun 2005
    Location
    London, UK
    Posts
    144
    Plugin Contributions
    0

    Default Re: strange issue with admin area

    I forgot to mention, the cart version is 1.2.6d

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: strange issue with admin area

    Do you know how old and out of date your code is?

    Look in the directory:
    /includes/modules/payment

    What files are in there?

    Are all of the files "code" files? Or are they "language" files with defines in them?

    Look in the directory:
    /includes/languages/english/modules/payment

    What files are in there?

    Are all of the files "languages" files? Or are they "code" files?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Jun 2005
    Location
    London, UK
    Posts
    144
    Plugin Contributions
    0

    Default Re: strange issue with admin area

    Quote Originally Posted by Ajeh View Post
    Do you know how old and out of date your code is?

    Look in the directory:
    /includes/modules/payment

    What files are in there?

    Are all of the files "code" files? Or are they "language" files with defines in them?

    Look in the directory:
    /includes/languages/english/modules/payment

    What files are in there?

    Are all of the files "languages" files? Or are they "code" files?
    Yes, I know it is old. I am just trying to setup something for one of our affiliates.

    I don't know what the difference is between 'code' and 'language' files. they all have .php extensions.

    Surely there is a file somewhere that defines the layout of that admin page ?

  5. #5
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,267
    Plugin Contributions
    3

    Default Re: strange issue with admin area

    Not advisable to use such an old version of Zen Cart for anything... even if it's "just something" for one of your affiliates.

    Why don't you just load up a copy of 1.3.7 and do it with a version that's more secure, robust and contemporary?
    20 years a Zencart User

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: strange issue with admin area

    Language files contain defines ...

    For example, the language file for moneyorder.php located in:
    /includes/languages/english/modules/payment/moneyorder.php

    has the defines:
    PHP Code:
      define('MODULE_PAYMENT_MONEYORDER_TEXT_TITLE''Check/Money Order');
      
    define('MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION''Please make your check or money order payable to:<br />' MODULE_PAYMENT_MONEYORDER_PAYTO '<br /><br />Mail your payment to:<br />' nl2br(STORE_NAME_ADDRESS) . '<br /><br />' 'Your order will not ship until we receive payment.');
      
    define('MODULE_PAYMENT_MONEYORDER_TEXT_EMAIL_FOOTER'"Please make your check or money order payable to:" "\n\n" MODULE_PAYMENT_MONEYORDER_PAYTO "\n\nMail your payment to:\n" STORE_NAME_ADDRESS "\n\n" 'Your order will not ship until we receive payment.'); 
    The code file for Money Order contains code such as:
    /includes/modules/payment/moneyorder.php
    PHP Code:
      class moneyorder {
        var 
    $code$title$description$enabled;

    // class constructor
        
    function moneyorder() {
          global 
    $order;

          
    $this->code 'moneyorder';
          
    $this->title MODULE_PAYMENT_MONEYORDER_TEXT_TITLE;
          if (
    IS_ADMIN_FLAG === true && (MODULE_PAYMENT_MONEYORDER_PAYTO == 'the Store Owner/Website Name' || MODULE_PAYMENT_MONEYORDER_PAYTO == '')) $this->title .= '<span class="alert"> (not configured - needs pay-to)</span>';
          
    $this->description MODULE_PAYMENT_MONEYORDER_TEXT_DESCRIPTION;
          
    $this->sort_order MODULE_PAYMENT_MONEYORDER_SORT_ORDER;
          
    $this->enabled = ((MODULE_PAYMENT_MONEYORDER_STATUS == 'True') ? true false);

          if ((int)
    MODULE_PAYMENT_MONEYORDER_ORDER_STATUS_ID 0) {
            
    $this->order_status MODULE_PAYMENT_MONEYORDER_ORDER_STATUS_ID;
          } 
    The difference is pretty clear when you view them ...

    What I am trying to do is determin what files do you have in the two directories:
    /includes/modules/payment
    /includes/languages/english/modules/payment

    and make sure that nothing is mixed up nor are there copies or extra files in these directories because they are self loading directories ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  7. #7
    Join Date
    Jun 2005
    Location
    London, UK
    Posts
    144
    Plugin Contributions
    0

    Default Re: strange issue with admin area

    Quote Originally Posted by schoolboy View Post
    Not advisable to use such an old version of Zen Cart for anything... even if it's "just something" for one of your affiliates.

    Why don't you just load up a copy of 1.3.7 and do it with a version that's more secure, robust and contemporary?

    I have been using zencart for a couple years now. It took ages getting it all customized and working properly. The last thing I want to do is start from scratch. BTW - when I installed it originally it was the latest version :)

 

 

Similar Threads

  1. v1371 admin area giving strange results
    By pazdar in forum Upgrading to 1.5.x
    Replies: 6
    Last Post: 9 May 2014, 07:07 AM
  2. Installation issue with admin area
    By cpallant in forum Installing on a Windows Server
    Replies: 1
    Last Post: 26 Jan 2011, 07:02 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