[email protected] Posted March 30, 2016 Share Posted March 30, 2016 Ive recently upgraded to V1.6 and need to enable HTTPS. When i click the link to see if my shop supports HTTPS. I am redirected to what appears to be the V1.5 backend login page. If i login it accesses the 1.5 backend. Is this correct? if i enable HTTPS in the V1.5 backend will it also inable in the V1.6 backend? TIA Jon Link to comment Share on other sites More sharing options...
[email protected] Posted March 30, 2016 Author Share Posted March 30, 2016 so i decided to try to enable ssl in the 1.5 backend and then it allowed me to emable it in the 1.6 backend but when i do i get the following message when i try to view the site Current theme unavailable "default-bootstrap". Please check your theme directory name and permissions. any ideas? Link to comment Share on other sites More sharing options...
musicmaster Posted April 1, 2016 Share Posted April 1, 2016 please check your ps_shop_url tables. Link to comment Share on other sites More sharing options...
[email protected] Posted April 1, 2016 Author Share Posted April 1, 2016 What should i be checking for? When my Prestashop was first installed the installer renamed the tables to "pr_" Link to comment Share on other sites More sharing options...
[email protected] Posted April 1, 2016 Author Share Posted April 1, 2016 There is only one entry in the table and the domain and domain_ssl have the same address Link to comment Share on other sites More sharing options...
musicmaster Posted April 1, 2016 Share Posted April 1, 2016 (edited) pr_, ps_ or pq_, whatever... I thought I was clear enough. Edited April 2, 2016 by musicmaster (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted April 2, 2016 Share Posted April 2, 2016 Ive recently upgraded to V1.6 and need to enable HTTPS. When i click the link to see if my shop supports HTTPS. I am redirected to what appears to be the V1.5 backend login page. If i login it accesses the 1.5 backend. Is this correct? if i enable HTTPS in the V1.5 backend will it also inable in the V1.6 backend? TIA Jon No its not correct. If you upgraded your store, then why do you still have a v1.5 store accessible? Sounds like your upgrade failed, or you did it incorrectly. Link to comment Share on other sites More sharing options...
[email protected] Posted April 2, 2016 Author Share Posted April 2, 2016 pr_, ps_ or pq_, whatever... I thought I was clear enough. clear enough....but you didnt say what i should be checking for Link to comment Share on other sites More sharing options...
[email protected] Posted April 2, 2016 Author Share Posted April 2, 2016 No its not correct. If you upgraded your store, then why do you still have a v1.5 store accessible? Sounds like your upgrade failed, or you did it incorrectly. I used the 1 click upgrade and this is the first time i have ever seen the 1.5 backend since the upgrade Link to comment Share on other sites More sharing options...
musicmaster Posted April 2, 2016 Share Posted April 2, 2016 I am puzzled. You have a 1.5 backend and you have a 1.6 backend. How do you do that? Are those two different urls? Didn't you just update your admin directory? Link to comment Share on other sites More sharing options...
[email protected] Posted April 2, 2016 Author Share Posted April 2, 2016 I dont know why it is happeneing either when i am on preferences>general and i click "please click here to check if your shop supports HTTPS." im redirected to this page Link to comment Share on other sites More sharing options...
musicmaster Posted April 3, 2016 Share Posted April 3, 2016 Can you have a look at the url's and how that changes with the switch? And how do you go back to the 1.6 status? Link to comment Share on other sites More sharing options...
[email protected] Posted April 3, 2016 Author Share Posted April 3, 2016 (edited) After choosing to enable SSL in the 1.5 backend i log out and log back in through the first URL. if i try to add https: to the first url i get this Edited April 4, 2016 by [email protected] (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted April 4, 2016 Share Posted April 4, 2016 have you tried to clear your browser cache? Link to comment Share on other sites More sharing options...
[email protected] Posted April 4, 2016 Author Share Posted April 4, 2016 yes, no change Link to comment Share on other sites More sharing options...
musicmaster Posted April 4, 2016 Share Posted April 4, 2016 (edited) My guess would be that something went wrong with your update and not all files have been replaced. The logical solution would seem to replace your admin, classes, controllers, css, js, tools and webservice directories with those of a fresh PS 1.6.1.4 installation. You might also need to replace the config directory but that would mean copying the old settings file. However, as this seems to be a production environment I would be very careful with such experiments and make a good backup so that I can easily go back to the old version. Best practice of course is to make the changes first in a test environment (a copy of your shop) and upload that when you finished testing. Also. it might not help if the trouble is in the database. It would be interesting to know what PS version is mentioned in your config/settings.inc.php file and which version in the configuration table of the database (PS_VERSION_DB). Both versions must be somewhere. PS. It is not advised to publish the full url of your backoffice. So you better modify your post a few entries back. Edited April 4, 2016 by musicmaster (see edit history) Link to comment Share on other sites More sharing options...
[email protected] Posted April 4, 2016 Author Share Posted April 4, 2016 (edited) define('_PS_VERSION_', '1.6.1.4'); Is in the config.inc.php however i don't have a table PR_VERSION_DB Will replacing the mentioned folders (admin, classes, controllers, css, js, tools and webservice) cause any other problems as far as being able to access the backend? Edited April 4, 2016 by [email protected] (see edit history) Link to comment Share on other sites More sharing options...
[email protected] Posted April 4, 2016 Author Share Posted April 4, 2016 I think i may have found the issue...it appears that there are conflicting files. I was not the first one to install prestashop so i dont know why but the subdomain store.funsockcity.com has the folders (admin, classes, controllers, css, js, tools and webservice) but these same folders are in the publicHTML directory. Somehow the subdomain must be accessing the other folders as well...because the config.inc.php in the publicHTML directory is totally different than the one in the store subdomain. if i delete the files in the publicHTML will that cause problems? Link to comment Share on other sites More sharing options...
[email protected] Posted April 4, 2016 Author Share Posted April 4, 2016 I installed a fresh version of Prestashop and noticed this discrepancy in my existing version. The shop domain is pointing to the store folder but the Base URI is pointing to the root. Any ideas on how to correct this? Link to comment Share on other sites More sharing options...
musicmaster Posted April 5, 2016 Share Posted April 5, 2016 I am not sure whether you understand what that base URI does. It points out that the shop is in a subdirectory of the domain. So if you filled in "/myshop/" in the base URI field then you would find your shop at the internet address http://store.funsockcity.com/myshop/. Link to comment Share on other sites More sharing options...
[email protected] Posted April 5, 2016 Author Share Posted April 5, 2016 Yes i understand that. What im saying is that the subdomain http://store.funsockcity.com is pointing to the store folder but the prestashop installation is pointing to both the /store and the main directory. It appears that the upgraded 1.6 files are located in the /shop folder but prestashop is also looking at the main directory for some things. This may be the reason that there are both 1.6 and 1.5 versions showing up as the /store was upgraded but not the main directory files. What do you think would happen if i were to access the 1.5v backend and use the 1 click upgrade for the remaining files in the root directory? Should i change the shop domain to funsockcity.com and the base uri to /store/? or should the shop domain stay store.funsockcity.com and the base uri change to /store/ Link to comment Share on other sites More sharing options...
musicmaster Posted April 6, 2016 Share Posted April 6, 2016 It is a bit difficult to see what is happening at your server. I assume that those two "installations" use the same database. I assume that that database has been upgraded. As I suggested a few posts ago you could check that by looking in the [ps_]configuration table for the key I mentioned. If this database is already upgraded upgrading it again will either not work or may cause problems. Did you ever move the store from one directory to another? It is hard to say what you should do as long as the situation isn't clear. Link to comment Share on other sites More sharing options...
[email protected] Posted April 6, 2016 Author Share Posted April 6, 2016 I dont believe that the store has ever been moved between directories. There is only one database, but i cant locate configuration table in it that you stated earlier. Link to comment Share on other sites More sharing options...
musicmaster Posted April 7, 2016 Share Posted April 7, 2016 If you cannot find a ps_configuration table (or whatever prefix it may have) everything stops... Link to comment Share on other sites More sharing options...
[email protected] Posted April 7, 2016 Author Share Posted April 7, 2016 Not sure why i didnt see the configuration table before, but it is there...However i dont see a version in the table Link to comment Share on other sites More sharing options...
bellini13 Posted April 8, 2016 Share Posted April 8, 2016 try using the search function. you are only seeing the first 25 records, but there are likely 1000s Link to comment Share on other sites More sharing options...
[email protected] Posted April 9, 2016 Author Share Posted April 9, 2016 Ok i found the version in the database, It appears the DB has been upgraded Link to comment Share on other sites More sharing options...
musicmaster Posted April 9, 2016 Share Posted April 9, 2016 (edited) Did you do or notice anything strange during the upgrade? Edited April 9, 2016 by musicmaster (see edit history) Link to comment Share on other sites More sharing options...
[email protected] Posted April 9, 2016 Author Share Posted April 9, 2016 no nothing out of the ordinary. Just clicked the 1-click upgrade and it did its thing. everything has bee functioning fine...until this SSL issue what discovered Link to comment Share on other sites More sharing options...
[email protected] Posted April 10, 2016 Author Share Posted April 10, 2016 Ok, this is what i did and it worked. I changed both the shop domain and ssl domain from store.funsockcity.com to www.funsockcity.com I changed the base URI from / to /store/. Everything seems to have straightened itself out. I am now able to check if my site supports HTTPS without seeing the 1.5 backend and can then activate SSL. Thanks for your help in looking at possible issues, it helps to have others to bounce ideas off of and figure things out! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now