Zen Cart Logo
Forums / General Questions / Why doesn't the HTML content show up ?

Why doesn't the HTML content show up ?

Views: 1,454

Results 1 to 16 of 16
22 Sep 2015, 1:39 PM
#1
abbytan avatar

abbytan

New Zenner

Join Date:
Sep 2015
Location:
Singapore
Posts:
18
Plugin Contributions:
0

Why doesn't the HTML content show up ?

Hi there,

I need your help about this website: http://www.wellnessessentialoil.com

Yet, when I click on both "How to use oil" and "How to Buy" on the main menu bar, the HTML content which I have keyed in at the EZ pages do not show up.

What could I have missed out? Please advise me, thank you.

22 Sep 2015, 2:46 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Why doesn't the HTML content show up ?

This looks like a partial blank page, see if the following helps resolve the issue: http://www.zen-cart.com/content.php?124-blank-page

23 Sep 2015, 2:08 AM
#3
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Why doesn't the HTML content show up ?

AbbyTan:

the HTML content which I have keyed in at the EZ pages do not show up.

What could I have missed out? Please advise me, thank you.

Try removing all HTML content from one of these EZ pages and replace it with a simple piece of plain text that reads simply "Hello world".

If this doesn't display please re-activate the 'classic' temple and check the EZpages again (both the plain text 'hello world' as well as one with HTML).

Please report your findings.

What I'm trying to determine here is.

  1. Whether the problem somehow relates to your HTML markup , and
  2. Whether the problem is specific to whatever template you are using.

Your findings will determine what you should do next to resolve the issue.

Cheers
RodG

ps. Don't forget to check your log files for possible clues.

23 Sep 2015, 2:16 AM
#4
abbytan avatar

abbytan

New Zenner

Join Date:
Sep 2015
Location:
Singapore
Posts:
18
Plugin Contributions:
0

Re: Why doesn't the HTML content show up ?

mc12345678:

This looks like a partial blank page, see if the following helps resolve the issue: http://www.zen-cart.com/content.php?124-blank-page

Hi, thanks for your reply.

Unlike the two items "Home" and "Contact" which have no problem when clicked, and have the URLs like these:
http://www.wellnessessentialoil.com/index.php?main_page=contact_us
http://www.wellnessessentialoil.com/index.php?main_page=index

the items which don't show when clicked have URLs which do not point them to the name of the item but numbers:
http://www.wellnessessentialoil.com/index.php?main_page=page&id=18
http://www.wellnessessentialoil.com/index.php?main_page=page&id=22

Could there be some easier solution to solving my problems than what was suggested in the link you sent in your earlier reply?
Please kindly advise me. Thank you

23 Sep 2015, 2:26 AM
#5
abbytan avatar

abbytan

New Zenner

Join Date:
Sep 2015
Location:
Singapore
Posts:
18
Plugin Contributions:
0

Re: Why doesn't the HTML content show up ?

Dear RodG,

