For development purposes I've created a subdomain and copied all the folders over and copied the opencart database (gave it a new name).
I've updated the database details and URLS in both config files (root config and admin config) but when I try to log in to admin I get 'Invalid token session. Please login again.' so I'm guessing I've missed something.
I know there are similar posts recently about this, but they're a bit too technical for me, can someone point out what I might have missed? I've only updated the 2 config files to reflect the subdomain and new database name.
on a Server Setup, a Subdomain is not always routed internally the same way.
But for OC Configuration files, there is only ONE way, to work.
The second shop resides in another Directory, so why not
just call the Shop by it's regular Link !?
if first shop is placed in the ROOT Section
if first shop is placed in the /shop/... Subdirectory
if the second shop is placed in the /store/... Subdirectory
and this way, the config.php + .htaccess files for each
Shop could be 'programmed' the 'regular' way.
It's for tests only, as you mentioned, so, why the hassle?
For Sale: Top URL's, including an OpenCart V-Pro Shop!
A wide range of matching Designs can be seen here: http://www.opencart.li
For Information on URL's offered, please contact me at: email@example.com
Hundreds of Mods in 380+ Repositories for OC v.1.5.x - v.2.3.x
to be found on my Github Site: https://github.com/IP-CAM
Users browsing this forum: No registered users and 13 guests