Html elements not registering when updates uploaded to cPanel - html

I am using cPanel on BlueHost to make a website for a client. I have uploaded my files to the public.html folder and everything is live and looks good. But when I make changes and upload the files again.. some of the new html elements that I have added dont show up on mobile. They show up on desktop so I know its working and registering but idk why it wont show up on my phone. Any ideas? Im not sure if its a cPanel problem. I dont think its a Sass problem either. Do mobile devices take longer to recognize changes on a hosted site? Any help would be great. Thanks.

Thanks for joining the community. I'll be glad to help you or find a solution.
If you are just copying and pasting the files from your computer to the cpannel keep in mind that you need to change the path of some files in order for them to grab the style or any external sheet, I had a similar problem when uploading my website

Related

The page is not reading my image and I don't know why

I finished my project, but although the extension Live Server is showing everything right, the images I added. When I open the page from the documents or from GitHub it is not reading SOME images. Does anyone recognize this error??
Ps: I'm just using HTML and CSS, making a portfolio.
I also faced the prob, what you need to do is just upload the folder again on Github using (Check wheter you are uploading the correct folder and the files are linked correctly.). And than again download it. It may solve the problem.

Nginx not updating webpages. Using Termux

I am trying to run a small website from my tablet with Termux and Ngnix. The nginx.conf file has been properly configured, and the webpages have been placed in the correct folder. The problem is that when I make changes to the html code, the nginx server doesn't seem to want to update with the new changes.
For example, I had a thumbnail image that would open in a new tab for viewing at full size when clicked. I later changed the html code so the same thumbnail image would open up a page on the site with related text info. I made sure to stop the server before applying any changes to my code, and then restarting the server after the appropriate changes were made. Unfortunately, the server keeps displaying the pages before the changes. It's like the original pages are stuck somewhere in the server's "memory" and don't want to update. Does anyone have any ideas as to what I'm doing wrong? This is getting really frustrating.
Thank you in advance to any who can help me.
Seems the issue was with the browser and not Nginx. I cleared the data from the browser, restarted, and haven't had any issues since. Strange, but it worked.

Replicating a site without access to any files or knowledge of cms used

I am in a unique position where my client is at a disagreement with the company that built her site and is hosting it then the company took down the site. She needs me to replicate her site as is. I was able to find her site on the following link which is not the domain that was taken down but still shows the site. Is there anyway to replicate this? I tried HTTrack and saving the pages from the browser but both did not replicate everything.
http://roederickmontemayor.com/sites/jyankauskas/index.html
For anyone who might come across a similar problem, I used HTTrack to copy all files on a folder on my desktop. The flash banner did not copy so I right clicked on the page in firefox and chose "view page info" then clicked on media and selected the embed for the flash banner then saved as. In netbeans I created a new project and copied and pasted all the files into the root folder, then moved the swf file into the flash folder and I had an exact replicate of the site and a very happy client who got to keep her site. There might be easier ways to do it but this was what I did.

Some weebly features don't work when exporting to HTML and hosting on a different server

Recently I've been tasked with redesigning a website for the current company I'm working at. I've been using weebly to make the site, and then exporting the HTML to be re-hosted on the company's servers.
However, I've noticed that some functionality in weebly's code has stopped working. I imagine this might be due to weebly hosting some elements on their own servers, but this is merely a beginners best guess.
1. The picture for the logo on the banner does not appear once the HTML is rehosted
For comparison, here's the site while hosted on weebly:
http://mjmacoustique.weebly.com/
and the site on the company's servers:
http://www.mjm.qc.ca/redesign2015/
When weebly hosts, the ''MJM'' image should be on the top left and function as a return to home page button when clicked. However, when it's hosted on the company's server, the image is not found.
2. On Firefox, the background image of the home page is replaced with an all black background
When opened in firefox, it fails to load the background image of the main page.
Any help or solutions to these problems would be greatly appreciated.
Thanks.
I can help with question #1: the logo is hosted on weebly's servers, but in the html it's written in a shortcut method like this example: /uploads/2/6/8/5/26851316/1434298489.png"
the easy workaround would be to keep the weebly version of the site working, in in the html change the src value of the missing images to something like this http://mjmacoustique.weebly.com/uploads/2/6/8/5/26851316/1434298489.png
So you haveto add the http://YOURSITE.weebly.com before all the src values of your images.
otherwise, just load all the images you need on a blank page of the site on your servers, copy image urls of those and replace the urls in the html with that.
Hope that helps?
The firefox issue might also be solved if all your src values are linked correctly but I cannot be sure about that.
When I tried exporting a site from weebly, some assets were missing from the zip it produced. This resulted in some images failing to appear because they simply weren't there. I don't know how often this happens (or if it happens only for some sites), but weebly's export feature definitely seems to have bugs.
I worked around this by using wget to recursively fetch the content that weebly was hosting. Then I hand-copied the missing assets (and only the missing assets) from the directory structure saved by wget and merged them into the directory structure from weebly's export zip. This is time-consuming, but necessary since the directory structure fetched by wget includes dynamically-generated content (meta data for weebly's editor, assets with decorated names, etc) that you probably don't want in the content you host elsewhere.

CSS changes are not reflected in Joomla website

I have a site built around Joomla, It was working fine from the time it was built. But from few days back the css changes in any of the css files are not reflecting in the site. I am able to see all the other UI changes except CSS. I have cleared he cache and checked from different ISP but no result. Can anyone suggest me how to resolve this.
Thanks in advance.
I think you are using a Template which uses LESS instead of CSS. If so, see if there are any folder inside "/public_html/templates/your_template/less/" exists or not.
If it exists then you have to create (if it is already not there) a css file named "custom.css"
inside "/public_html/templates/your_template/css/" folder and write your CSS code inside this file.
Joomla will pickup this "custom.css" file at last and your changes will be reflected.
Sorry for late reply but I found the answer. It is due to enabling CloudFlare in my hosting account. When I reached to my Hosting support they disabled the CloudFlare and everything started working fine and I am able to see all the CSS changes.