I tried what you suggested, remove all the HTML content from one of these EZ pages (which didn't show up when clicked), and replace it with the word "Hello World", still nothing showed up.

Then I went a step further and re-activated the "Classic" template and the Hello World showed up. Similarly, the HTML content of the other EZ page also showed up.

Looks like there is some progress here, please advise me what to do next. Thank you.

Also, how to check the log files and what should I be looking for in the log files?

23 Sep 2015, 4:43 AM
#6
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Why doesn't the HTML content show up ?

AbbyTan:

I tried what you suggested, remove all the HTML content from one of these EZ pages (which didn't show up when clicked), and replace it with the word "Hello World", still nothing showed up.

Then I went a step further and re-activated the "Classic" template and the Hello World showed up. Similarly, the HTML content of the other EZ page also showed up.

Looks like there is some progress here, please advise me what to do next. Thank you.

No worries. The problem is related to the template that you are using.

How long have you been using this template? How long have you been having this problem? What's the name/origin of the template?

The problem could be an incomplete template installation.

AbbyTan:

Also, how to check the log files and what should I be looking for in the log files?

Using FTP or your cPanel File manager, look for any recent files in the /yourstore/logs/ folder. You should be able to view their contents directly from FTP/FileManager.

You will be looking for anything that appears relevant. If nothing appears relevant then try accessing one of the EZpages again and look for any newly created log file that coincides with this access.

Ideally there should only be 3 files on the /logs/ folder .htaccess, index.html & index.php. If you have dozens/hundreds of files ending with ".log" they can all be deleted to make it easier to identify current problems.

Cheers
RodG

23 Sep 2015, 7:42 AM
#7
abbytan avatar

abbytan

New Zenner

Join Date:
Sep 2015
Location:
Singapore
Posts:
18
Plugin Contributions:
0

Re: Why doesn't the HTML content show up ?

Dear RodG,

Thank you for your assurance.

Relieved that it is due to the theme and not something more complicated. This is my friend's website installed by someone else. She bought this theme Herbally from templatation.com in Feb 2015, the person did up a basic website for her and then left it as it is. I could only hazard a guess that the problem has always been there.

If you think it is an incomplete installation, what is the next course of action you would recommend to solve the problem?

I have just entered the log folder via FTP, and omg, there were so many myDEBUG-xxxxxx.log files, so I went ahead to delete them as you suggested. There is also a Zen install log in the logs folder, shall I remove that too?

23 Sep 2015, 1:42 PM
#8
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Why doesn't the HTML content show up ?

AbbyTan:

Hi, thanks for your reply.

Unlike the two items "Home" and "Contact" which have no problem when clicked, and have the URLs like these:
http://www.wellnessessentialoil.com/index.php?main_page=contact_us
http://www.wellnessessentialoil.com/index.php?main_page=index

the items which don't show when clicked have URLs which do not point them to the name of the item but numbers:
http://www.wellnessessentialoil.com/index.php?main_page=page&id=18
http://www.wellnessessentialoil.com/index.php?main_page=page&id=22

Could there be some easier solution to solving my problems than what was suggested in the link you sent in your earlier reply?
Please kindly advise me. Thank you

While I just received notification of this message, I had seen that rod stepped in to basically finish helping, but wanted to address the concern of the uri formatting expressed above. The uri for the brokenpages was prperly formatted to indicate that the content will be an ez page with the specific page number identified at the end. This page number aligns with the number you would see on the admin screen on the left side when reviewing the ez pages.

As to "simplifying" the instruction of the link, rod basically did that by specifically asking to review the logs directory.

23 Sep 2015, 2:22 PM
#9
abbytan avatar

abbytan

New Zenner

Join Date:
Sep 2015
Location:
Singapore
Posts:
18
Plugin Contributions:
0

Re: Why doesn't the HTML content show up ?

Thank you mc12345678 for answering to my question, it was sent out just before RodG took over to help me.
I don't see the URL of the 2 items which cannot be open any different even after I remove all the extra log files.

Based on Rod's prognosis, it seems my problem has to do with the template I use.

So, I would like to ask what I should do next, may either you or RodG advise me what to do next? Thank you

23 Sep 2015, 3:08 PM
#10
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Why doesn't the HTML content show up ?

RodG:

No worries. The problem is related to the template that you are using.

How long have you been using this template? How long have you been having this problem? What's the name/origin of the template?

The problem could be an incomplete template installation.

Using FTP or your cPanel File manager, look for any recent files in the /yourstore/logs/ folder. You should be able to view their contents directly from FTP/FileManager.

You will be looking for anything that appears relevant. If nothing appears relevant then try accessing one of the EZpages again and look for any newly created log file that coincides with this access.

Ideally there should only be 3 files on the /logs/ folder .htaccess, index.html & index.php. If you have dozens/hundreds of files ending with ".log" they can all be deleted to make it easier to identify current problems.

Cheers
RodG

AbbyTan:

Thank you mc12345678 for answering to my question, it was sent out just before RodG took over to help me.
I don't see the URL of the 2 items which cannot be open any different even after I remove all the extra log files.

Based on Rod's prognosis, it seems my problem has to do with the template I use.

So, I would like to ask what I should do next, may either you or RodG advise me what to do next? Thank you

In a way, continue on with his standing guidance. Reenable your previous template (if you wish to stay with it) and access one of the problem ez-pages. Review the logs folder for newly generated logs, evaluate the log information, post as necessary but be sure to not post information that shouldn't be public (admin directory, database credentials, etc... If included in the file). When/if posting please select the # button in the messagebox menu toolbar just before pasting the contents. This will provide code tags and make reviewing the content easier after posting.

Otherwise choose a new template that is designed for your version of ZC, there are several available on this website. Also could go back to the template author with the issue to have them resolve it.

25 Sep 2015, 11:25 AM
#11
abbytan avatar

abbytan

New Zenner

Join Date:
Sep 2015
Location:
Singapore
Posts:
18
Plugin Contributions:
0

Re: Why doesn't the HTML content show up ?

Dear mc,

I am confused and discouraged by whatever you said to me.

Removing the log files has NOT helped my problem at all, it remains there.

I don;t understand what you mean here "When/if posting please select the # button in the messagebox menu toolbar just before pasting the contents. This will provide code tags and make reviewing the content easier after posting." Can you tell me where to find this?

By the stage of the work, it is a lot of time wasted to choose another template. Not sure if the developer of the theme will be able to help, the last time I wrote them to ask some question, they said they don't provide service anymore for this theme.

Does it mean therefore there is no one I can turn to for help?
Please advise me, thank you

25 Sep 2015, 1:12 PM
#12
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Why doesn't the HTML content show up ?

AbbyTan:

Dear mc,

I am confused and discouraged by whatever you said to me.

Removing the log files has NOT helped my problem at all, it remains there.

I don;t understand what you mean here "When/if posting please select the # button in the messagebox menu toolbar just before pasting the contents. This will provide code tags and make reviewing the content easier after posting." Can you tell me where to find this?

By the stage of the work, it is a lot of time wasted to choose another template. Not sure if the developer of the theme will be able to help, the last time I wrote them to ask some question, they said they don't provide service anymore for this theme.

Does it mean therefore there is no one I can turn to for help?
Please advise me, thank you

Correct, there has been some form of msunderstanding.

Now that the issue has been identified as template related, like most problems there are two paths that can be taken either fix it or replace it. Each has it's issues, but let's address the confusion from my last message first.

When ZC experiences an error that is withing it's ability to report, it generates a myDbeug log. In your version of ZC (1.5.1 and above) the log is appropriately placed in. The logs folder by default.That log fle contans information that can guide someone to identify where in the 1000's of files needed to run ZC the issue is/begins. This/these files must be reviewed (evaluated) in order to see quickly what exactly is wrong in the code. The good/bad thing about the log files is that sometimes it can provide too much information. For example if the debug file is like myDebug-adm then it more than likely contains the name of your secret admin directory which in the name of security shouldn't be published if possible.

So, the part about wrapping posted content in code tags, I still haven't figured out how to write both of them in a posted message so that they don't do their job, but... When you press reply, or reply with quote, you get a text box in which you can write a response, correct? At the top of the writing area, you should have a row of text like options such as a big B (bold) an I that is slightly slanted (italics), a big U (underline), and several other buttons. On the rght side of that list of buttons is one that looks like a hashtag or a pound sign # (depending on how you "grew up" calling it). When that button is pressed the editor gets populated with text that starts like: [CODE]. This is the opening to a code tag. Everything placed between the opening and closing version of that tag is specially formatted for reading in the forum including keeping everything that was originally in one line in one line rather than wrapping it. Anyways the closing version of that tag places a / between the [ and the C with everything else the same. It is a lot like using say a div tag or a link/href tag, or any other html markup used on a website.

So, hopefully there is some more understanding. Only need to ask to get clarificatioon(s).

In the end (summary):

  1. recreate the "error".
  2. Read/review/evaluate (do not just delete) the error logs. If do not understand the contents:
    2a. Safely post the contents of the debug log(s) in a format that keeps them understood.
    2b. Await response from those of the community that are offering their help freely or seek out compensation.
  3. Make changes to the template files to stop the errors and maintain functionality or use a completely different set of template files. By stopping the errors mean to correct the error that is iniitiating the logs not to do something to just stop the logs from being stored or something. (Trust me there have been some that have misunderstood the drection/intent and say deleted their logs directory. There the logs are no longer generated but the problem still existed...)

Help any?

25 Sep 2015, 2:48 PM
#13
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Why doesn't the HTML content show up ?

Have you determined that the template & all plugins are ZC1.5.4 compatible? I'm going to guess possibly not since the templatation/themeforest template was created quite a bit prior to zc1.5.4

Since the template has been discontinued, that might be indicative of problems that were deemed easier to discontinue than to support? I suspect this might be part of your issue.

Some commercial template farms/developers are known to do unorthodox things which cause issues when any attempting custom changes or plugin additions.

I did not spend any time on the site because the autoloading/playing of video and audio files, with no option to Stop, clogs up our internet connection. Not everyone has gigabit connection speeds.

25 Sep 2015, 4:06 PM
#14
abbytan avatar

abbytan

New Zenner

Join Date:
Sep 2015
Location:
Singapore
Posts:
18
Plugin Contributions:
0

Re: Why doesn't the HTML content show up ?

Thanks RixStix for your reply. Noted your feedback about the video loading.
I will look into your suggestion, thank you.

25 Sep 2015, 9:12 PM
#15
rodg avatar

rodg

Deceased

Join Date:
Jan 2007
Location:
Australia
Posts:
6,263
Plugin Contributions:
4

Re: Why doesn't the HTML content show up ?

AbbyTan:

Removing the log files has NOT helped my problem at all, it remains there.

Removing the old log files wasn't meant to fix anything. It is/was just to make it easier for you to find new log files relating to your current problem(s).

Some people never check their log files until there is a problem, by which time there can often be many thousands of them.

AbbyTan:

Does it mean therefore there is no one I can turn to for help?
Please advise me, thank you

When it comes to template related issues the options are pretty limited. Although many of us here will help in any way we can based on feedback and error messages that you provide, we can only go so far without having the same template installed on our own systems so that we can check the code.

Anyway from here... mc1-8 has summed it up pretty well

mc12345678:

In the end (summary):

  1. recreate the "error".
  2. Read/review/evaluate (do not just delete) the error logs. If do not understand the contents:
    2a. Safely post the contents of the debug log(s) in a format that keeps them understood.
    2b. Await response from those of the community that are offering their help freely or seek out compensation.
  3. Make changes to the template files to stop the errors and maintain functionality or use a completely different set of template files. By stopping the errors mean to correct the error that is iniitiating the logs not to do something to just stop the logs from being stored or something. (Trust me there have been some that have misunderstood the drection/intent and say deleted their logs directory. There the logs are no longer generated but the problem still existed...)

To summarize this summary.
Re-enable the troublesome template. Reload ONE of the troublesome pages ("How to use oil" or "How to Buy"). Check the logs folder for new file(s). Read the contents and fix the error (if able).. rinse and repeat.

If the log file contents are meaningless to you, post a copy here and someone will try to see/explain what is going on, and what your next course of action should be,

Cheers
RodG

26 Sep 2015, 4:16 AM
#16
abbytan avatar

abbytan

New Zenner

Join Date:
Sep 2015
Location:
Singapore
Posts:
18
Plugin Contributions:
0

Re: Why doesn't the HTML content show up ?

Thank you RodG and mc for your help.
I will try your suggestions.