Changes made to CSS, JS not working - php

I just change my css and js file then upload, but the changes do not show up in the browser. But, if i download that same file to my desktop and open it in a text editor, the changes are there.

I have been facing the same problem about 1 year ago. It can not solve by deleting browser cache. Then i was thinking that is the problem of hosting provider and i contact them. After then they solved this.
So i think you should contact your hosting provider.

You are uploading to wrong server (directory) or you are testing in wrong URL.

Related

Which files to edit in a processed CMS website?

I am trying to edit a processed cms (modx) created website. From my customer I only received the ftp logins not the modx account for some reasons. Now I struggled myself for 4-5 days to find out how to edit that website. I downloaded the public_html that is the only file I have access to. So here I am I was looking through all the files for finding out where is the html file.html files location
But unfortunately, after I edit the file nothing is saved. The only thing I have to change is a link for a button but it doesn't save. I tried to edit each of these files but it doesn't save at all. I was wondering if should I change something in a php file or if I am editing the right files.
script way
href way
What am I doing wrong? I am tired of running around the same files.
Thank you
List item

Malacious code in my web hosting

Recently I noticed that there is a PHP file with eval base_64_decode function present in my web-hosting. I decoded that file online and pasted the content here: https://pastebin.com/S2NJqiKN
I could not understand what this code is doing as I do not know PHP. Please someone take a look and tell me should I be concerned and delete this file?
This file has obfuscated code to host contents on your web server by uploading it through this script. Check your hosting account for the unwanted files. You should delete this file. I wiil also suggest you to run inurl:yourwebsiteaddress.com on google to see if there is any page that doesn't belongs to your website.

Right CSS file not loaded, another somewhere else's loaded

I have a little problem with my website. My CSS file located in css/style.css who is empty doesn't load when in my index.php located in public_html on cPanel loads.
I'm using a link that I've put:
link rel='stylesheet' type='text/css' href='css/style.css'
in head section but it doesn't load this one, instead it does load one from http://www.cssreset.com/ by Eric Meyer as you can see here while my style.css located in css/style.css is actually empty. http://theolt.getheb.com/css/style.css.
Can someone help me guys? I have absolutely no idea of why it does this, i'm using cPanel hosted on my friend's website getheb.com and even him doesn't know why it does this.
It's probably the cache on the web servers. In my experience I was making changes to my site using localhost and as I transfer it to the web it doesn't make any changes. The problem was it takes 12 hours for the web servers to propagate the new file. So maybe you should try to contact the hosting site and check if it's about the cache. When you delete a file then the file is still running on the live site then the problem is really the cache.

how to automatically upload a file in another website from my own website such as uploading and sending file gmail from another web app automatically?

Hi can someone tell me how to upload a file in this website http://hexserver.loria.fr from my web app ?
The thing is that you can see in the front page of the website there are two options for submitting molecules from my computer and then do docking...
So if I want to write such a script that will automatically upload the files in this website and then docking. the files will be in my mysql database.on submitting the files will be uploaded in this website.how to do it?
Any pointer towards solving this problem will be really helpful.
It's just a simple form you may use php or .net
Like;
http://wezfurlong.org/blog/2006/nov/http-post-from-php-without-curl/
and if you'are linux user you may add this to cron. Just learn form names.

Having issue with crossdomain.xml

Using CKeditor on my project.
Recently installed fmath plug-in. Followed all instruction and created PHP file that will get image from editor and save in website directory.
The problem is, there was something wrong with fmath editor: when I tried to press "Ok" (it must send generated image to php file and show result image in main CKeditor textarea) nothing happened. I activated webconsole of FF and as you see browser tries to get some crossdomain.xml. I think editor configuration has nothing to do with this problem. fmath editor doesn't even try to send something to php file (firebug doesn't show any XHR activity)
Can anyone explain me, what can I do in that case?
It is a security issue: crossdomain.xml contains the security policy for the domain you are trying to access. Resolving this issue is (relatively) easy: Just add a crossdomain.xml at the top level of your web server's content root.
You can learn all about security policies and the Flash security model in Adobe's documentation, or download this pdf.

Categories