Hello Stackers
I have some tech issues that I would like to fix. I have been using the Amazon S3 service for some of my landing pages.
At first and for about a year all my lps had this as a URL >> https://s3-us-west-2.amazonaws.com/mydomain.com/lpname .
In the last week I have had to append /index.html to the url to make the LP display properly.
Its not a big deal as I can still use the landing pages.
My problem is that, all the pages i have to tried to upload in the last few days wont render properly. No css is being executed
and no images appear. This message appears...." This XML file does not appear to have any style information associated with it. The document tree is shown below "
I dont think it's my browser as I have tried this on 4 different devices with the same results. Anyone got any ideas as to what I can do ?
Thanks
Hi paras57,
I just tried uploading a new lander to S3 and everything is working ok with me. The only time that usually displayed for me was when I mistakenly changed something in the url.
The folder that you upload your files to. When you click on you .html file. You should see a link. When you click on that link does it also display this message?
Have you changed any bucket settings recently?
If all else fails. I would say there may be something going on with your bucket. Create another bucket and copy everything over to that one.
Have you set the pages you've uploaded recently, and their CSS and images, to be public? That's the usual gotcha that gets me, although admittedly it usually throws a different error message.
Hi gameandwatch.
Yes, when I click on the link after clicking on .html file, it shows the same error. I have not changed any settings ever since I created the bucket . I will make a new bucket and see what happens.
Thanks
Hi Caurman.
I did just try that and no difference, but I noticed something else I didn't see before. It seems that only the files that I have from adobe muse will not work. The ripped landers from adplexity do load up.
Any thoughts on that?
Thanks
Hi paras57,
Are you sure the files permissions set correctly ? I think this cause the problem.
on the other hand, since you scraped the LP from another source, try to change the path CSS/JS paths to the complete path format such as https://s3-us-west-2.amazonaws.com/mydomain.com/my-css-file.css (inside the html page)
The adobe muse pages do work on my regular website but not on S3. I loaded them b4 i did any modifications and they worked ,and also after I modified they worked, except on S3.
Matalla, The permissions seem to be ok. I did try to put the css into the html page in between style tags . It actually show some styling on the page but not the images.
OK, obvious questions, which you're probably going to go "of course, duh" to, but we need to eliminate:
- Are the images and CSS in the bucket in the same directories that they are in on your regular site, relative to the root of the site? In other words, if they're in www.yoursite.com/images/ are they in the /images/folder inside your bucket?
- What's the exact format that Muse has written the image tags in? Can you copy-paste a complete image tag from the code for us?
- Are there any capitalisation changes between what the img/css tags are expecting and what you've got in your S3 bucket?
If none of those apply, must be something else, but we need to eliminate those first.
Hey Caurman
The images, javascript and css are all in folders but I have to open the folders and upload them seperately .
Here are the image tags:
<img class="block" id="u169_img" src="images/av%20stripes%20res2.jpg?crc=3777969215" alt="" data-image-width="370" data-image-height="100"/>
<img class="block" id="u160_img" src="images/icon.gif?crc=4051029962" alt="" data-image-width="89" data-image-height="88"/>
As for the capitols , if you are asking if the original css text has different capitols than the css text in S3 .The answer is no.
Thanks
I am web developer, I can help you diagnose the problem if you want add me to skype: eng.matalla