Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2011
    Location
    Lumberton, TX
    Posts
    506
    Plugin Contributions
    0

    Default EZ Pages - Admin PHP Errors

    I am getting a php warning detailed below. I have tracked this down to where the EZ Page edit fields for Header Sort Order and such are being created in general.php. This is basically trying to getting a max size for the input field and its coming back as non-numeric. There are five of these fields and I always get this error no matter which EZ page I get. This is only a warning so its not super urgent. But I was wondering if anyone might know what is up with this. This is on my live site and I do not have a current copy in my dev environment just yet. Any thoughts before I start to dig deeper?

    Code:
    [09-Jan-2022 13:19:38 America/Chicago] Request URI: /admin/index.php?cmd=ezpages&ezID=16&action=new, IP address: 168.235.171.213
    #1 zen_set_field_length() called at [/admin/ezpages.php:418]
    #2 require(/admin/ezpages.php) called at [/admin/index.php:11]
    --> PHP Warning: A non-numeric value encountered in /admin/includes/functions/general.php on line 2230.
    
    [09-Jan-2022 13:19:38 America/Chicago] Request URI: /admin/index.php?cmd=ezpages&ezID=16&action=new, IP address: 168.235.171.213
    #1 zen_set_field_length() called at [/admin/ezpages.php:427]
    #2 require(/admin/ezpages.php) called at [/admin/index.php:11]
    --> PHP Warning: A non-numeric value encountered in /admin/includes/functions/general.php on line 2230.
    
    [09-Jan-2022 13:19:38 America/Chicago] Request URI: /admin/index.php?cmd=ezpages&ezID=16&action=new, IP address: 168.235.171.213
    #1 zen_set_field_length() called at [/admin/ezpages.php:436]
    #2 require(/admin/ezpages.php) called at [/admin/index.php:11]
    --> PHP Warning: A non-numeric value encountered in /admin/includes/functions/general.php on line 2230.
    
    [09-Jan-2022 13:19:38 America/Chicago] Request URI: /admin/index.php?cmd=ezpages&ezID=16&action=new, IP address: 168.235.171.213
    #1 zen_set_field_length() called at [/admin/ezpages.php:441]
    #2 require(/admin/ezpages.php) called at [/admin/index.php:11]
    --> PHP Warning: A non-numeric value encountered in /admin/includes/functions/general.php on line 2230.
    
    [09-Jan-2022 13:19:38 America/Chicago] Request URI: /admin/index.php?cmd=ezpages&ezID=16&action=new, IP address: 168.235.171.213
    #1 zen_set_field_length() called at [/admin/ezpages.php:448]
    #2 require(/admin/ezpages.php) called at [/admin/index.php:11]
    --> PHP Warning: A non-numeric value encountered in /admin/includes/functions/general.php on line 2230.

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

    Default Re: EZ Pages - Admin PHP Errors

    in the upgrade to v157, ezpages was split into 2 tables. i have a feeling that part of the upgrade failed for you.

    purely a guess.

    but there is now an ezpages table and an ezpages_content tables. i would ensure you have both of them in your databased.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

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

    Default Re: EZ Pages - Admin PHP Errors

    Look at your database in phpMyAdmin and focus on the table ezpages.

    You should see this field:

    header_sort_order int(3) NOT NULL default '0',

    the whole (expected) structure of table is shown here:

    https://docs.zen-cart.com/dev/schema...a_157/#ezpages
    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.

 

 

Similar Threads

  1. Errors abound! (White pages, no admin, etc)
    By Fett in forum Upgrading to 1.5.x
    Replies: 6
    Last Post: 24 Jun 2012, 10:01 PM
  2. PHP Errors showing up product pages
    By jimster0485 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 25 May 2012, 02:47 AM
  3. Re-naming Admin creates php errors
    By teragram in forum Basic Configuration
    Replies: 6
    Last Post: 1 Feb 2010, 04:35 PM
  4. Admin errors on fresh installation - module errors and language definition errors
    By etrader in forum Installing on a Linux/Unix Server
    Replies: 5
    Last Post: 5 Oct 2007, 09:05 AM
  5. PHP errors/clicking category links fails to load product pages
    By pablosart in forum General Questions
    Replies: 2
    Last Post: 12 May 2007, 05:12 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