bside2234 Posted April 4, 2012 Share Posted April 4, 2012 I installed the latest 1.4 without any issues. I have all the prestashop files in a folder on my server named prestashop1.4. I can access admin ok and I can view all the other pages of the store online. When I try to view the index.php it takes me to a list of files titled Index of /prestashop1.4 and when I try to choose the index.php from there it doesn't do anything. Also when I view the other pages online and choose Home it takes me to the Index of/prestashop1.4 page. What am I doing wrong? Link to comment Share on other sites More sharing options...
tdr170 Posted April 4, 2012 Share Posted April 4, 2012 Nothing that is correct and as it should be, if you take a look at the index.php file in an editor you will see that it does nothing more then call to other files. As for the home link does the link take you to a page titled list of pages inHome, if so that is the link that is coded by prestashop, this can be changed but does takes a little time to find the various files. Link to comment Share on other sites More sharing options...
bside2234 Posted April 4, 2012 Author Share Posted April 4, 2012 So if choosing index.php on my server doesn't open up the stores home page how do I get to the home page? My limited knowledge of this says I should be able to access it by typing mywebsite.com/prestashop1.4/index.php in the browser window. Correct? That just takes me to the Index of /prestashop1.4 webpage with all the files listed. So (just to clarify a little) trying to access the home page of the store via my server (choosing index.php in my file manager) brings me to the attached file page. Choosing index.php on this "Index of" page does nothing but refresh the "Index of" page. I can open other parts of the store via this "index of" page and when I use the breadcrumb links to go back to the home page of the store it goes back to the "Index of" page. I'm just stumped on how to access the home page in any way. Link to comment Share on other sites More sharing options...
tdr170 Posted April 4, 2012 Share Posted April 4, 2012 Ok I think I misunderstood what you were saying about the index.php file. If you type mywebsite.com/prestashop1.4/index.php yes you should see your home page. What if you type mywebsite.com/prestashop1.4 what do you get then. Lets take a look at your your back office set up under preferences SEO & URLs. (very bottom) Is this the way it is set. Have you generated an htaccess under tools, generators if not do so. PS Directory - /prestashop1.4/ Homepage file - index.php Shop domain name - mywebsite.com/prestashop1.4 Shop domain name for SSl - (set before enabling SSL) Friendly URL - Yes Automatically redirect - Yes Link to comment Share on other sites More sharing options...
bside2234 Posted April 4, 2012 Author Share Posted April 4, 2012 If I type in www.mywebspace.com/prestashop1.4/ it just goes to that "Index of /" page. I changed some of the SEO & URL settings and generated an htaccess. This is a step in the right direction. The index.php on my server now goes to the storefront BUT: 1. It only does this if I leave the "Shop domain name for SSL" field blank making me believe I don't know what to put here. 2. Now that I can access the storefront, there is a 404 error. Here is the link I also tried reinstalling it so it's now not in the prestashop1.4 folder. It's in the prestashop folder. Still typing in www.mywebspace.com/prestashop/ makes it go to the "Index of /" page. The only way I can access the storefront is viewing the index.php from my server/file manager. Link to comment Share on other sites More sharing options...
tdr170 Posted April 4, 2012 Share Posted April 4, 2012 If you do not have an SSL certificate or a shared SSL address leave it blank. Also after knowing the correct address to put there you need to enable SSL under preferences. Do you have an SSL cert. Link to comment Share on other sites More sharing options...
bside2234 Posted April 4, 2012 Author Share Posted April 4, 2012 I'm not sure about the SSL certificate. I'll have to look into that. I'm very new at all this and am surprised I got this far! Update: After screwing around with the SEO & URL a little, I seem to have it working somewhat. Not 100% sure what I did. I changed the "homepage file" from index.php/prestashop/ to index.php and that didn't work. I changed it back to index.php/prestashop/ and now I don't have the 404 error. Here is the link Now the url is really odd though. It's "http://griffineffects.com/prestashop/index.php/prestashop/" I attached my SEO & URL settings. Link to comment Share on other sites More sharing options...
tdr170 Posted April 4, 2012 Share Posted April 4, 2012 Ok I found the problem the body ID somehow is set to "index.php/prestashop/" it should just be "index". Have you modified any files and are you sure you have the SEO & URLs as I stated in my other post. Homepage file is just index.php nothing else, this is part of the issue If I change this with my developer tool I can access the main page. Set to just Index.php and generate a new htaccess file and let me know and I will have another look. Link to comment Share on other sites More sharing options...
tdr170 Posted April 4, 2012 Share Posted April 4, 2012 What have you done that is to funny look in your server files do you now have a prestashop folder in a prestashop folder. Link to comment Share on other sites More sharing options...
bside2234 Posted April 4, 2012 Author Share Posted April 4, 2012 I haven't changed any files on the server at all. I have the prestashop folder right in griffineffects.com root folder (see attached). When I change the homepage file back to index.php from index.php/prestashop/ I can't access the storefront again. It just goes to the Index of page again. Oh, and I did generate another htaccess. How do I change the Body ID? Link to comment Share on other sites More sharing options...
tdr170 Posted April 4, 2012 Share Posted April 4, 2012 PM me log in details to your back office so I can see what the set up is I will let you know exactly what I find. I may also need your FTP log in details and I will fix this and let you know where it went wrong. Link to comment Share on other sites More sharing options...
bside2234 Posted April 4, 2012 Author Share Posted April 4, 2012 PM sent. Oh, and I found I can generate an SSL certificate too. Link to comment Share on other sites More sharing options...
tdr170 Posted April 5, 2012 Share Posted April 5, 2012 The line I added to your .htaccess basically tells the browser what to look for first index.php then index.html so you could add more if needed such as index.xhtml. DirectoryIndex index.php index.html Link to comment Share on other sites More sharing options...
tdr170 Posted April 5, 2012 Share Posted April 5, 2012 When you get up and going if you need help just ask it is not a problem. Link to comment Share on other sites More sharing options...
bside2234 Posted April 5, 2012 Author Share Posted April 5, 2012 So that was the only problem? That is amazing. Thank you again for helping me with it. I'm kind of afraid to touch anything!!! I've been going through the modules trying to figure out everything. It all seems to be working perfectly so far. File saved in a safe place in an online file storage and on a disk. 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