Elements not showing in Preview or Publish

Issues related to previewing and publishing your web site.
Post Reply
DavidL
 
 
Posts: 11
Joined: Fri Aug 05, 2016 3:14 pm

Elements not showing in Preview or Publish

Post by DavidL » Sun Aug 06, 2017 5:10 pm

Greetings.

I recently updated to 12.1.1 and added the SFTP extension.

Didn't have any problems until today. My home page (www.enviro-lawyer.com) has contained a horizontal navigation bar for many years (compare www.enviro-lawyer.com/Links.html) and two HTML objects containing scroll code (a third object contains video). Today I edited one scroll code (just to add a new item in the scroll) and clicked on the navigation bar to reaffirm that it was "in front." Now, neither the navigation bar nor the scroll show up in preview or when published.

I tested the scroll code in a new page and it works fine. .wbs image link: Image

Any ideas? Need more info?

User avatar
Pablo
 
Posts: 19290
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Elements not showing in Preview or Publish

Post by Pablo » Sun Aug 06, 2017 5:16 pm

Where exactly do I need to look for the missing objects?
Did you publish all files?
Are there any errors in the publish log?

Note that usually if publish stop working suddenly then either your settings have changed or there is an issue with the web host.

DavidL
 
 
Posts: 11
Joined: Fri Aug 05, 2016 3:14 pm

Re: Elements not showing in Preview or Publish

Post by DavidL » Sun Aug 06, 2017 8:21 pm

The missing objects are not showing in preview or published page (www.enviro-lawyer.com). The image I sent Imageis what the Webbuilder page looks like - showing the navigation bar and narrow HTML rectangular object to the right.

Publishing and publishing settings are not the problem. I have tried editing other text boxes and other pages with success. Since these objects are not showing in preview, the problem appears to be in Webbuilder to moving the objects to the webpage.

The upload log shows:

06/08/2017 11:38:32.095 *** START OF PUBLISH ***

06/08/2017 11:38:32.097 Scanning publish folder...

06/08/2017 11:38:32.102 Found 6 file(s).

06/08/2017 11:38:32.112 Processing files...

06/08/2017 11:38:32.118 Transfering 6 file(s) using SFTP with SSH2 (Secure Shell)

06/08/2017 11:38:32.123 Connecting to home195806288.1and1-data.host (Attempt 1 of 3)

06/08/2017 11:38:33.356 Creating directory .

06/08/2017 11:38:33.404 Creating directory ./images

06/08/2017 11:38:33.448 Uploading '2017-03-25_054421.png' from 'C:\Users\DAVIDL~1.DAV\AppData\Local\Temp\~publish\images\' to './images/'

06/08/2017 11:38:33.636 Successfully uploaded file.

06/08/2017 11:38:33.639 Creating directory .

06/08/2017 11:38:33.680 Creating directory ./images

06/08/2017 11:38:33.722 Uploading 'Climate Change Impacts.png' from 'C:\Users\DAVIDL~1.DAV\AppData\Local\Temp\~publish\images\' to './images/'

06/08/2017 11:38:34.190 Successfully uploaded file.

06/08/2017 11:38:34.192 Creating directory .

06/08/2017 11:38:34.238 Creating directory ./images

06/08/2017 11:38:34.280 Uploading 'Image5.jpg' from 'C:\Users\DAVIDL~1.DAV\AppData\Local\Temp\~publish\images\' to './images/'

06/08/2017 11:38:34.426 Successfully uploaded file.

06/08/2017 11:38:34.434 Creating directory .

06/08/2017 11:38:34.493 Creating directory ./images

06/08/2017 11:38:34.551 Uploading 'UN Climate Change.png' from 'C:\Users\DAVIDL~1.DAV\AppData\Local\Temp\~publish\images\' to './images/'

06/08/2017 11:38:34.862 Successfully uploaded file.

06/08/2017 11:38:34.870 Creating directory .

06/08/2017 11:38:34.922 Uploading 'index.html' from 'C:\Users\DAVIDL~1.DAV\AppData\Local\Temp\~publish\' to './'

06/08/2017 11:38:35.073 Successfully uploaded file.

06/08/2017 11:38:35.078 Creating directory .

06/08/2017 11:38:35.135 Uploading 'searchindex.js' from 'C:\Users\DAVIDL~1.DAV\AppData\Local\Temp\~publish\' to './'

06/08/2017 11:38:35.345 Successfully uploaded file.

06/08/2017 11:38:35.407 Publish done!

06/08/2017 11:38:35.424 Removing temporary files...

06/08/2017 11:38:35.444 Successfully published!

06/08/2017 11:38:35.457 *** END OF PUBLISH ***

User avatar
Pablo
 
Posts: 19290
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Elements not showing in Preview or Publish

Post by Pablo » Sun Aug 06, 2017 8:27 pm

You have added (invalid) custom code to the page, this is most likely causing the issue.
Pleads remove all manually added code and then republish.

DavidL
 
 
Posts: 11
Joined: Fri Aug 05, 2016 3:14 pm

Re: Elements not showing in Preview or Publish

Post by DavidL » Sun Aug 06, 2017 8:42 pm

Custom code was not the problem. It worked on a new test page.
I removed the HTML object (containing code), saved, and then pasted it back in.
That restored everything.

User avatar
Pablo
 
Posts: 19290
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Elements not showing in Preview or Publish

Post by Pablo » Sun Aug 06, 2017 8:48 pm

That restored everything.
That is because the HTML is now at the end of the page so it does not effect anything that comes after your code.
However the code is still invalid. It is not W3C compliant and it makes everything that you add after the code stop working.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests