Results 1 to 10 of 58

Hybrid View

  1. #1
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,684
    Plugin Contributions
    11

    Default Re: Modern admin dashboard

    Partial blank page and the following:

    Code:
    File Contents( /home/enignet/_test/logs/myDEBUG-adm-20260114-181651-212929-error.log)[14-Jan-2026 18:16:51 UTC] Request URI: /******/, IP address: ###.###.###.###, Language id 1
    #0 [internal function]: zen_debug_error_handler()
    #1 /includes/classes/db/mysql/query_factory.php(757): trigger_error()
    #2 /includes/classes/db/mysql/query_factory.php(701): queryFactory->show_error()
    #3 /includes/classes/db/mysql/query_factory.php(280): queryFactory->set_error()
    #4 /******/includes/modules/dashboard_widgets/RecentOrdersDashboardWidget.php(37): queryFactory->Execute()
    #5 /******/index_dashboard.php(88): include('/home/enignet/_...')
    #6 /******/index_dashboard.php(315): render_zone()
    #7 /******/home.php(27): require('/home/enignet/_...')
    #8 /******/index.php(16): require('/home/enignet/_...')
    --> PHP Fatal error: FATAL MySQL error 1054: Unknown column 's.orders_status_color_code' in 'field list' :: SELECT o.orders_id, o.customers_name, o.customers_id, o.date_purchased,
    o.currency, o.currency_value, o.orders_status,
    ot.text as order_total, ot.value as order_value,
    s.orders_status_name, s.orders_status_color_code
    FROM orders o
    LEFT JOIN orders_total ot ON (o.orders_id = ot.orders_id AND ot.class = 'ot_total')
    LEFT JOIN orders_status s ON (o.orders_status = s.orders_status_id AND s.language_id = 1)
    ORDER BY o.orders_id DESC LIMIT 10 ==> (as called by) /******/includes/modules/dashboard_widgets/RecentOrdersDashboardWidget.php on line 37 <== in /includes/classes/db/mysql/query_factory.php on line 757.
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

  2. #2
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,740
    Plugin Contributions
    22

    Default Re: Modern admin dashboard

    Quote Originally Posted by dbltoe View Post
    Partial blank page and the following:
    Oh! In that case, the following is wrong:

    Quote Originally Posted by balihr View Post
    I would suggest installing all 3 modifications (dashboard + header + status color) for the best experience, but all 3 are packed separately in hopes of getting better feedback.
    Status color modification is REQUIRED, header is optional. Make sure you visit Localization->Orders Status so it runs the required alter table command.
    Whoops

  3. #3
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,740
    Plugin Contributions
    22

    Default Re: Modern admin dashboard

    Actually, no, not required anymore, just updated index_dashboard.php and RecentOrdersDashboardWidget.php so you don't NEED to add it, but it's recommended.

  4. #4
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    405
    Plugin Contributions
    6

    Default Re: Modern admin dashboard

    Now getting Undefined variable $product in \admin\includes\modules\dashboard_widgets\RecentOrdersDashboardWidget.php on line 193.
    OldNGrey
    ZC222 PHP 8.4.16
    MySQL 11.8.5-MariaDB

  5. #5
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,740
    Plugin Contributions
    22

    Default Re: Modern admin dashboard

    Lack of coffee and copy/paste... Sorry about that.
    Updated the zip file - RecentOrdersDashboardWidget.php now updated (and back to foreach instead of while)

  6. #6
    Join Date
    Apr 2008
    Location
    Qld, Australia
    Posts
    405
    Plugin Contributions
    6

    Default Re: Modern admin dashboard

    I really like thi snew interface.
    The only change I have needed to make is to declare $recentOrdersMaxRows as global in "admin/includes/modules/dashboard_widgets/RecentOrdersDashboardWidget.php" to alter the number of new orders displayed,
    and the value set in "/admin/includes/extra_datafiles/site_specific_admin_overrides.php"
    OldNGrey
    ZC222 PHP 8.4.16
    MySQL 11.8.5-MariaDB

  7. #7
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,740
    Plugin Contributions
    22

    Default Re: Modern admin dashboard

    Plugin packed and submitted to the official Plugins section, pending approval.
    https://www.zen-cart.com/downloads.php?do=file&id=2426

    I've opted for the entire revamp, including header and order status color codes to be part of the plugin. Separate sets of files are included in the zip file, but the main one provides the best experience because it includes all three.

    Feedback and suggestions for improvement still most welcome!

    Github: https://github.com/zenexpert/modern-admin-dashboard/

    Many thanks to OldNGrey, dbltoe, pilou2 and carlwhat for your help and advice.

 

 

Similar Threads

  1. Admin Activity Dashboard
    By g2ktcf in forum General Questions
    Replies: 3
    Last Post: 23 May 2022, 03:14 PM
  2. v153 Couldnt access admin dashboard - too many redirects error
    By Arvinrags in forum Installing on a Linux/Unix Server
    Replies: 17
    Last Post: 18 May 2022, 10:46 AM
  3. Admin Dashboard customization
    By Mikeondraco in forum General Questions
    Replies: 2
    Last Post: 1 Jan 2019, 11:26 PM
  4. v154 Icons or images are not showing in admin dashboard
    By Annie_zaz in forum General Questions
    Replies: 2
    Last Post: 21 Jan 2016, 03:57 PM
  5. Survey for Zen Cart v2.0 Admin Dashboard
    By Kim in forum General Questions
    Replies: 35
    Last Post: 4 Jul 2011, 03:07 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