garbage

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
ACBeecher
 
 
Posts: 22
Joined: Tue Aug 11, 2020 4:06 pm

garbage

Post by ACBeecher »

I wished to provide an updated look to one of my web sites. I decided to just work on the home page. When previewed, it looks perfect.
When published there is garbage code appearing at the top and the cover image is missing. The url is https://www.artegousa.com/wb16_colorful.html
I left the original home page, index.html, as is. Can you figure out what I am doing wrong?
WWBman
 
 
Posts: 913
Joined: Fri Jan 08, 2010 6:10 pm

Re: garbage

Post by WWBman »

If you are using the built-in Form Processor script then the extension should be .php not .html
Also you will have to delete the .html file otherwise it will be used instead of the .php file.
User avatar
Pablo
 
Posts: 23475
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: garbage

Post by Pablo »

ACBeecher
 
 
Posts: 22
Joined: Tue Aug 11, 2020 4:06 pm

Re: garbage

Post by ACBeecher »

I had already renamed NewAccountForm.html to NewAccountForm.php. So while I appreciate your response, it is not the solution.
I cleared the cache pressing ctrl-F5. Still the page wb16_colorful.html displays garbage code at the top. AND the large cover image is not displayed. Obvious I used you Colorful template to help me generate this new page which I am trying to integrate into my existing web site. Any other suggestions? I deleted every file from the directory to which I locally publish. I then uploaded all files manually, placing the majority at a primary level and adding the contents of the css folder to the ccs folder on the site and the same for the image folder.
User avatar
BaconFries
 
 
Posts: 5947
Joined: Thu Aug 16, 2007 7:32 pm

Re: garbage

Post by BaconFries »

So while I appreciate your response, it is not the solution.
But it would if you renamed the correct url. This is the link you posted https://www.artegousa.com/wb16_colorful.html this is the one that I see the php code on (or the so called garbage) so it is this you need to set to https://www.artegousa.com/wb16_colorful.php to resolve. You will also need to remove the html file from the server before uploading the correct file I have shown.
ACBeecher
 
 
Posts: 22
Joined: Tue Aug 11, 2020 4:06 pm

Re: garbage

Post by ACBeecher »

I believe you when you say you see php code on www.artegousa.com/wb16_coloful.html but I do not understand why. The colorful template had a form on the first page but i deleted the form. I just finished looking at each object in Object Manager. No object has "Enable Form" checked. Where is this php code and how do I get rid of it.

You are saying I should change the extension to php from html. If that would solve the problem even though it is incorrect (there is no php code to my knowledge), what would happen if people go to www.artegousa.com and there is no index.html but instead index.php? Would index.php display by default the same way index.html does? I do not like this as a solution as there should be no need to change the extension to php and would rather fix the problem correctly/directly. I appreciate your help.

I do not see a way to send my wbs file. It contains 2 pages. Home page which we are discussing and a second page named NewAccountForm.php
lummis
 
 
Posts: 223
Joined: Sun Apr 24, 2011 9:18 am
Location: UK

Re: garbage

Post by lummis »

No object has "Enable Form" checked. Where is this php code and how do I get rid of it.
If you go to the page you have loaded with the garbage and view the source Ctrl+U you can see all the php code at the top of the page. It would seem as though it is in LayoutGrid7 which you must have enabled as a Form in the Object Properties Tab - that needs to be unticked.

Edited to show quote relating to my response
Last edited by lummis on Tue Apr 12, 2022 2:25 pm, edited 1 time in total.
WWBman
 
 
Posts: 913
Joined: Fri Jan 08, 2010 6:10 pm

Re: garbage

Post by WWBman »

The default page extension for projects is .html.
You only need to change this to .php (via the Page Properties > File extension) if you use any php code.
The built-in PHP Form Processor script uses PHP code, so in this case the File extension should be set to .php.
If there are two pages on the server with filenames index.html and index.php then index.html will be used and index.php will be ignored.
This is why the index.html must be deleted from the server so that index.php is used.
If you see 'garbage' (i.e. php code) at the top of a page it means an .html file instead of a .php file is being used.
ACBeecher
 
 
Posts: 22
Joined: Tue Aug 11, 2020 4:06 pm

Re: garbage

Post by ACBeecher »

I appreciate your help. Three issues remain that I do not understand how to fix. On an Iphone10 with Safari, on the Home page https://www.artegousa.com, the text on a Card on top of the cover image displays too wide to be read. Is there a setting I can change that will make the text display in a device responsive manner automatically?

On a Windows10 pc with Firefox, the 3 Cards (1-blue,1-Green,1- Red) display in 3 different sizes even though the settings are the same.
How can I fix this so they are displayed the same size?

Near the bottom of the Home page is a layout grid with a blue background. It contains text "Client asking for a referral to an Artego salon: "I would rather change colorists than change from Artego hair color". This does not display device responsively on an Iphone. How can I fix that?

I understand everything you said about the need to change the file extension to php if the page has a form using the php processor. My question is
if I put a form on the Home page, change the extension to php, will that page be automatically displayed when a user visits https://www.mysite.com
Obviously if mysite.html exists, that page will be displayed. But what if mysite.html does not exist and instead mysite.php exists. Will mysite.php automatically be displayed? I do not want to test it and take my site offline so I am looking to you for a clear answer. If I wanted a form on my home page I would need to change the extension to php but I am concerned that the browser looks only for mysite.html.

THANK YOU.
WWBman
 
 
Posts: 913
Joined: Fri Jan 08, 2010 6:10 pm

Re: garbage

Post by WWBman »

The home page will normally contain index.html.
If the home page uses php (e.g. a form) then it will contain index.php instead of index.html.
There should not be an index.html if there is an index.php.
bkjohns
 
 
Posts: 303
Joined: Wed Nov 14, 2018 5:54 pm

Re: garbage

Post by bkjohns »

Put the cards in a card container to even them out.
Post Reply