Page 1 of 1

I can not access my website ,how can i fix it

Posted: Thu May 05, 2022 2:04 pm
by starhobby

Re: I can not access my website ,how can i fix it

Posted: Thu May 05, 2022 4:27 pm
by kestas
Vague info.
OC version?
Used third party modules?
Other modifications?
Can you login to admin?

Re: I can not access my website ,how can i fix it

Posted: Thu May 05, 2022 4:34 pm
by starhobby
No I Can't login to admin
I think the OC Ver 2.1.02

Re: I can not access my website ,how can i fix it

Posted: Thu May 05, 2022 4:36 pm
by starhobby
Yesterday I access my website properly,the problem is happen today

Re: I can not access my website ,how can i fix it

Posted: Thu May 05, 2022 4:39 pm
by thekrotek
Hire someone to check, nobody can help you without enough info which you obviously can not provide.

Re: I can not access my website ,how can i fix it

Posted: Thu May 05, 2022 4:57 pm
by xxvirusxx
Wrong config files.

Change from http:// to https://

Re: I can not access my website ,how can i fix it

Posted: Thu May 05, 2022 5:32 pm
by starhobby
xxvirusxx wrote:
Thu May 05, 2022 4:57 pm
Wrong config files.

Change from http:// to https://
I have change it to https:

Re: I can not access my website ,how can i fix it

Posted: Thu May 05, 2022 5:36 pm
by xxvirusxx
Sure you have changed like this?

Code: Select all

// HTTP
define('HTTP_SERVER', 'https://website/');

// HTTPS
define('HTTPS_SERVER', 'https://website/');
and

Code: Select all

// HTTP
define('HTTP_SERVER', 'https://website/admin/');
define('HTTP_CATALOG', 'https://website/');

// HTTPS
define('HTTPS_SERVER', 'https://website/admin/');
define('HTTPS_CATALOG', 'https://website/');

Re: I can not access my website ,how can i fix it

Posted: Thu May 05, 2022 5:39 pm
by paulfeakins
If you still can't find a solution, you could pay a developer such as ourselves or post a job in the Commercial Support Forum.

Re: I can not access my website ,how can i fix it

Posted: Thu May 05, 2022 5:48 pm
by straightlight
.htaccess, config.php and / or admin/config.php configuration issues. Also provide your server error logs.

Re: I can not access my website ,how can i fix it

Posted: Thu May 05, 2022 5:55 pm
by starhobby
xxvirusxx wrote:
Thu May 05, 2022 5:36 pm
Sure you have changed like this?

Code: Select all

// HTTP
define('HTTP_SERVER', 'https://website/');

// HTTPS
define('HTTPS_SERVER', 'https://website/');
and

Code: Select all

// HTTP
define('HTTP_SERVER', 'https://website/admin/');
define('HTTP_CATALOG', 'https://website/');

// HTTPS
define('HTTPS_SERVER', 'https://website/admin/');
define('HTTPS_CATALOG', 'https://website/');
Which file i need to change

Re: I can not access my website ,how can i fix it

Posted: Thu May 05, 2022 5:56 pm
by straightlight
starhobby wrote:
Thu May 05, 2022 5:55 pm
xxvirusxx wrote:
Thu May 05, 2022 5:36 pm
Sure you have changed like this?

Code: Select all

// HTTP
define('HTTP_SERVER', 'https://website/');

// HTTPS
define('HTTPS_SERVER', 'https://website/');
and

Code: Select all

// HTTP
define('HTTP_SERVER', 'https://website/admin/');
define('HTTP_CATALOG', 'https://website/');

// HTTPS
define('HTTPS_SERVER', 'https://website/admin/');
define('HTTPS_CATALOG', 'https://website/');
Which file i need to change
See the post right above yours.

Re: I can not access my website ,how can i fix it

Posted: Thu May 05, 2022 6:08 pm
by xxvirusxx
Maybe now you understand...

Change all values http:// to https:// in both config files.

LE. you solved...but no thanks :laugh:

Re: I can not access my website ,how can i fix it

Posted: Fri May 06, 2022 9:44 am
by by mona
THANK YOU xxvirusxx ::)
the clue was in the missing please in the post - lack of forum rules - and failure to search !

ps. they did not solve you did :laugh:

Re: I can not access my website ,how can i fix it

Posted: Fri May 06, 2022 11:54 am
by starhobby
straightlight wrote:
Thu May 05, 2022 5:48 pm
.htaccess, config.php and / or admin/config.php configuration issues. Also provide your server error logs.
My OC Ver 2.1.02 ,how can I edit .htaccess to https

Re: I can not access my website ,how can i fix it

Posted: Fri May 06, 2022 12:08 pm
by by mona
asked and answered numerous times
viewtopic.php?t=172418

If you are finding difficulty in using the search on the forum we can recommend using google - it will return results not only from the forum but many other sources that have answered this type of question. If you want results just from the forum (or any other preferred site) you simply add the words i.e. Opencart Forum .htaccess force https

Hope this helps