Creating A Test Site And Always Store Closed Page

I followed the instructions on this page: https://docs.cs-cart.com/4.5.x/install/useful_info/copying_store_to_subdirectory.html

But instead of using a sub-directory I'm using a sub-domain.

When I navigate to the admin page or any page of the new domain I always get the cs-cart store close page from CS-Cart instead of my Website.

Note: I edited the config for to my new subdomain.

Is there anyone experienced the same issue and how did you solved this ?

Thanks

(note I tried with a sub directory but the main site seem to take over and display 404).

The main actions are

- change config.local.php file

- log in the admin panel and change store-front URLs

- clear cache (or delete the var/cache directory manually)

The main actions are

- change config.local.php file
- log in the admin panel and change store-front URLs
- clear cache (or delete the var/cache directory manually)



That's what I did but I can't log in in the administrator panel because I receive a store closed page instead of the admin panel.

Check source code of the page (Ctrl + U). If there is an error, you will see error description at the bottom of the page

Check source code of the page (Ctrl + U). If there is an error, you will see error description at the bottom of the page

Thanks I was able to fix my problem with this information :)

You are welcome!

Thanks I was able to fix my problem with this information :)

It would be helpful if you could post the error and what you did to resolve the issue.

It would be helpful if you could post the error and what you did to resolve the issue.



Looking at the source code showed me that I had a connection problem with the database and after a problem with writes permission in the folder.