"Ghost" HTML Object

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
jPaul
 
 
Posts: 88
Joined: Thu Jun 10, 2021 11:00 am

"Ghost" HTML Object

Post by jPaul »

Hi Everybody,

I'm stuck on this issue.
https://www.dropbox.com/scl/fi/jyg4rcuc ... z4nx&raw=1
When I publish "Old Farts Sanctuary", WYSIWYG will generate Three Files:
  • MasterPage.html There are NO objects on this page
  • Holding.html
  • index.php There are NO objects on this page
When I attempt to execute index.php through WAMP there will be an error.
When I open index.php with an editor, the very last three lines produced are:

Code: Select all

<body>
</body>
</html><?php include 'chat_widget.php'; ?>
Where on earth does the code <?php include 'chat_widget.php'; ?> come from?
I can't find it and I need to eliminate it.
Many Thanks,
-Paul-
If I wasn't so stupid, I wouldn't have to be so persistent.
User avatar
Pablo
 
Posts: 24430
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: "Ghost" HTML Object

Post by Pablo »

This note that you have added the code yourself. It's custom code.
It was added on the master page via the Page HTML -> End of page
User avatar
jPaul
 
 
Posts: 88
Joined: Thu Jun 10, 2021 11:00 am

Re: "Ghost" HTML Object

Post by jPaul »

Hi Pablo,

Thank you for your reply.

This is my confusion. I see the comment [ <?php include 'chat_widget.php'; ?> ] is contained in the Page HTML What I don't understand is where the hell it came from. There is no HTML Object on the MasterPage.

The "Generated HTML" would have required an HTML Object somewhere within the MasterPage.
I need to eliminate that comment but I can not find it.
Where is it?
Many Thanks,
-Paul-
If I wasn't so stupid, I wouldn't have to be so persistent.
User avatar
Pablo
 
Posts: 24430
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: "Ghost" HTML Object

Post by Pablo »

The code was certainly was not added by the sofwtar, so you must have added it yourself at some point.

The code was not added via an HTML object, it was added via Page HTML.
You can also remove it there.
User avatar
BaconFries
 
 
Posts: 6263
Joined: Thu Aug 16, 2007 7:32 pm

Re: "Ghost" HTML Object

Post by BaconFries »

As Pablos reply this was not added by the software this is because it does not have a chat widget to add. You must have added yourself ie it being "Third Party". If you haven't added using either the HTML object or Page HTML then you may have possibly added it via Site Properties so that the widget will be on all pages. I am thinking this simply because you mentioned the use of a "Master Page" which we know can be used for the same object on multiple pages.
Post Reply