CrystalPhoenix18 Posted January 6, 2016 Share Posted January 6, 2016 In the last few days, somehow all the files in my /en/ directory have gone missing, and that seems to be where my Prestashop installation is looking for files. I have no idea what happened and can't find this subdirectory in any of my older backups. Which files should be in there? How can I fix it? Any help would be great! Using 1.6 Link to comment Share on other sites More sharing options...
El Patron Posted January 6, 2016 Share Posted January 6, 2016 Hi, no need to panic, there would not be any files /en/ is used by PS for language only. Happy PrestaShopping Link to comment Share on other sites More sharing options...
CrystalPhoenix18 Posted January 6, 2016 Author Share Posted January 6, 2016 But for some reason the domain (http://thestitchersmuse.com - subdirectory /shop/) redirects automatically to http://thestitchersmuse.com/shop/en/. and there are no files there. That's what the address bar has read for months (the "/shop/en/") and it has worked fine - but suddenly it is not working. How can I find out what is wrong? Thanks for your reply, BTW! Link to comment Share on other sites More sharing options...
El Patron Posted January 6, 2016 Share Posted January 6, 2016 ah, ok....the PrestaShop files should be in the /shop/ directory and would be served from that directory .... Do you have auto backup's from hosting? Link to comment Share on other sites More sharing options...
CrystalPhoenix18 Posted January 6, 2016 Author Share Posted January 6, 2016 (edited) No - I thought my host did backups but apparently my site is too large - so they haven't been, and I wasn't aware. I haven't worked much on the site since last summer. I've looked at old backups of the site, but the /en/ directory is missing from all of them from the root directory - it does appear under /languages, but when I copy the files in that directory into the root /en/ directory, nothing changes. My site is hosted under http://thestitchersmuse.com/shop/ - the host is resolving to http://thestitchermuse.com/shop/en/, which it has been doing for quite a while - not sure when or why it changed - and I don't know where I can change it to the root (/shop) directory to see if that fixes the whole problem. The /shop/en/ directory exists, but there are no files in it. I'm not sure if there ever were. What a headache... Edited January 6, 2016 by CrystalPhoenix18 (see edit history) Link to comment Share on other sites More sharing options...
gabdara Posted January 7, 2016 Share Posted January 7, 2016 The /en/ in your link doesn't indicate a location in your files system, as El Patron also told, en is only a link parameter that indicates the language used. This happens when you have multiple languages and Friendly URLs enabled. The actual files are delivered from your folder /shop/. Enable development mode, disable smarty cache, disable Friendly URLs, remove that en folder from inside /shop/ and see if any progress. The way it looks to me is like a misconfiguration of the apache server. Get in touch with your server administrator. 1 Link to comment Share on other sites More sharing options...
bellini13 Posted January 7, 2016 Share Posted January 7, 2016 instead of focusing on the /en/ folder, why don't you explain the issue you are having? Did your website stop working? If so, are you seeing a blank page? Link to comment Share on other sites More sharing options...
CrystalPhoenix18 Posted January 7, 2016 Author Share Posted January 7, 2016 No, it isn't working - what I get when I type in the address is "Parent Directory" and "Documents" (which is a subfolder in the /en/ folder). Nothing else. I can't find that file folder in any of my backups (it does appear in the /languages/ subfolder, but when I copy the files in there I get a 500 error). Any help would be great! http://thestitchersmuse.com Link to comment Share on other sites More sharing options...
CrystalPhoenix18 Posted January 7, 2016 Author Share Posted January 7, 2016 Oh, Gabdara, you are wonderful! I did exactly as you posted, and it is back to working. Thank you Thank you! Don't know why it suddenly quit after working fine for months, but I'm glad it's back up. 1 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