"Insert HTML" edits not uploading

User 1941372 Photo


Registered User
92 posts

Hi,

I used the Insert HTML tool to insert an <audio> tag to the Body. Then I reopened the Insert HTML tool to add
type="audio/mp3"

and then clicked OK. Then I hit the Publish button. When I Previewed the page, and then used FireBug to look at the <audio> tag on the site, the "type" attribute, that I added, was gone!

So, I used "View Page Source" to look at the actual code, and it was missing from there, too! So I went back to VSD and re-opened the Insert HTML object and it still shows the "type" attribute that I added.

So, to be absolutely sure that I was looking at the correct site, I went to the Publish menu and clicked on "Open Published Website" and did a "View Page Source" on that, and STILL no "type" attribute!

Any ideas on what the heck is going on?
When we look at the things around us, we only see them as they were in the past. We really have no perception of reality, at all!
User 187934 Photo


Senior Advisor
20,271 posts

Link?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1941372 Photo


Registered User
92 posts

http://stlawson.com//CarlosInterview/index.html

Here's the text from the Insert HTML tool:

<audio controls="controls" preload="preload">
<source src="CarlosInterview_PussyFoot_120531.mp3" type="audio/mp3" />
Sorry, this Browser can't play this audio file. Try a different browser.
</audio>


BTW: you might see the "other" problem that I'm having: the audio widget appears for a second or two and then vanishes. I was thinking that the reason might be that the "type" attribute is missing, thus my attempt to add it.
When we look at the things around us, we only see them as they were in the past. We really have no perception of reality, at all!
User 187934 Photo


Senior Advisor
20,271 posts

I see the code in your page.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1941372 Photo


Registered User
92 posts

OK, I did somemore troubleshooting:

* I opened the HTML Editor and loaded the index.html file from the VSD project directory, and looked at the <audio> tag, and the "type" attribute was there!
* So, I used my FTP program to upload the index.html file and then went to the site and used FireBug to look at the <audio> tag and again the "type" attribute was present.
* So, I used my FTP program to delete the index.html file off the server, and then used VSD to Publish it again and looked at the site. The index.html page was still gone! I verified this with my FTP tool.

BTW: as VSD was Publishing, I watched the messages in the little window that pops up when you publish, it said, "Currently Processing: index.html" Yet, when I use Publish/Open Published Website, it's still gone!

It also reports that "Your Website was Published Successfully!"
When we look at the things around us, we only see them as they were in the past. We really have no perception of reality, at all!
User 187934 Photo


Senior Advisor
20,271 posts

Well now the page is gone. I would try resync option.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 1941372 Photo


Registered User
92 posts

Nope, Resync didn't do it.

I tried opening FTP Account Settings and made sure the setting are correct. Then I tried Test Connection and got "OK"s on all the tests (I'd copy and paste the results, but I can find no facility for that.)

Then I opened Choose a Publishing Destination and verified that the correct External FTP account is selected -- it is.

Then I tried Publish to xxxxxx and all the messages indicate that the files (including index.html) were being uploaded, and, again, it said that the site was Successfully Published.

Then, again, I tried "Open Published Website" and still, I get the 404 Error page!

Any suggestions?

When we look at the things around us, we only see them as they were in the past. We really have no perception of reality, at all!
User 1941372 Photo


Registered User
92 posts

There's another dimension to this problem (might be related): I realized that the reason my audio widget is failing when I try to open it in Firefox is because it's an MP3 file and Firefox only recognizes an OGG file, so I created a OGG version of the audio file and then In VSD, I opened the Add Files dialog to add the OGG file,and noticed that the MP3 file was highlighted, but the file delete button was grayed out! So, if I wanted to delete the MP3 file, I wouldn't be able to (using the Add Files dialog). I'm assuming that the button with the picture of a document with the little minus sign is for deleting a file?

Now, this all might be happening because when I first set up this "Website" in VSD, I pointed it to the directory where I had existing website files and didn't like the file structure it created there, so I moved it all to a different directory. I suspect the VSD didn't follow me correctly. Unfortunately I don't remember what I did to move it.

When we look at the things around us, we only see them as they were in the past. We really have no perception of reality, at all!
User 1941372 Photo


Registered User
92 posts

OK, I figured out what is going on: the VSD Publish tool was sending the website files to the server's Root directory!

I assumed that {Root} meant the HTML root because when I used the full path name from root, that path showed up in the URL when I used "Open Published Website".

Example:

The full path on my server is: /var/www/html
The website is in a directory called: MySite

When I enter /var/www/html/MySite as the Remote Folder, it uploads the files to the correct place on the server, BUT, when I use "Open Published Website", it sends me to the following URL:

http://stlawson.com/var/www/html/MySite/index.html


Which is clearly wrong. So I figured that {Root} meant the HTML root and I changed the Remote Folder to:

MySite


But, that causes the files to be uploaded to:

/MySite

Which is wrong (it should be /var/www/html/MySite). But, "Open Published Website" sends me to the correct URL:

http://stlawson.com/MySite/index.html



!!!

When we look at the things around us, we only see them as they were in the past. We really have no perception of reality, at all!
User 464893 Photo


Ambassador
1,611 posts

The way I trouble shoot a problem is to take it one step at a time. It may seem childish but it has got me sorted many times.
So first load the site in your case minus the audio and check that the site is working ok and there is no errors on the page which plays the sound.
Then create a new html box and add the player . Check where you are going to store it. To make it easy initially upload the audio file to the same folder the page is that plays it and reference it there. You can also try the audio embed script which from memory the editor inserts, could be wrong.

It is possible you do not have the codec or plugin installed so give a link and let us try. Solving programs is similar to solving electronic problems by part swapping. swap one method for another ie try using the Media player, Real player, QuickTime. this works for me it is a common embed tag that the editor uses. You can Google it to find just what you can do with it. I think you can adjust mime types.

<embed src="Sound.mid" hidden="True">
<bgsound src="sound.mid">

This works for me. I never had sound on a site of mine yet maybe one day. I did play the piano a bit. once, I will see if there are any samples I recorded.
The Guy from OZ



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.