Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2009
    Posts
    298
    Plugin Contributions
    0

    Default EZ Pages Not Showing In Admin Panel

    Hi,

    I have v.1.5.8 and made all of my customizations and installed my addons in Wamp server on my local computer to make necessary adjustments and insure that everything works well.

    I have now uploaded this version to my website inside a subfolder. After integrating my current database, when I go to Admin->Tools->EZ Pages none of them are showing in there and I do not have a button to create a new EZ Page.

    When looking in my database, both the EZ Pages and EZ Pages content are there and have all of the right information in there.

    In looking at my logs, I have this error:

    PHP Fatal error: 1060uplicate column name 'pages_title' :: SELECT count(*) as total FROM (SELECT e.*, ec.pages_title, ec.pages_html_text FROM zen_ezpages e INNER JOIN zen_ezpages_content ec ON (e.pages_id=ec.pages_id AND ec.languages_id = 1) ORDER BY e.toc_chapter, e.toc_sort_order, ec.pages_title) countresults ==> (as called by) /home/mysite/public_html/new158/myadmin/includes/classes/split_page_results.php on line 220 <== in /home/mysite/public_html/new158/includes/classes/db/mysql/query_factory.php on line 667.

    Not sure where I have gone wrong.....It appears from this error that I have a duplicate column name, but have checked in my database to see and there is only 1 column titled 'pages_title' in EZ Pages and EZ Pages Content tables.

    If someone could please point me to what this error is referring to and how to fix this, I would appreciate it.

    Thanks in advance,

    Jeff

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

    Default Re: EZ Pages Not Showing In Admin Panel

    Quote Originally Posted by NWCE View Post
    ...
    SELECT count(*) as total FROM (SELECT e.*, ec.pages_title, ec.pages_html_text
    FROM zen_ezpages e
    INNER JOIN zen_ezpages_content ec ON (e.pages_id=ec.pages_id AND ec.languages_id = 1)
    ORDER BY e.toc_chapter, e.toc_sort_order, ec.pages_title) countresults
    ...
    jeff,
    that query runs fine for me on a zc158 site.

    i would double check that you are looking at the correct database as you did say you were installing in a subfolder, and perhaps you have some of your database configurations a little confused.

    you should be able to run that query above using phpmyadmin or some other mysql tool. i would try running it there, ensuring that you have the correct db selected.

    good luck.
    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,691
    Plugin Contributions
    123

    Default Re: EZ Pages Not Showing In Admin Panel

    This is a known bug in Zen Cart. For older databases with prefixes, some of the updates failed.
    Fix is easy; see

    https://www.zen-cart.com/showthread....72#post1390772
    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. #4
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,690
    Plugin Contributions
    9

    Default Re: EZ Pages Not Showing In Admin Panel

    Quote Originally Posted by swguy View Post
    This is a known bug in Zen Cart. For older databases with prefixes, some of the updates failed.
    Fix is easy; see

    https://www.zen-cart.com/showthread....72#post1390772
    Quote Originally Posted by NWCE View Post
    ...
    Not sure where I have gone wrong.....It appears from this error that I have a duplicate column name, but have checked in my database to see and there is only 1 column titled 'pages_title' in EZ Pages and EZ Pages Content tables.
    ...
    swguy, the known bug that you mention refers to a duplicate column in the ezpages table:

    ALTER TABLE ezpages DROP COLUMN pages_title;

    the OP states that he checked both tables. which is why i made my recommendation.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  5. #5
    Join Date
    Oct 2009
    Posts
    298
    Plugin Contributions
    0

    Default Re: EZ Pages Not Showing In Admin Panel

    Hi carlwhat,

    Thanks very much for passing this along! I have run the SQL statement and it has corrected my issue where I can now see my EZ Pages and also have the button back to Add New.

    Thanks again for sharing this,

    Jeff

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

    Default Re: EZ Pages Not Showing In Admin Panel

    You're welcome. Thanks for confirming that it was the database upgrade issue, as I suspected. This bug has been fixed but users with prefixes who have already upgraded will have to take the manual step you did.
    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. v151 Installed templates not showing in the admin panel
    By home2gifts in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 9 Feb 2014, 05:58 AM
  2. v1371 orders sometimes not showing up in admin panel
    By idtags in forum Managing Customers and Orders
    Replies: 5
    Last Post: 30 May 2012, 12:59 AM
  3. Orders not showing up in Admin Panel
    By DigitalGuard in forum General Questions
    Replies: 2
    Last Post: 24 Jul 2010, 03:32 AM
  4. Orders Not Showing Up In Admin Panel
    By neighbornick in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 25 Feb 2009, 08:10 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