I have deleted all files in server; still site is working? - php

I am getting strange issue with joomla site.
I have deleted all files from server using Cpanel.
I have checked with FileZilla: All files are deleted.
But still website is working perfectly.
What can I do so I can able to find what is the issue ?

I suggest double check if all the files in Public_html folder are
deleted.
Clear your browser's cache.
Most probably, the site you deleted is already hosted on another server.
Meaning when you tried to delete it, someone has already configured it on another server of his own. (This happens a lot in the Domain registration and Hosting industry).

Yes, You are deleting site from wrong server. Your site may be not resolving to your server and due to that it's online after deleting all files. You can check your site through temporary URL from your server using http://SERVER-IP/~CPUser-Name URL

I had the same issue and solved it by clearing the cache of my browser,
In Chrome, go to More tools then clear browsing data and then caches images and files and clear data.

I had same problem with wordpress site. It was showing home page even after deleting files in public_html folder I tried to clear catch. But later found that it was accessing files from my localhost and localhost folder on which I was working for same site was causing the trouble. I just changed its location by first turning off my laptop and then it solved my problem; I hope this will help you.

if you're sure you deleted your site from the server, I had this same issue, the best way is to clear your browser's cache, it is a cache problem... better still if you restart your device.
CTRL + F5 should clear your cache

Have you cleared your browser's cache? :) e.g. CTRL + F5

Related

Magneto continues to use old URLs after moved to staging

I'm setting up a staging server at the moment. I copied the live db and codebase over, and I've changed the web/unsecure/base_url and web/secure/base_url in the db.
I've also updated the web/cookie/cookie_domain to staging.site.com (where the prod is currently www.site.com, and dev is dev.site.com),
I've turned all caching off by setting all related values in the db to 0. I've checked all the tmp directories on the server to see if cache was being written somewhere else, but found that it doesn't seem to be.
I've reindexed multiple times, and waited a day to see if the server was just being unfriendly with cache. I've also tried to access the domain on multiple computers using private browsing.
At first, the issue was that the site kept redirecting to the LIVE. I tried changing the admin URL, by setting the use_custom_admin_path to 1, and updating the local.xml file, which resulted in a 404 for the admin. We aren't using memcache or apc AFAIK.
Any help is greatly appreciated! Thanks!

wamp html script not updating

I am trying to run a php based web app locally using wamp. On making changes to the html script in .php file, the page does not get updated. However, changes in css files are being updated. Any fixes to the issue?
If your code changes dont get reflected when you view the page, it has probably been cached by the browser.
Always use CTRL + F5 so the cache is refreshed when making changes.
Alternatively most browsers have developer extension and one of those is usually an option to turn off caching. You should look for that and set it while developing a site.
How do I Disable FireFox's Browser Cache COMPLETELY?
How to disable caching in Internet Explorer 9?
Disabling Chrome cache for website development
If you disable both of these lines in the php.ini file, this should no longer happen.
soap.wsdl_cache_enabled=0
opcache.enable=0
At least that worked for me.
Hope it helps.

PHP session not working properly on server

This is a weird problem and I really don't know how to explain it so please bear with me. The thing is I have a php project which has been coded from scratch(no template engine or frameworks), and it works fine on localhost, but as soon as I upload it on server, for some odd reason, the pages and session data seem to arrive from a cache. For example if I try to delete a value(by submitting a form), the page loads and still shows the value, if I then hit Ctrl+F5(force reload on FF), it loads correctly showing( or rather not showing) the deleted record.
Can this happen due to any server-side settings?
Try and clear all sessions from your browser. I have experienced something similar, it could be sessions set by your local host on the browser that is conflicting with it.
Try and set cache for php files to 0 using htaccess.

php website gives 403 unless i refresh my browser cache

I have a website that is on a live domain. Some times it loads okay but sometimes it gives me 403 forbidden, even for other users it does the same, i tried my every best to check permissions and every other stuff, but yesterday i just cleaned my browser cache and history etc, and bamm, website start working, then i realized its cache problem, What could be the solution to this problem, when i clean my cache my domain starts working, even c panel won't load until i clean my cache. Is it something about .htaccess, my .htaccess has only Options -Indexes and i removed that too to confirm myself if this was the problem .. but no luck.
Any help will be highly appreciated!
It should be your test machine problem.
Try it on any other machine.

Multiple computers will cache old version of included css/php files

I've been working in Dreamweaver CS4 on two computers, bot by accessing my hosting server (Bluehost) via the FTP feature in DW. Whenever I need to edit a file, I double click the file on my server in the Files Manager and it opens it with the submenu directly under the file name. Here's the example:
The issue I am having is when I edit includeA.php (which is included in PageA.php) on Computer1 and then go home to edit PageA.php on Computer2. I then save, which then saves over my changes made to includeA.php from Computer1.
Essentially, Is there any way to automatically update included files when opening a file? Or even when I start DW, updating all of my files in a certain directory? I believe I have tried refreshing my working directory before I edited includeA.php, but that did not help...I think... I have set up a test for this and will be testing by my return here (Computer2) tomorrow.
Any ideas? Thanks all!
Maybe you want to use a revision control system that solves your problems. git?

Categories