Magento shows old website after migration - php

I have migrated a Magento website to a live server, but it shows the old website on my PC and when I open in my mobile phone, it shows new website. How can I solve this problem?

Some actions to try:
Clear your browser cache.
Try clearing the cookies.
Try in Incognito mode if your browser have it.
Try with a different browser.
Try in a different network (the DNS could still be propagating the required info).
Try requesting an URL with some additional query string parameter, to avoid caching by URL. For example, if your site is in http://example.com/, try visiting http://example.com/?testing=1
Make sure you had not pointed your domain to your local IP in your development computer.

Related

Wordpress not open without VPN

My Wordpress Website not open except with using VPN. It just keep loading till the browser says :"This site can not be reached." I even checked with other ISP internet but the problem is still remained. I have other sites in my host and they work fine but the Wordpress one not open. The only thing that appears is the page title in browser's tab.
It seems that your IP is blocked by your site either in your WordPress settings or from hosting side.
First check blocked IPs from WordPress Admin Settings or check its (.htaccess) on in your site's database.

Website is not loading in chrome and firefox

My magento website is not loading in chrome and firefox.It works fine in IE only. I cleared the chrome cache and history but it not display my website it shows like "This webpage is not available ERR_SSL_VERSION_OR_CIPHER_MISMATCH ". How to solve this error i am working on this issue for last 2 days.
That's nothing to do with your website as such, that's a server configuration issue.
Most likely your server is still trying to serve https requests using SSL3, which has been removed in Chrome 40 (and I guess firefox as well, but I don't have the changelogs to hand to check)
This is a good tool to check your SSL settings:
https://www.ssllabs.com/ssltest/
This will confirm any issues, and advise on fixes.
If you don't have full server access, then you'll need to speak to your host.

Accessing server through web browser using ip address redirects to localhost

I'm using prestashop to set up an e-commerce website on my cloud server. I was able to successfully install it on the server and it works fine on the server locally, i.e. if I look at the website using localhost on the server. However when I try to access it from a different machine it won't work because, it gets redirected to localhost/index.php? I'm not sure what could be wrong or even where to start looking... any help would be appreciated. Only thing I could think of was the index.php file. It has following 2 lines of code and is generated by prestashop.
I apologize if this is not the correct SO website, as I wasn't sure what the issue could be related to.
Thank you.
When moving an CMS to another domain problems like this often occurs. Most CMS saves the domain they should run on in configuration file oder database. If there is an request for another domain they are sending an redirect (HTTP state code 302) back. I think problem here is that this one is set to localhost.
A short search on google pointed out that prestashop saves a domain name configuration in a mySQL database. Since petrashop 1.5 it should be in a table called PREFIX_shop_url. Before it was saved in PREFIX_configuration as PREFIX_shop_url. But I didn't tested on my own. You should have a look on your own and change the value in database to your new domain.
You could use mysql command line client to connect to database and change the value. If your are not so familiar with SQL you could also use a GUI like phpmyadmin.

Kohana PHP sessions problem under a local network

I have a kohana (php) web site and we have a problem with the sessions when used by computers on a local network under a proxy.
The problem:
PC 1 and PC 2 are in the same local network. They use a proxy server to access the external web site.
PC 1 access the site with "USER A", he is in the main page now and the site says "Connected with USER A".
PC 2 enters the site and access with "USER B", he is in the main page now and the site says "Connected with USER B".
PC 1 press F5 to reload the site main page, and the site now says that is logged with "USER B".
The system is installed externally and we have this problem only in this under-proxy network. Access from other PCs also under local networks (but no proxy) don have this problem.
We enabled the "user_token" part in the auth module (it uses a new table named "user_tokens" that uses the browser user agent), but the problem persists.
-- edit --
We are using Kohana 3.0, PHP 5.2.9 and postgres 8.4
Does your proxy support caching? It should NOT cache pages which are different if the client is logged in.
You application may have to set appropriate HTTP headers to tell the proxy that it is not allowed to cache HTTP responses.
If this doesn't fix it, make sure you're not using the client IP address as the Session key.
(If you still fancy using the IP, create a whitelist for allowed proxies, then use the HTTP forwarded_for header. It'll only fix the problem for proxies you trust though.)
Can you turn the proxy off temporarily to confirm the issue?
Can you try accessing the site with Firefox and the Firebug extension? This will let you see the exact HTTP response codes and headers that are being sent from the site. Knowing what they are will help us diagnose the problem for you.

Navigating to various pages doesn't changing URL in Address Bar of Browser when running on server

My application running on amazon cloud server. when i navigate to various pages the URL remains my domain name . www.mydomain.com while when I navigate through ip binded for that domain it work fine, and when i am running the same application locally on XAMPP server then also it works fine.
I have binded my domain name with the ip of my server.
Can u guess the problem and describe the solution to me?
Due to this problem when user refreshes the page through browser by clicking on refresh button then always the home opens
Please check the configuration of your domain at your registrar.
Some registrars offer a "framing" or "web redirection" service in addition to a DNS service. The behavior you have described makes it sound like you're using one of those services instead of having correct DNS records.

Categories