Zen Cart Logo
Forums / General Questions / EZ pages not loading

EZ pages not loading

Views: 876

Results 1 to 8 of 8
3 Mar 2015, 3:58 AM
#1
jcrewe avatar

jcrewe

Zen Follower

Join Date:
Jul 2011
Posts:
107
Plugin Contributions:
0

EZ pages not loading

Hi there :)

I've encountered a few issues with my site lately and this is the last one to fix. I am so grateful for all the help I have received on this site :smile: For some reason, my ez pages no longer load :no: I don't have a lot of them but the ones I do have include my pricing, gallery and FAQ's pages under the Important Links header in the right hand column. Does anyone have any idea what could be wrong?

Thanks :smile:

3 Mar 2015, 4:12 AM
#2
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: EZ pages not loading

Your page stops loading after this line:

<!-- bof upload alerts --> <!-- eof upload alerts --> <div class="centerColumn" id="ezPageDefault"> **<h1 id="ezPagesHeading">Product Pricing</h1>**

So, you may or may not have an error in your log folder.

There's a chance that one of your core ezpage files has an error in the code that's causing every page to fail after it loads the ezpage heading.

3 Mar 2015, 4:26 AM
#3
jcrewe avatar

jcrewe

Zen Follower

Join Date:
Jul 2011
Posts:
107
Plugin Contributions:
0

Re: EZ pages not loading

Thanks Twitchtoo for your reply but you might have to dumb it down for me...lol...I'm not all that great at code etc...lol!

3 Mar 2015, 4:35 AM
#4
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: EZ pages not loading

jcrewe:

Thanks Twitchtoo for your reply but you might have to dumb it down for me...lol...I'm not all that great at code etc...lol!

I just scanned a working 1.54 install. Led me to only one file:
includes/templates/your_template/templates/tpl_page_default.php

**Here I find:
**

<div class="centerColumn" id="ezPageDefault"> **<h1 id="ezPagesHeading"><?php echo $var_pageDetails->fields['pages_title']; ?></h1>** <?php if (EZPAGES_SHOW_PREV_NEXT_BUTTONS=='2' and $counter > 1) { ?> <div id="navEZPageNextPrev"> <a href="<?php echo $prev_link; ?>"><?php echo $previous_button; ?></a> <?php echo zen_back_link() . $home_button; ?></a> <a href="<?php echo $next_link; ?>"><?php echo $next_item_button; ?></a> </div> <?php } elseif (EZPAGES_SHOW_PREV_NEXT_BUTTONS=='1') { ?> <div id="navEZPageNextPrev"><?php echo zen_back_link() . $home_button . '</a>'; ?></div> <?php } ?>

Your site stops after it prints the line of code I've highlighted in bold. Next it wants to show the previous and next buttons if you have that feature turned on in admin?

There may be logs in your FTP root directory /logs that pertain to some epic coding failure... or a simple syntax error that would point right at the file or data causing this problem.

Have you any strange code in the beginning of any of your ezpages content?

3 Mar 2015, 4:52 AM
#5
jcrewe avatar

jcrewe

Zen Follower

Join Date:
Jul 2011
Posts:
107
Plugin Contributions:
0

Re: EZ pages not loading

twitchtoo:

Your site stops after it prints the line of code I've highlighted in bold. Next it wants to show the previous and next buttons if you have that feature turned on in admin?

There may be logs in your FTP root directory /logs that pertain to some epic coding failure... or a simple syntax error that would point right at the file or data causing this problem.

Have you any strange code in the beginning of any of your ezpages content?

I do have the next/previous button activated. For s**ts and giggles I turned it off and to see if it would make a different and it didn't.

You lost me on the FTP root directly log...lol! I know how to change stuff in the zc admin, add produts/pricing and have manged to change some settings with the help of some wonderful people on this forum. Other than that, I'm lost!

How would I be able to check to see if I have any strange code at the beginning of any of my ez pages? I created most of them in the zc admin and I don't see anything strange in the text box area. That said, it is also not showing code...it is wysiwyg.

3 Mar 2015, 4:56 AM
#6
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: EZ pages not loading

You need to connect to your FTP server to view the /logs folder.

Which WYSIWYG plugin and version are you using with ZenCart version ?

3 Mar 2015, 5:24 AM
#7
jcrewe avatar

jcrewe

Zen Follower

Join Date:
Jul 2011
Posts:
107
Plugin Contributions:
0

Re: EZ pages not loading

I found the logs folder in my ftp but I have no idea what I am looking for :blush:

Sorry, wysiwyg was probably the wrong acronym to use...lol. I simply meant that in the HTML content box what I could see is what it would actually look like on the website and that I wasn't editing in code. I hope that makes sense :smile:

3 Mar 2015, 3:00 PM
#8
twitchtoo avatar

twitchtoo

Totally Zenned

Join Date:
Apr 2007
Location:
Ontario, Canada
Posts:
1,733
Plugin Contributions:
14

Re: EZ pages not loading

jcrewe:

I found the logs folder in my ftp but I have no idea what I am looking for :blush:
Open the filenames containing 'myDEBUG' or 'myDEBUG-adm' and if there are php errors, you will see the details.

jcrewe:

Sorry, wysiwyg was probably the wrong acronym to use...lol. I simply meant that in the HTML content box what I could see is what it would actually look like on the website and that I wasn't editing in code. I hope that makes sense :smile:

It's important to know if a module like CKEditor is installed in your admin. Or if you are running a 'vanilla/stock' ZC 1.54. These editors can become outdated and need upgrading or they can add extra code to the field data... which won't load in your browser.