The whole UI gone from the website - magento

I'm working on this website. Because the client changed some settings the 'index.php' was gone from website and I corrected. From then the whole UI of the website is gone. I tried to do something from the backend and the was wondered to see the backend also gone. It just redirects to the from end once I log-in for back. Are there any solutions for this. Please suggest. I'm in very much need of it.

Go to admin->system->configuration-> General->Web-> for both Unsecure and secure ->'Base URL' should not end with index.php
Flush the cache after changing the settings.

A fewdays back when I was working in my localmachine I faced the same problem. I'm not sure why the UI has gone, But the solution worked for me is:
In server cmd prompt, I have stopped the IP tables by command -- service iptables stop and by disabling selinux by command -- setenforce 0 ... After giving these two commands, clearing the cache , the site came normal. But these cannot be implemented on online servers. Just try with these. If it works then can come to conclusion, that server is fine.

Related

Website error for HTTPS; But website works fine through HTTP

I just installed a SSL certificate on the website and confirmed that it was set-up correctly. But for some reason when visiting the website through HTTPS it gives the error "Not Authorized to View This Page [CFN #0004]". But HTTP works fine.
It's a WordPress website and the htaccess file has not been modified.
What could be the problem?
www.benchmarkadvertising.ca https://benchmarkadvertising.ca/
I've Googled and Googled but cannot find a solution. Called my hosting company, but they're not specialized enough to understand the issue.
First off check this may be a plugin or theme conflict. Please attempt to disable all plugins, and use one of the default (Twenty*) themes. If the problem goes away, enable them one by one to identify the source of your troubles.
If you can install plugins, install “Health Check”: https://wordpress.org/plugins/health-check/ On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

Too many redirects: Clearing cookies doesn't work

I have a machine where Magento is deployed. The admin page redirected to itself so many times and now I am unable to get the admin page. I get the too many redirects error. I have already tried clearing the cookies, also made some changes in the magento configuration.
I have tried accessing the admin page from other machines, but it works fine. The problem is only on one particular machine. What possibilities could be tried to resolve the issue? There are no troubles with other sites.
It's probably not even the problem with one machine, but with chrome on this machine. Try incognito mode - if works there try https://productforums.google.com/forum/#!topic/chrome/YzvpLaOmVrY (if it doesn't - check if any of your extensions is allowed to work in incognito mode)

Magento front end not redirecting properly on localhost. But admin works

Hello I currently backed up my magento files on my live server to put them on my local server. My backend seems to be working fine but my front end doesn't. This is the message I get
"The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
This problem can sometimes be caused by disabling or refusing to accept cookies."
I would be glad if someone could help me. Thank you.
ok so after hours of fidgeting around with the back-end and database. I made it work by making changes in the config_data file in the database. One has to make sure he replaces all urls to local. I had redirected the urls earlier but I just found out i was missing one. In the last row of that table.I hope this helps someone.

Error empty response when logging in magento admin

I really stuck on this issue, everytime i log in into magento admin, it's give me an ERR_EMPTY_RESPONSE on google chrome and Connection reset on Mozilla.
The shop is still accessable, but it's load very slowly. It's working fine before, and suddenly become like this.
I can't find a similiar issue like this, mostly are the shop that return an empty response and they still can access the admin page and it's caused of enabling flat category/products set up.
I'm not sure if client enabling the flat category/products. If it so, what table should i edit using phpmyadmin?
since i can't access the admin page, or there are another thing that cause this? some error code, some files missing in admin directory or htaccess thing, actually i'm not doing changes on htaccess before. Really need your help.
Restarting apache and mysql worked for me
service httpd restart
service mysqld restart
Hope this helps.

Megento dev site re-directing to live site URL

I'm having a huge issue with accessing my dev site. I two magentos sites on different servers. One is the dev site, the other live. However I needed to copy the database from the live to the dev site.
Ever since i did this i've had problems with accessing the dev URL. As it keeps re-directing me to the live site. I've googled the issue and tried the following:
Accessed the 'core_config_date' and changed the unsecure/BASE_URL & secure/base_url and changed them back to the dev URL.
I then went to clear the cache on the dev site, which had already been cleared from when i was installing a plugin.
Set everything to 0 in 'core_cache_option'.
Cleared cache on my browser
But i'm still getting the issue of the site re-directing to the live URL.
I've noticed a few people had had the same problem, but the above solution doesn't seem to be working for me. Any help would be much appreciated.
Thanks
Right so managed to sort it. It was a permissions issue. I overlooked it as I didn't have a linux user setup for this site. However the folder user was set to 'root' as opposed to 'www-data'.
For anyone with this issue in the future, I strongly recommend checking permissions on the server/folder for caching.
Steps to fix the issue:
Change base URL in the 'core_config_data' table (can be found on line 5 or 6, give or take)
Check permissions on your siteroot/var folder. Delete everything from /var/session & /var/cache
Run 'chown websiteuser -R siteroot' and then 'chmod u+w -R siteroot' for permissions changes.
That should be enough to get it working.
Do the below steps in your development server :
1) Check the development server database hostname,username, password in your config.xml file in below path : app/etc/.
2) Open your live server database in any editor and find the live site url entirely.
and replace with your development server url with searched result.
above two steps will solve your issues.
here after it will now solve.
3) Check your .htaccess file in your root folder to check the any redirection rule.
Check your file permissions and set them properly so Magento doesn't end up creating a MagicCache in the system /tmp folder which is where your core configs are being cached, allowing for you to clear var/cache till the end of time and have the settings in the database never take.
All over here Can't change Magento base URL -> Stuck in cache

Resources