can't access Admin Panel of opencart

I have a subdomain and i uploaded opencart 3.0.2.0. After that i installed it correctly. Now on checking my store front is working properly, but i cant access the admin panel. Whenever i try to access, it is redirected to the admin login page again. please help me.

@samehrizk said:
I have a subdomain and i uploaded opencart 3.0.2.0. After that i installed it correctly. Now on checking my store front is working properly, but i cant access the admin panel. Whenever i try to access, it is redirected to the admin login page again. please help me.

Can you give screenshot of the error you see?
Also can you please tell us what’s your domain to look it up.

my domain is http://store.infosoft-eg.com/

sf

@samehrizk said:
my domain is http://store.infosoft-eg.com/

What’s the admin login page.

When I visit your website here: http://store.infosoft-eg.com/admin
It is returning an error that your website is not able handle the request meaning there are codes that aren’t compatible to the free hosting servers or there is a code that is too heavy.

That is what happend


1 - I edited framework file in system folder in root website ,I changed the following code

setcookie($config->get(‘session_name’), $session->getId(), ini_get(‘session.cookie_lifetime’), ini_get(‘session.cookie_path’), ini_get(‘session.cookie_domain’));

with this :
setcookie($config->get(‘session_name’), $session->getId(), time() + 60 * 60 * 24 * 30, ini_get(‘session.cookie_path’), ini_get(‘session.cookie_domain’));
after i clicked clear cash button in

after that i accessed admin dashboard panel successfuly with some error

2- I clicked clear cash button in dashboard then server tell this message

" This site/page has used all avaialble php / apache processes allowed on free hosting account.

Refreshing the page once the amount of apache / php processes are reduced will cause the site to work "

this message existed in (http://store.infosoft-eg.com/admin/) if you refresh many times

@samehrizk said:
I have a subdomain and i uploaded opencart 3.0.2.0. After that i installed it correctly. Now on checking my store front is working properly, but i cant access the admin panel. Whenever i try to access, it is redirected to the admin login page again. please help me.

An admin area for any type of website usually gives a lot of control over the website. Because of that, all admin areas should be properly protected with an authentication system to prevent anyone else from making major changes to the site.

If you didn’t select a “Remember me” option when logging in, if your your cookies have been cleared or if you’re trying to access the admin area from a different device or browser, then you need to login again with the admin login details you chose when installing the software.

@samehrizk said:

That is what happend


1 - I edited framework file in system folder in root website ,I changed the following code

setcookie($config->get(‘session_name’), $session->getId(), ini_get(‘session.cookie_lifetime’), ini_get(‘session.cookie_path’), ini_get(‘session.cookie_domain’));

with this :
setcookie($config->get(‘session_name’), $session->getId(), time() + 60 * 60 * 24 * 30, ini_get(‘session.cookie_path’), ini_get(‘session.cookie_domain’));
after i clicked clear cash button in

after that i accessed admin dashboard panel successfuly with some error

“Some error” doesn’t really help with figuring out what the issue is. Can you please check this article to figure out what the error is: Http error 500 - Docs - InfinityFree Forum

Also, referring to your code specifically, please note that session lifetime is not just controlled by the lifetime of the cookie. Sessions are automatically cleared on the sever as well.

2- I clicked clear cash button in dashboard then server tell this message

" This site/page has used all avaialble php / apache processes allowed on free hosting account.

Refreshing the page once the amount of apache / php processes are reduced will cause the site to work "

this message existed in (http://store.infosoft-eg.com/admin/) if you refresh many times

Yes, if you run an excessive amount of PHP scripts at the same time, you will see this message. You could see something like this on any hosting anywhere. Just don’t refresh your website many times and you won’t be kicked out.