Page 13 of 35 FirstFirst ... 3111213141523 ... LastLast
Results 121 to 130 of 344
  1. #121
    Join Date
    Sep 2008
    Posts
    54
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping V5.0

    Hi, guys,

    Im getting this PHP Warning in my logs folder:

    Code:
    [05-May-2020 21:27:50 UTC] Request URI: /admin/orders.php?search=xxx&page=1&oID=9695&action=update_order, IP address: xxx
    #1  CeonURIMappingLinkBuildAdmin->updateNotifySEFUInterceptAdmcathref() called at [/site.com/html/includes/classes/class.base.php:103]
    #2  base->notify() called at [/site.com/html/admin/includes/functions/html_output.php:50]
    #3  zen_catalog_href_link() called at [/site.com/includes/functions/functions_osh_update.php:119]
    #4  zen_update_orders_history() called at [/site.com/html/admin/orders.php:158]
    --> PHP Warning: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' (this will throw an Error in a future version of PHP) in /site.com/html/admin/includes/classes/observers/class.CeonURIMappingLinkBuildAdmin.php on line 46.
    tried a solution from the post nr. 50, but didnt work out here. Do you have any suggestion, please, what could I try?

    Thanks

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

    Default Re: Ceon URI Mapping V5.0

    Quote Originally Posted by Doomm View Post
    Hi, guys,

    Im getting this PHP Warning in my logs folder:

    Code:
    [05-May-2020 21:27:50 UTC] Request URI: /admin/orders.php?search=xxx&page=1&oID=9695&action=update_order, IP address: xxx
    #1  CeonURIMappingLinkBuildAdmin->updateNotifySEFUInterceptAdmcathref() called at [/site.com/html/includes/classes/class.base.php:103]
    #2  base->notify() called at [/site.com/html/admin/includes/functions/html_output.php:50]
    #3  zen_catalog_href_link() called at [/site.com/includes/functions/functions_osh_update.php:119]
    #4  zen_update_orders_history() called at [/site.com/html/admin/orders.php:158]
    --> PHP Warning: Use of undefined constant ENABLE_SSL - assumed 'ENABLE_SSL' (this will throw an Error in a future version of PHP) in /site.com/html/admin/includes/classes/observers/class.CeonURIMappingLinkBuildAdmin.php on line 46.
    tried a solution from the post nr. 50, but didnt work out here. Do you have any suggestion, please, what could I try?

    Thanks
    Please provide your current code content of admin/includes/classes/observers/class.CeonURIMappingLinkBuildAdmin.php from about line 40 to line 50.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #123
    Join Date
    Sep 2008
    Posts
    54
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping V5.0

    Here it is:

    Code:
    						$ceon_uri_mapping_href_link_builder = new CeonURIMappingHREFLinkBuilder();
    				}
    
    				if ($connection == 'NONSSL') {
    						$link = HTTP_CATALOG_SERVER;
    				} elseif ($connection == 'SSL') {
    						if (ENABLE_CATALOG_SSL == 'true') {
    								$link = HTTPS_CATALOG_SERVER;
    						} else {
    								$link = HTTP_CATALOG_SERVER;
    						}

  4. #124
    Join Date
    Jul 2012
    Posts
    16,770
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping V5.0

    Quote Originally Posted by Doomm View Post
    Here it is:

    Code:
                            $ceon_uri_mapping_href_link_builder = new CeonURIMappingHREFLinkBuilder();
                    }
    
                    if ($connection == 'NONSSL') {
                            $link = HTTP_CATALOG_SERVER;
                    } elseif ($connection == 'SSL') {
                            if (ENABLE_CATALOG_SSL == 'true') {
                                    $link = HTTPS_CATALOG_SERVER;
                            } else {
                                    $link = HTTP_CATALOG_SERVER;
                            }
    And *still* getting the same error repeatedly? Curious about how if ENABLE_SSL is not present in that area...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #125
    Join Date
    Sep 2008
    Posts
    54
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping V5.0

    Im sorry, my bad, it seems that I pasted a wrong file, here is the correct one:

    Code:
    [06-May-2020 08:32:39 UTC] Request URI: /admin/orders.php?selected_box=customers&status=6&page=1&oID=9695&action=update_order, IP address: xxx
    #1  CeonURIMappingLinkBuildAdmin->updateNotifySEFUInterceptAdmcathref() called at [/site.com/html/includes/classes/class.base.php:103]
    #2  base->notify() called at [/admin/includes/functions/html_output.php:50]
    #3  zen_catalog_href_link() called at [/site.com/html/includes/functions/functions_osh_update.php:119]
    #4  zen_update_orders_history() called at [/admin/orders.php:158]
    --> PHP Warning: Use of undefined constant ENABLE_CATALOG_SSL - assumed 'ENABLE_CATALOG_SSL' (this will throw an Error in a future version of PHP) in /admin/includes/classes/observers/class.CeonURIMappingLinkBuildAdmin.php on line 46.
    
    [06-May-2020 08:32:39 UTC] Request URI: /admin/orders.php?selected_box=customers&status=6&page=1&oID=9695&action=update_order, IP address: xxx
    #1  CeonURIMappingLinkBuildAdmin->updateNotifySEFUInterceptAdmcathref() called at [/site.com/html/includes/classes/class.base.php:103]
    #2  base->notify() called at [/admin/includes/functions/html_output.php:50]
    #3  zen_catalog_href_link() called at [/site.com/html/includes/functions/functions_osh_update.php:127]
    #4  zen_update_orders_history() called at [/admin/orders.php:158]
    --> PHP Warning: Use of undefined constant ENABLE_CATALOG_SSL - assumed 'ENABLE_CATALOG_SSL' (this will throw an Error in a future version of PHP) in /admin/includes/classes/observers/class.CeonURIMappingLinkBuildAdmin.php on line 46.

  6. #126
    Join Date
    Jul 2012
    Posts
    16,770
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping V5.0

    Quote Originally Posted by Doomm View Post
    Im sorry, my bad, it seems that I pasted a wrong file, here is the correct one:

    Code:
    [06-May-2020 08:32:39 UTC] Request URI: /admin/orders.php?selected_box=customers&status=6&page=1&oID=9695&action=update_order, IP address: xxx
    #1  CeonURIMappingLinkBuildAdmin->updateNotifySEFUInterceptAdmcathref() called at [/site.com/html/includes/classes/class.base.php:103]
    #2  base->notify() called at [/admin/includes/functions/html_output.php:50]
    #3  zen_catalog_href_link() called at [/site.com/html/includes/functions/functions_osh_update.php:119]
    #4  zen_update_orders_history() called at [/admin/orders.php:158]
    --> PHP Warning: Use of undefined constant ENABLE_CATALOG_SSL - assumed 'ENABLE_CATALOG_SSL' (this will throw an Error in a future version of PHP) in /admin/includes/classes/observers/class.CeonURIMappingLinkBuildAdmin.php on line 46.
    
    [06-May-2020 08:32:39 UTC] Request URI: /admin/orders.php?selected_box=customers&status=6&page=1&oID=9695&action=update_order, IP address: xxx
    #1  CeonURIMappingLinkBuildAdmin->updateNotifySEFUInterceptAdmcathref() called at [/site.com/html/includes/classes/class.base.php:103]
    #2  base->notify() called at [/admin/includes/functions/html_output.php:50]
    #3  zen_catalog_href_link() called at [/site.com/html/includes/functions/functions_osh_update.php:127]
    #4  zen_update_orders_history() called at [/admin/orders.php:158]
    --> PHP Warning: Use of undefined constant ENABLE_CATALOG_SSL - assumed 'ENABLE_CATALOG_SSL' (this will throw an Error in a future version of PHP) in /admin/includes/classes/observers/class.CeonURIMappingLinkBuildAdmin.php on line 46.
    Then what are the contents of the admin/includes/configure.php up to the point of the DB_ type defines? (Only need the left side of the defines if wanting to keep other information private).
    Also what version of Zen Cart is being used to be able to compare the above results with what is expected?
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #127
    Join Date
    Sep 2008
    Posts
    54
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping V5.0

    This is a 1.5.6c Zencart (updated recently from 1.5.4),

    here are details from configure.php (I hope you thought these, right?)

    Code:
    define('HTTP_SERVER', '');
    define('HTTP_CATALOG_SERVER', '');
    define('HTTPS_CATALOG_SERVER', '');
    define('ENABLE_SSL_CATALOG', 'true');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_FS_CATALOG', '');

  8. #128
    Join Date
    Jul 2012
    Posts
    16,770
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping V5.0

    Quote Originally Posted by Doomm View Post
    Here it is:

    Code:
                            $ceon_uri_mapping_href_link_builder = new CeonURIMappingHREFLinkBuilder();
                    }
    
                    if ($connection == 'NONSSL') {
                            $link = HTTP_CATALOG_SERVER;
                    } elseif ($connection == 'SSL') {
                            if (ENABLE_CATALOG_SSL == 'true') {
                                    $link = HTTPS_CATALOG_SERVER;
                            } else {
                                    $link = HTTP_CATALOG_SERVER;
                            }
    Quote Originally Posted by Doomm View Post
    Im sorry, my bad, it seems that I pasted a wrong file, here is the correct one:

    Code:
    [06-May-2020 08:32:39 UTC] Request URI: /admin/orders.php?selected_box=customers&status=6&page=1&oID=9695&action=update_order, IP address: xxx
    #1  CeonURIMappingLinkBuildAdmin->updateNotifySEFUInterceptAdmcathref() called at [/site.com/html/includes/classes/class.base.php:103]
    #2  base->notify() called at [/admin/includes/functions/html_output.php:50]
    #3  zen_catalog_href_link() called at [/site.com/html/includes/functions/functions_osh_update.php:119]
    #4  zen_update_orders_history() called at [/admin/orders.php:158]
    --> PHP Warning: Use of undefined constant ENABLE_CATALOG_SSL - assumed 'ENABLE_CATALOG_SSL' (this will throw an Error in a future version of PHP) in /admin/includes/classes/observers/class.CeonURIMappingLinkBuildAdmin.php on line 46.
    
    [06-May-2020 08:32:39 UTC] Request URI: /admin/orders.php?selected_box=customers&status=6&page=1&oID=9695&action=update_order, IP address: xxx
    #1  CeonURIMappingLinkBuildAdmin->updateNotifySEFUInterceptAdmcathref() called at [/site.com/html/includes/classes/class.base.php:103]
    #2  base->notify() called at [/admin/includes/functions/html_output.php:50]
    #3  zen_catalog_href_link() called at [/site.com/html/includes/functions/functions_osh_update.php:127]
    #4  zen_update_orders_history() called at [/admin/orders.php:158]
    --> PHP Warning: Use of undefined constant ENABLE_CATALOG_SSL - assumed 'ENABLE_CATALOG_SSL' (this will throw an Error in a future version of PHP) in /admin/includes/classes/observers/class.CeonURIMappingLinkBuildAdmin.php on line 46.
    Quote Originally Posted by Doomm View Post
    This is a 1.5.6c Zencart (updated recently from 1.5.4),

    here are details from configure.php (I hope you thought these, right?)

    Code:
    define('HTTP_SERVER', '');
    define('HTTP_CATALOG_SERVER', '');
    define('HTTPS_CATALOG_SERVER', '');
    define('ENABLE_SSL_CATALOG', 'true');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_FS_CATALOG', '');


    Quote Originally Posted by Doomm View Post
    This is a 1.5.6c Zencart (updated recently from 1.5.4),

    here are details from configure.php (I hope you thought these, right?)

    Code:
    define('HTTP_SERVER', '');
    define('HTTP_CATALOG_SERVER', '');
    define('HTTPS_CATALOG_SERVER', '');
    define('ENABLE_SSL_CATALOG', 'true');
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    define('DIR_FS_CATALOG', '');
    Double check the changes directed from back at post 50 that are copied below:
    Quote Originally Posted by mc12345678 View Post
    Looks like those are incorrectly trying to resolve to "admin" style links instead of the expected catalog style.

    in admin\includes\classes\observers\class.CeonURIMappingLinkBuildAdmin.php

    Change:
    Code:
    if ($connection == 'NONSSL') {
                            $link = HTTP_SERVER;
                    } elseif ($connection == 'SSL') {
                            if (ENABLE_SSL == 'true') {
                                    $link = HTTPS_SERVER;
                            } else {
                                    $link = HTTP_SERVER;
                            }
                    }
    To:
    Code:
    if ($connection == 'NONSSL') {
                            $link = HTTP_CATALOG_SERVER;
                    } elseif ($connection == 'SSL') {
                            if (ENABLE_SSL_CATALOG == 'true') {
                                    $link = HTTPS_CATALOG_SERVER;
                            } else {
                                    $link = HTTP_CATALOG_SERVER;
                            }
                    }
    Notice the difference in how the "To:" section of code differs from what was provided above in this post about how the content appears... Specifically how in the problem file it says ENABLE_CATALOG_SSL instead of ENABLE_SSL_CATALOG.

    (Don't worry it wasn't obvious (to me anyways) when that section of code was posted a few posts back and really it was only when the proper error message was provided that the real issue was identified.)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #129
    Join Date
    Sep 2008
    Posts
    54
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping V5.0

    OMG, I see it now :-(

    Thank you very much for your patience and help! I didnt even think that could be the problem.

  10. #130
    Join Date
    Jan 2013
    Posts
    821
    Plugin Contributions
    0

    Default Re: Ceon URI Mapping V5.0

    zen 1.56c php7.0
    im getting this in logs.
    PHP Fatal error: Uncaught Error: Call to a member function table_exists() on null in /var/www/clients/xxx/xxx/me/includes/classes/class.CeonURIMappingAdminEZPages.php:87

 

 
Page 13 of 35 FirstFirst ... 3111213141523 ... LastLast

Similar Threads

  1. Ceon URI Mapping v4.x
    By conor in forum All Other Contributions/Addons
    Replies: 2444
    Last Post: 7 Oct 2020, 03:13 AM
  2. v139d Ceon uri mapping, how to generate uri mapping for bulk bulk-imported products?
    By mybiz9999 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 8 Jan 2013, 06:52 AM
  3. CEON URI Mapping
    By jmkent in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 22 Nov 2012, 04:28 PM
  4. Ceon URI Mapping v4
    By conor in forum All Other Contributions/Addons
    Replies: 110
    Last Post: 14 Aug 2011, 02:51 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