Dee P. Posted July 29, 2017 Share Posted July 29, 2017 (edited) I am working on following upgrading from 1.6.1.4 to the latest version. Have followed the Upgrade Tips for creating a test site pinned to the beginning of this forum. I can log into the BO at "testsite.websitename/admin". Have changed Preferences > SEO & URLs to "testsite.websitename". Haven't yet tried upgrading yet. Thought I'd see what it looked like first. Only problem is the live site is what comes up when I click the "My Shop" link. Trying to go directly to "testsite.websitename" doesn't work either. How do I view and check the site before I start working on it? Thanks for your help!! Edited August 13, 2017 by Dee P. (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted August 2, 2017 Share Posted August 2, 2017 Can you provide a link to the front office? Link to comment Share on other sites More sharing options...
Dee P. Posted August 6, 2017 Author Share Posted August 6, 2017 (edited) Sorry it took so long. Main site is: https://angelelegancevintage.com Edited August 6, 2017 by Dee P. (see edit history) Link to comment Share on other sites More sharing options...
Dee P. Posted August 6, 2017 Author Share Posted August 6, 2017 Progress not perfection. Now, when I click the "My Shop" button in the BO of the test site, I get a page from the test site with a 404 error. Snippet of the page is attached. Checking the links take me to pages from the live site. Closer, but not quite there. Link to comment Share on other sites More sharing options...
Scully Posted August 7, 2017 Share Posted August 7, 2017 Front office looks good. However the link from within backoffice "my shop" does not provide the protocol. This is a bug. But under normal circumstances, browsers just ad http and its ok. Can you provide the link your "my shop" link is pointing to? You can just hoover over the text and see the link in the browsers status bar. Link to comment Share on other sites More sharing options...
Dee P. Posted August 7, 2017 Author Share Posted August 7, 2017 test site is: ghostdup.angelelegancevintage.com. Link to comment Share on other sites More sharing options...
Scully Posted August 7, 2017 Share Posted August 7, 2017 You have a redirection problem on your testsite. According to my tests the site sends 302 status to the URL // This can't work. Post your settings from SEO and URL with a screenshot. Link to comment Share on other sites More sharing options...
Dee P. Posted August 8, 2017 Author Share Posted August 8, 2017 (edited) Here it is attached. For some reason, it has reverted back to showing the main site when I click the "my shop" link. The picture sent yesterday is what I get now. Edited August 8, 2017 by Dee P. (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted August 8, 2017 Share Posted August 8, 2017 This look good. Your 302 redirect must come from another source - maybe you have set something in your hosting panel. Have you alreaday rewritten the .htaccess in the root of your shop? Have you checked, there is nothing more in this file than it should? Link to comment Share on other sites More sharing options...
Dee P. Posted August 12, 2017 Author Share Posted August 12, 2017 I've just rewrote the .htaccess. Can't see anything out of place in the code. Can you see anything that shouldn't be there? Thanks again!!! <IfModule mod_rewrite.c><IfModule mod_env.c>SetEnv HTTP_MOD_REWRITE On</IfModule>RewriteEngine on#Domain: ghostdup.angelelegancevintage.com/RewriteRule . - [E=REWRITEBASE:/]RewriteRule ^api$ api/ [L]RewriteRule ^api/(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]# ImagesRewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]# AlphaImageLoader for IE and fancyboxRewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]# DispatcherRewriteCond %{REQUEST_FILENAME} -s [OR]RewriteCond %{REQUEST_FILENAME} -l [OR]RewriteCond %{REQUEST_FILENAME} -dRewriteRule ^.*$ - [NC,L]RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]</IfModule>AddType application/vnd.ms-fontobject .eotAddType font/ttf .ttfAddType font/otf .otfAddType application/x-font-woff .woff<IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|svg)$"> Header add Access-Control-Allow-Origin "*" </FilesMatch></IfModule><IfModule mod_expires.c> ExpiresActive On ExpiresByType image/gif "access plus 1 month" ExpiresByType image/jpeg "access plus 1 month" ExpiresByType image/png "access plus 1 month" ExpiresByType text/css "access plus 1 week" ExpiresByType text/javascript "access plus 1 week" ExpiresByType application/javascript "access plus 1 week" ExpiresByType application/x-javascript "access plus 1 week" ExpiresByType image/x-icon "access plus 1 year" ExpiresByType image/svg+xml "access plus 1 year" ExpiresByType image/vnd.microsoft.icon "access plus 1 year" ExpiresByType application/font-woff "access plus 1 year" ExpiresByType application/x-font-woff "access plus 1 year" ExpiresByType application/vnd.ms-fontobject "access plus 1 year" ExpiresByType font/opentype "access plus 1 year" ExpiresByType font/ttf "access plus 1 year" ExpiresByType font/otf "access plus 1 year" ExpiresByType application/x-font-ttf "access plus 1 year" ExpiresByType application/x-font-otf "access plus 1 year"</IfModule><IfModule mod_headers.c> Header unset Etag</IfModule>FileETag none<IfModule mod_deflate.c> <IfModule mod_filter.c> AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript font/ttf application/x-font-ttf font/otf application/x-font-otf font/opentype </IfModule></IfModule>#If rewrite mod isn't enabledErrorDocument 404 /index.php?controller=404# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again Link to comment Share on other sites More sharing options...
Scully Posted August 12, 2017 Share Posted August 12, 2017 The .htaccess looks good and the site also loads now without problems. Clear your browser cache if you still have issues and try again. Link to comment Share on other sites More sharing options...
Dee P. Posted August 12, 2017 Author Share Posted August 12, 2017 Cleared the cache and rebooted. Still getting the same problem. What address are you using? Link to comment Share on other sites More sharing options...
Scully Posted August 13, 2017 Share Posted August 13, 2017 ghostdup.angelelegancevintage.com - the one you posted. Have you also cleared your cookies? Link to comment Share on other sites More sharing options...
Dee P. Posted August 13, 2017 Author Share Posted August 13, 2017 Cleared cookies, cache and all several times. Scully, this might sound crazy, but after changing it from secure to non-secure site, adding and removing a back slash at the Shop Domain and Secure Shop Domain names (several times), even adding different combinations in the Base URI then removing them, it seems to be working. Well, except for the CMS files. But, I'll take it! Thank you so much for your help! Link to comment Share on other sites More sharing options...
Scully Posted August 13, 2017 Share Posted August 13, 2017 Sounds quite strange indeed. But note that CMS pages are not searched in anyway. 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