Page 235 of 245 FirstFirst ... 135185225233234235236237 ... LastLast
Results 2,341 to 2,350 of 2445
  1. #2341
    Join Date
    Apr 2012
    Posts
    209
    Plugin Contributions
    1

    Idea or Suggestion Re: Ceon URI Mapping v4.x

    PHP 7.3.0

    Error is

    [10-Jan-2019 19:48:38 Europe/Berlin] PHP Fatal error: Cannot use 'String' as class name as it is reserved in ..\includes\classes\class.String.php on line 57

    line 57 is class String

    How to fix?

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

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by diptimoy View Post
    PHP 7.3.0

    Error is

    [10-Jan-2019 19:48:38 Europe/Berlin] PHP Fatal error: Cannot use 'String' as class name as it is reserved in ..\includes\classes\class.String.php on line 57

    line 57 is class String

    How to fix?
    My suggestion would be to look at the github repo provided by torvista, though since you are on php 7.3, would mostly expect the version downloadable from this website to work with a possible modification as described in the last couple of pages.

    Back when the code was developed, it was possible to use a class that had the same name as what has become a restricted (reserved) word. The class and all references to it need to be modified away from string, which I would think would become ceon_string instead, but may have become something else for now...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #2343
    Join Date
    Apr 2012
    Posts
    209
    Plugin Contributions
    1

    Idea or Suggestion Re: Ceon URI Mapping v4.x

    Thanks a lot

  4. #2344
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by diptimoy View Post
    Thanks a lot
    Not sure what happened to the remainder of the original message but to perform miniimal modification to the software I added into includes/classes/class.CeonURIMappingAdminProducts.php
    At line 31:
    Code:
    define('CEON_URI_MAPPING_GENERATION_ATTEMPT_FOR_PRODUCT_WITH_NO_MODEL',##-3);
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #2345
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by diptimoy View Post
    Thanks a lot
    Not sure what happened to the remainder of the original message but to perform miniimal modification to the software I added into includes/classes/class.CeonURIMappingAdminProducts.php
    At line 31:
    Code:
    define('CEON_URI_MAPPING_GENERATION_ATTEMPT_FOR_PRODUCT_WITH_NO_MODEL',##-3);
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #2346
    Join Date
    Apr 2012
    Posts
    209
    Plugin Contributions
    1

    Idea or Suggestion Re: Ceon URI Mapping v4.x

    Quote Originally Posted by mc12345678 View Post
    Not sure what happened to the remainder of the original message but to perform miniimal modification to the software I added into includes/classes/class.CeonURIMappingAdminProducts.php
    At line 31:
    Code:
    define('CEON_URI_MAPPING_GENERATION_ATTEMPT_FOR_PRODUCT_WITH_NO_MODEL',##-3);

    Thanks for all.

  7. #2347
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by mc12345678 View Post
    Not sure what happened to the remainder of the original message but to perform miniimal modification to the software I added into includes/classes/class.CeonURIMappingAdminProducts.php
    At line 31:
    Code:
    define('CEON_URI_MAPPING_GENERATION_ATTEMPT_FOR_PRODUCT_WITH_NO_MODEL',##-3);
    Note that because of my browser, #'s were inadvertently added to the above, the code should be without the #'s, like hopefully below will appear:
    Code:
    define('CEON_URI_MAPPING_GENERATION_ATTEMPT_FOR_PRODUCT_WITH_NO_MODEL', -3);
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  8. #2348
    Join Date
    Apr 2012
    Posts
    209
    Plugin Contributions
    1

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by mc12345678 View Post
    Note that because of my browser, #'s were inadvertently added to the above, the code should be without the #'s, like hopefully below will appear:
    Code:
    define('CEON_URI_MAPPING_GENERATION_ATTEMPT_FOR_PRODUCT_WITH_NO_MODEL', -3);
    Oho , OK , I will fix in my end

  9. #2349
    Join Date
    Jul 2012
    Posts
    16,733
    Plugin Contributions
    17

    Default Re: Ceon URI Mapping v4.x

    Quote Originally Posted by diptimoy View Post
    Oho , OK , I will fix in my end
    I'm glad I said something.

    Browser sometimes adds "invisible" characters when copy/pasting that get turned into #'s after posting. Seeing their presence in your response brought me back here to correct it.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  10. #2350
    Join Date
    May 2011
    Location
    Tennessee
    Posts
    377
    Plugin Contributions
    0

    Default Re: 500 error, ZC 1.5.6 and CEON 4.5.5

    mc12345678,

    Is this version compatable with ZenCart 1.5.6?

 

 

Similar Threads

  1. 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
  2. CEON URI Mapping
    By jmkent in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 22 Nov 2012, 04:28 PM
  3. Ceon URI Mapping (SEO)
    By conor in forum All Other Contributions/Addons
    Replies: 2906
    Last Post: 9 Sep 2011, 08:31 AM
  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