Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 33
  1. #21
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,681
    Plugin Contributions
    123

    Default Re: Upgrade Zencart version 1.5.6

    I'll bet I removed the fix from #1936 when I cleaned out all the unused defines.

    But includes/templates/responsive_classic/templates/tpl_modules_mobile_menu.php looks ok to me - can you check again or be explicit about what you think is wrong?
    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.

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

    Default Re: A few errors about defines: "PHP Warning: Use of undefined constant ..."

    Yes, that was happened with #1936. I will add it back in.
    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. #23
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,681
    Plugin Contributions
    123

    Default Re: A few errors about defines: "PHP Warning: Use of undefined constant ..."

    Created PR #3391.
    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.

  4. #24
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,137
    Plugin Contributions
    11

    Default Re: Upgrade Zencart version 1.5.6

    The fix for line 107 of tpl_modules_mobile_menu.php was not carried forward

  5. #25
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,137
    Plugin Contributions
    11

    Default Re: A few errors about defines: "PHP Warning: Use of undefined constant ..."

    strange that the line 107 fix shows on github for 1.5.7 but not in our test site. I update the test whenever a commit is done.

  6. #26
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,681
    Plugin Contributions
    123

    Default Re: A few errors about defines: "PHP Warning: Use of undefined constant ..."

    Yep, you're out of sync. My repo looks fine and it's even with zencart:157.
    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.

  7. #27
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,137
    Plugin Contributions
    11

    Default Re: A few errors about defines: "PHP Warning: Use of undefined constant ..."

    Couldn't manage to do a PR for includes/languages/english/products_all.php but left a comment on the commit that removed the
    Code:
    define('TEXT_PRODUCTS_MODEL', 'Model: ');
    from line 17

  8. #28
    Join Date
    Jul 2009
    Posts
    124
    Plugin Contributions
    0

    Default Re: Upgrade Zencart version 1.5.6

    Quote Originally Posted by Speak394 View Post
    I am using 1.5.6b
    php version 7.2.24

    My log files are filled with the following. And this is being recorded about every 2 to 3 minutes.

    [24-Jan-2020 21:03:06 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.139
    #1 require(/home/uni48fg5k150/public_html/includes/modules/sideboxes/information.php) called at [/home/uni48fg5k150/public_html/includes/modules/column_left.php:31]
    #2 require(/home/uni48fg5k150/public_html/includes/modules/column_left.php) called at [/home/uni48fg5k150/public_html/includes/templates/responsive_classic/common/tpl_main_page.php:136]
    #3 require(/home/uni48fg5k150/public_html/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/home/uni48fg5k150/public_html/index.php:97]
    --> PHP Warning: Use of undefined constant DEFINE_SHIPPINGINFO_STATUS - assumed 'DEFINE_SHIPPINGINFO_STATUS' (this will throw an Error in a future version of PHP) in /home/uni48fg5k150/public_html/includes/modules/sideboxes/information.php on line 14.

    [24-Jan-2020 21:03:06 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.139
    #1 require(/home/uni48fg5k150/public_html/includes/modules/sideboxes/information.php) called at [/home/uni48fg5k150/public_html/includes/modules/column_left.php:31]
    #2 require(/home/uni48fg5k150/public_html/includes/modules/column_left.php) called at [/home/uni48fg5k150/public_html/includes/templates/responsive_classic/common/tpl_main_page.php:136]
    #3 require(/home/uni48fg5k150/public_html/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/home/uni48fg5k150/public_html/index.php:97]
    --> PHP Warning: Use of undefined constant DEFINE_PRIVACY_STATUS - assumed 'DEFINE_PRIVACY_STATUS' (this will throw an Error in a future version of PHP) in /home/uni48fg5k150/public_html/includes/modules/sideboxes/information.php on line 17.

    [24-Jan-2020 21:03:06 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.139
    #1 require(/home/uni48fg5k150/public_html/includes/modules/sideboxes/information.php) called at [/home/uni48fg5k150/public_html/includes/modules/column_left.php:31]
    #2 require(/home/uni48fg5k150/public_html/includes/modules/column_left.php) called at [/home/uni48fg5k150/public_html/includes/templates/responsive_classic/common/tpl_main_page.php:136]
    #3 require(/home/uni48fg5k150/public_html/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/home/uni48fg5k150/public_html/index.php:97]
    --> PHP Warning: Use of undefined constant DEFINE_CONDITIONS_STATUS - assumed 'DEFINE_CONDITIONS_STATUS' (this will throw an Error in a future version of PHP) in /home/uni48fg5k150/public_html/includes/modules/sideboxes/information.php on line 20.

    [24-Jan-2020 21:03:06 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.139
    #1 require(/home/uni48fg5k150/public_html/includes/modules/sideboxes/information.php) called at [/home/uni48fg5k150/public_html/includes/modules/column_left.php:31]
    #2 require(/home/uni48fg5k150/public_html/includes/modules/column_left.php) called at [/home/uni48fg5k150/public_html/includes/templates/responsive_classic/common/tpl_main_page.php:136]
    #3 require(/home/uni48fg5k150/public_html/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/home/uni48fg5k150/public_html/index.php:97]
    --> PHP Warning: Use of undefined constant DEFINE_CONTACT_US_STATUS - assumed 'DEFINE_CONTACT_US_STATUS' (this will throw an Error in a future version of PHP) in /home/uni48fg5k150/public_html/includes/modules/sideboxes/information.php on line 23.

    [24-Jan-2020 21:03:06 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.139
    #1 require(/home/uni48fg5k150/public_html/includes/modules/sideboxes/information.php) called at [/home/uni48fg5k150/public_html/includes/modules/column_left.php:31]
    #2 require(/home/uni48fg5k150/public_html/includes/modules/column_left.php) called at [/home/uni48fg5k150/public_html/includes/templates/responsive_classic/common/tpl_main_page.php:136]
    #3 require(/home/uni48fg5k150/public_html/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/home/uni48fg5k150/public_html/index.php:97]
    --> PHP Warning: Use of undefined constant DEFINE_SITE_MAP_STATUS - assumed 'DEFINE_SITE_MAP_STATUS' (this will throw an Error in a future version of PHP) in /home/uni48fg5k150/public_html/includes/modules/sideboxes/information.php on line 32.

    [24-Jan-2020 21:03:06 UTC] Request URI: /index.php?main_page=cookie_usage, IP address: 46.229.168.139
    #1 require(/home/uni48fg5k150/public_html/includes/modules/sideboxes/information.php) called at [/home/uni48fg5k150/public_html/includes/modules/column_left.php:31]
    #2 require(/home/uni48fg5k150/public_html/includes/modules/column_left.php) called at [/home/uni48fg5k150/public_html/includes/templates/responsive_classic/common/tpl_main_page.php:136]
    #3 require(/home/uni48fg5k150/public_html/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/home/uni48fg5k150/public_html/index.php:97]
    --> PHP Warning: Use of undefined constant DEFINE_DISCOUNT_COUPON_STATUS - assumed 'DEFINE_DISCOUNT_COUPON_STATUS' (this will throw an Error in a future version of PHP) in /home/uni48fg5k150/public_html/includes/modules/sideboxes/information.php on line 41.



    i have the same messages and still have no idea what to do.
    fresh install Zen Cart 1.5.7
    Database Patch Level: 1.5.7

    PHP Version 7.3.19
    and i'm clueless. a bit help is very much appreciated

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

    Default Re: Upgrade Zencart version 1.5.6

    Can you go to Admin > Configuration > Define Page Status and be sure you still have all these values? I wonder if they were removed from your database. You should have 13 rows on that page.
    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.

  10. #30
    Join Date
    Jul 2009
    Posts
    124
    Plugin Contributions
    0

    Default Re: Upgrade Zencart version 1.5.6

    Quote Originally Posted by swguy View Post
    Can you go to Admin > Configuration > Define Page Status and be sure you still have all these values? I wonder if they were removed from your database. You should have 13 rows on that page.
    it was a fresh install and i have no idea what happend ( or how to fix that)

    wow... nothing! only oneName:  Schermafbeelding 2020-09-06 om 17.53.39.jpg
Views: 183
Size:  22.4 KB

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 8 Nov 2017, 10:57 PM
  2. v155 adding constants - PHP Notice: Use of undefined constant
    By torvista in forum Contribution-Writing Guidelines
    Replies: 0
    Last Post: 4 May 2016, 07:07 AM
  3. Notice: Use of undefined constant
    By infocom in forum General Questions
    Replies: 2
    Last Post: 22 Apr 2010, 08:35 PM
  4. Undefined Notice: Use of undefined constant
    By TheOracle in forum Bug Reports
    Replies: 0
    Last Post: 6 May 2007, 06:33 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