Results 1 to 7 of 7
  1. #1
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Backend order page issue

    Backend of Zencart under customer/orders I am having a problem.
    All the orders don’t come up. Its all distorted in the orders page. It was working fine up until today. (no errors in log)

    As a test I put the original admin/orders.php in my website and got these errors


    Code:
    [18-Mar-2024 13:44:49 America/New_York] PHP Fatal error:  Uncaught Error: Call to undefined function zen_getOrdersStatuses() in /home/inverter/public_html/admin/orders.php:38
    Stack trace:
    #0 /home/xxx/public_html/admin/index.php(11): require()
    #1 {main}
      thrown in /home/inverter/public_html/admin/orders.php on line 38
    
    [18-Mar-2024 13:44:49 America/New_York] Request URI: /admin/index.php?cmd=orders, IP address: 73.125.60.145
    --> PHP Fatal error: Uncaught Error: Call to undefined function zen_getOrdersStatuses() in /home/xxx/public_html/admin/orders.php:38
    Stack trace:
    #0 /home/inverter/public_html/power/index.php(11): require()
    #1 {main}
      thrown in /home/xxx/public_html/admin/orders.php on line 38.

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

    Default Re: Backend order page issue

    This function doesn't exist in the base build of 1.5.8.. Perhaps you have added a plugin that doesn't quite work or isn't fully installed?
    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
    Nov 2005
    Location
    los angeles
    Posts
    2,694
    Plugin Contributions
    9

    Default Re: Backend order page issue

    Quote Originally Posted by swguy View Post
    This function doesn't exist in the base build of 1.5.8.. Perhaps you have added a plugin that doesn't quite work or isn't fully installed?
    a plugin? really? i'm going with bad guess there.

    i'm going with mixup of v158 and v200.

    see this function.

    that function was part of the alpha version of v200 and onwards....

    TIS.

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

  4. #4
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: Backend order page issue

    Carlwhat,

    When I added those changes I cant get to the backend.
    Last edited by chadlly2003; 20 Mar 2024 at 07:34 PM.

  5. #5
    Join Date
    Jan 2015
    Posts
    423
    Plugin Contributions
    0

    Default Re: Backend order page issue

    Carlwhat,

    Just FYI: There was a weird script that went into an order. Not sure how or why it got there. Only has happened once. Once i edited the table in the database and removed what was there all is good.

    Though I did try your suggestion:

    When I added those changes I cant get to the backend.

    errorin log

    HTML Code:
    [20-Mar-2024 14:35:11 America/New_York] PHP Fatal error:  Uncaught Error: Call to undefined method language::get_languages_by_code() in /home/xxx/public_html/admin/includes/functions/general.php:101
    Stack trace:
    #0 /home/xxx/public_html/admin/home.php(11): zen_get_languages()
    #1 /home/xxx/public_html/admin/index.php(11): require('/home/xxx/...')
    #2 {main}
      thrown in /home/xxx/public_html/admin/includes/functions/general.php on line 101
    
    [20-Mar-2024 14:35:11 America/New_York] Request URI: /admin/, IP address: 73.125.60.145
    --> PHP Fatal error: Uncaught Error: Call to undefined method language::get_languages_by_code() in /home/xxx/public_html/admin/includes/functions/general.php:101
    Stack trace:
    #0 /home/xxx/public_html/admin/home.php(11): zen_get_languages()
    #1 /home/xxx/public_html/admin/index.php(11): require('/home/xxx/...')
    #2 {main}
      thrown in /home/xxx/public_html/admin/includes/functions/general.php on line 101.
    Last edited by chadlly2003; 20 Mar 2024 at 07:40 PM.

  6. #6
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,694
    Plugin Contributions
    9

    Default Re: Backend order page issue

    to be clear, i have not made any suggestions.

    @swguy made a comment that the problem in your OP could be from a plugin not properly installed. i disagreed with that comment. i thought your problem was with a mixup of v158 and v200 code bases. and based on your comments, i have been proven correct.

    i never offered any solutions.

    you started this thread that the problem is here:

    v158 Backend order page issue

    but you seem to be using half of the code from v200. which is still in development mode with a few release candidates.

    your latest error suggests the same.

    get_languages_by_code is part of v200; it is not part of v158. you have code from v200 in your admin file structure, but not in your storefront, which is where that method resides.

    you have to make a decision which code base you want to use and stick to that.

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

  7. #7
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,542
    Plugin Contributions
    19

    Default Re: Backend order page issue

    Quote Originally Posted by chadlly2003 View Post
    Carlwhat,

    Just FYI: There was a weird script that went into an order. Not sure how or why it got there. Only has happened once. Once i edited the table in the database and removed what was there all is good.
    Script as in <script src...>? Is your site inv...pply.com by any chance? I sent you an email through your site's contact form about that... Just reported it as a security issue to the team, let's see what they say about it.

 

 

Similar Threads

  1. Need a backend order entry solution
    By hollettster in forum General Questions
    Replies: 5
    Last Post: 20 May 2011, 04:12 AM
  2. Phone order through backend
    By Waves77 in forum Managing Customers and Orders
    Replies: 3
    Last Post: 22 Feb 2008, 08:54 AM
  3. Switch order of Specials and Featured on Main Page (Issue)
    By psychicpet in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Jan 2008, 08:10 AM
  4. Backend Order Entry
    By terrarium in forum Managing Customers and Orders
    Replies: 7
    Last Post: 15 Dec 2006, 09:39 PM
  5. Move new account page to admin backend
    By Mistic in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 12 Jun 2006, 10:52 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