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 OpenCart V-Pro installed, like seen here:
http://www.bigmax.ch - http://www.ipcam.li - http://www.opencart.li
For Information + URL's offered, please contact me at: firstname.lastname@example.org
I am NOT available for Custom Support in existing OC Installations!
My Github Repositories: https://github.com/IP-CAM
Users browsing this forum: Baidu [Spider] and 16 guests