I thought this would be easy but...
Existing site working fine in public_html version 1.5.2.1 using mydomain.com.au
I want to install a fresh, new, demo OpenCart 2.3.0.2 in a directory under public_html as public_html/test2302.
I upload the contents of the released upload folder to public_html/test2302.
I have created a database and user ready for it, and expect the demo install function to let me link to that and create the OpenCart demo system,
as it did successfully on my pc under localhost.
The config.php files are empty (0 bytes)
When I go to mydomain.com.au/test2302
the URL redirects to mydomain.com.au/test2302/install/index.php
I expect to have the standard demo install create me a site.
However a (partial) copy of the home page of my live site is loaded with a message:
Home> The page you requested cannot be found.
If I create a copy of the live site under a subfolder ../test1521, using a copy of the live database,
all is working fine. The URL mydomain.com.au/test1521 loads the website and accesses the test database.
So it looks to me as though the live site software is being used, not the 2.3.0.2 which is under public_html/test2302.
I have even edited the public_html/test2302/.htaccess to have RewriteBase /test2302/
Please can anyone tell me what have I missed?
Ken
And what is odd about the display of the partial home page is that the category selections of the live site appear across the bottom of the header,
and the test2302 config files don't have a database to point to. So that shouldn't happen.
However, the page (mostly) works as though linked to the live site, and when I click a link - say a category, or the About Us from the footer etc - the URL is re-directed to the live site, and obviously is now using the live database.
The other test1521 works as expected and when links are clicked, the URL remains as mydomain.com.au/test1521/.........
Ken
Can't be a unique requirement to have a test upgrade installation in a sub folder.
Anyone got any ideas please????
Ken
eg. testsite.yourdomain.com and redirected this subdomain to the test directory.
PGM
Don't pay for simple mods
My free modules: Filter resets in admin, Add extra flat shipping, Improved Admin Product Search and Canned Messages.
My site uses (free): Modification refresh button, Additional Alert Email Fix, TLT Structured Data
My site uses (paid): Journal2, Restrict catalog by customer group
No, I haven't tried that. I wasn't too sure if the hosting site allowed me sub-domains.
Their advice was to use a test sub-folder, so I was expecting that to work.
I will have to investigate what and how to use a sub-domain.
Ken
PGM
Don't pay for simple mods
My free modules: Filter resets in admin, Add extra flat shipping, Improved Admin Product Search and Canned Messages.
My site uses (free): Modification refresh button, Additional Alert Email Fix, TLT Structured Data
My site uses (paid): Journal2, Restrict catalog by customer group
Hey... does no-one do testing.?
I can't be the first to ask how to set up a test environment, surely?
Can anyone point me to the relevant posts/advice on this matter?
Ken
PGM
Don't pay for simple mods
My free modules: Filter resets in admin, Add extra flat shipping, Improved Admin Product Search and Canned Messages.
My site uses (free): Modification refresh button, Additional Alert Email Fix, TLT Structured Data
My site uses (paid): Journal2, Restrict catalog by customer group
Of course that is ok for development and initial testing, but is not testing the proper environment.
Also makes it a more lengthy exercise to retire the old version and promote the new.
Anyway, I have released my upgrade now, and should only have a few minor improvements to implement now.
The upgrade from 1.5.2 to 2.3 actually went pretty well, especially having made the decision to abandon the theme we had and adopt the default theme.
That will be a choice to be reviewed when I have more time...
Thanks for your support.
Ken.
PGM
Don't pay for simple mods
My free modules: Filter resets in admin, Add extra flat shipping, Improved Admin Product Search and Canned Messages.
My site uses (free): Modification refresh button, Additional Alert Email Fix, TLT Structured Data
My site uses (paid): Journal2, Restrict catalog by customer group
A theme will be on the agenda once I have got the site settled and the principal chooses to invest a bit more in it. Journal does look very good, but we have many many categories, products, and even worse, options.
I will have to investigate a theme very carefully to ensure it will be suitable.
I have also installed a number of free minor mods, and although they may be overtaken by the benefits of a theme, as I said, the site needs to settle and prove its worth first.
Ken
heavy OC-Modification, placing a lot of it's Custom Files, and Masses of Custom Scripts and Styles,
as you will easy find out, by looking at a Browser Page Source of the simple Welcome Page.
And this all results in heavy load, one good reason for Journal, to implement their own
Custom Caching-Functions, because otherwise, the Theme will dramatically slow down
overall OC-Performance.
Just to have it said !
Good Luck
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Users browsing this forum: No registered users and 42 guests