Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Fixing one error log. PHP Warning: constant(): Couldn't find constant BOX_HEADING

    Each time I access our admin, it throws up an error in the logs:
    PHP Warning: constant(): Couldn't find constant BOX_HEADING_MINE in /home/..../admin/includes/functions/admin_access.php on line 854

    I would like to trace the old unused module that comes from.
    May have been a mod like Admin Profiles or something but I don't recall.
    Only the box_heading_MINE gives away that I had tried to install and edit at some stage. (I would have called it 'mine')

    Any ideas how to use this error message to trace back and remove the files, to stop the logs?
    Thanks

  2. #2
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Fixing one error log. PHP Warning: constant(): Couldn't find constant BOX_HEADIN

    In admin, there is a tool called developer tool kit.

    In the lower left corner if you enter the define value (all caps as presented) and select the case sensitive block, then search at least the admin side, reference to where the define is used should be provided. From there you can search down further for the problem file(s).
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #3
    Join Date
    Jan 2007
    Location
    Mount Maunganui, New Zealand
    Posts
    419
    Plugin Contributions
    0

    Default Re: Fixing one error log. PHP Warning: constant(): Couldn't find constant BOX_HEADIN

    Hi, yes I'd tried finding a reference using dev tools, but came up empty.
    Then I just realised the files may be all gone, but database may have something still.
    Found it under Admin Menus table and deleted the customer entry. (Hope that was ok to do, but I backup up database)
    Hopefully that's the fix. Were 1000s of error logs because of it lately.
    Thanks.
    I'm actually trying to tidy up a bit ready for your assistance mc123 :-)

 

 

Similar Threads

  1. Replies: 1
    Last Post: 2 Feb 2014, 04:45 PM
  2. Replies: 18
    Last Post: 11 Mar 2013, 04:11 PM
  3. Replies: 3
    Last Post: 26 Nov 2010, 06:14 AM
  4. err: Warning: constant(): Couldn't find constant MODULE_SHIPPING_MZMT_GEOZONE_7_TEXT_
    By ginginca in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 6 Mar 2007, 07:19 PM

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