OpenCart website doesn't open until the admin is online - opencart

I'm using OpenCart to create my online marketplace.
There is a problem with my website. It won't load until the admin is logged in to the admin panel. I even have this problem on localhost.
What should I do?

Check under your settings system > settings > (yourstore) > server for an option called maintenance mode. If this is set to yes then that's your problem. If not what errors are you getting when navigating to the homepage without logging in as an admin? (check error log and enable the website to show errors).

Related

Can I limit the displaying of Django's Page not found?

When I develop Django websites, I always develop them on a server that sits on the Internet in order to mirror my production environment (I run macOS locally but my servers are Linux). During development I also will set DEBUG = True for debugging purposes. The problem is that if I or anyone else who's poking around on my site enters an invalid URLconf string, Django displays the "Page not found (404)" page along with all valid URL patterns, which I feel is a bit of a security risk. For example, my custom URL for the Django admin site is listed there. Is there a way to disable the showing of this specific error page when I have DEBUG set to True or perhaps to limit its display to particular IP addresses?
you can override the default 404 view.
Read here to know how to do

Is it possible to keep Django Admin Panel accesible in production mode? (DEBUG=False)

I am developing a webpage for my college where we will show ouur investigations, to solve that i decided to use the admin panel. The problem is that when I deply in production the webage I get a 500 Bad request
I have left the deault admin path
Also changed the path for admin and still having the same issue
Try opening on a different browser like chrome etc

I am getting error in admin panel

I am getting error in admin panel while loading open cart admin panel
Please help me to solve it, I searched and found different solutions but it didn't help me to solve.
try to use the URL without https. If you must use HTTPS, change the settings in your admin to reflect that (Use Secure Server) and then update the admin/config.php file.

Joomla 2.5 admin page 404

Web site functioned normally , I tried to login to admin page and suddenly when I access admin page it display:
404 - An error has occurred.
Component not found
No new extension/module/component and theme has been installed.
No changes on PHP or mysql on the server side. ( I did check with hosting providers).
It's like it works today and tomorrow when you want to login , you'll see the above mentioned error.
Renaming .htaccess did not solve the issue.
Restoring DB backup did not solve the issue.
I checked the Joomla logs ( in log folder) there isn't any related report.
Joomla version info:
$RELEASE = '2.5';
$DEV_LEVEL = '16';
Please help!
I managed to sloved this long time ago but I forgot to update!
It is solved by running repair and optimize operations on the database via phpmyadmin.

Cannot login to Django admin

My admin login in development stopped working suddenly. It used to be working fine for almost a year. I am able to see the login page and type the superuser credentials. When I click on the login button, nothing happens. The admin log also does not show anything. I have tried changing the port number and ran the server.
I even created a new project and new database and tried running the simple admin page, no luck. I tried running the admin for other projects in development, still nothing happens on clicking the login button.
My settings does have:
AUTHENTICATION_BACKENDS = (
('django.contrib.auth.backends.ModelBackend'),
)
Another thing that I noticed was I do not get a new row in the django_session table even after I login with the correct superuser credentials
I suggest you to clear your localhost cookies and try with another browser.
I've issues with chrome v28 that I don't have in firefox v22.
Let me know if it helps.
Regards.
-- EDIT --
Try to put this line in your settings.py. It solved for me.
SESSION_COOKIE_DOMAIN = None
Opening the application in chrome's incognito mode resolved this issue for me.