Results 1 to 4 of 4
  1. #1

    Default EZ-Pages Select a page ... not working

    Hello,

    I have updated my website from 1.5.3 to 1.5.5

    After installing the CEON URI mapping i can no longer access the "EZ-Pages Select a page"
    I get a blank screen just showing the title

    See pictureName:  Naamloos.jpg
Views: 65
Size:  15.0 KB

    the log file gives me this error

    [07-Nov-2018 17:01:36 Europe/Amsterdam] PHP Parse error: syntax error, unexpected ':', expecting ';' or '{' in /home/********/domains/*************/includes/classes/class.CeonURIMappingAdminEZPages.php on line 78

    Any ideas what to do?

    Thanks

  2. #2
    Join Date
    Jul 2012
    Posts
    12,981
    Plugin Contributions
    16

    Default Re: EZ-Pages Select a page ... not working

    Assuming that you have installed the Ceon URI Mapping that is currently downloadable from the zen-cart.com site, then the suggestion would be to increase your PHP version to 7.0+ as much of the code was changed solely to use PHP 7.x style formatting and will cause the error that you describe in some places.
    Otherwise, would suggest finding Torvista's version on github. Wondering if Ceon might put out a version that actually operates in the environment supported by the ZC version.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

  3. #3
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    6,851
    Plugin Contributions
    8

    Default Re: EZ-Pages Select a page ... not working

    MC# got quicker fingers

  4. #4
    Join Date
    Jul 2012
    Posts
    12,981
    Plugin Contributions
    16

    Default Re: EZ-Pages Select a page ... not working

    Quote Originally Posted by dbltoe View Post
    MC# got quicker fingers
    But your question was a good one.

    To answer the now unseen question, I would expect the code to look like this at or around that line:

    Code:
         * @return  string    The auto-generated URI for the EZ-Page and language.
         */
        public function autogenEZPageURIMapping($id, $name, $language_code, $language_id): string
        {
            global $db;
    The red text is where PHP is starting to step into the land of other languages and allowing the identification of the type of data being returned by the function. It isn't required for Ceon URI Mapping to work (nor for the software to work in PHP 7.x... yet...) and will cause errors on PHP versions less than 7.0. Similarly, the use of [] instead of array() can be found as well as the spaceship operator and a few other new things made available in PHP 7.x.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...
    Upgraded to Zen Cart V1.5.3 from V1.5.1 from V1.5.0 from V1.3.9h

 

 

Similar Threads

  1. v153 Product Listing Page Navigation isn't working when trying to select the next page?
    By choochoo in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 2 Dec 2014, 06:26 PM
  2. v139g ez Pages not working and inks showing PAGE NOT FOUND
    By irishshopper in forum Basic Configuration
    Replies: 5
    Last Post: 18 Jun 2012, 07:21 PM
  3. Define Pages Editor not working, pages not showing up
    By thorntongoats in forum Basic Configuration
    Replies: 7
    Last Post: 19 May 2010, 02:28 PM
  4. EZ-Pages Select a page showing nothing
    By Gazzaman in forum Basic Configuration
    Replies: 1
    Last Post: 28 Feb 2009, 12:06 PM
  5. EZ-Pages Select a page not showing up
    By zzericazz in forum Customization from the Admin
    Replies: 1
    Last Post: 20 Nov 2008, 08: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