Jump to content

Can't get into storefront


Recommended Posts

Hello,
I've installed v. 1.1b3 on a subfolder called carttest on my website, fleap.com. I can get into the admin but can't seem to get to the store front with fleap.com/carttest/ or http://www.fleap.com/carttest or any variation. The shop is enabled in the admin panel and the PS directory listed there as /carttest/
Am i using the wrong address for the storefront or is there something else wrong?

Thanks for any help!

Link to comment
Share on other sites

Thanks for your reply. My host tells me that the htaccess file is not the culprit, but that the index.php file is redirecting to the parent directory. Does anyone know why it does that, or if i can change it through the admin panel? I'm not a programmer of php. Here's what's in index.php :

<?php

header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");

header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");

header("Location: ../");
exit;
?>

thanks for any help you can give!

Link to comment
Share on other sites

Don't know where that index.php is from but remove the

header(“Location: ../”);


and it should be better as it is always redirecting one directory upwards. If you can edit files through your admin panel that would the easiest way, otherwise you have to use an FTP program to download that index.php to your local drive, edit it and upload it back to your web space

Link to comment
Share on other sites

Thanks, polleke!

I changed the file via ftp and it's not going to my parent directory anymore, but now it's going to a blank page when i try fleap.com/carttest/.

Should it be going to an index page inside the carttest folder? Do I have to type in the name of the page specifically?

thanks again for your help.

Link to comment
Share on other sites

Hi Anna,

It should go to an index.php indeed and it is definitely not the one you just changed. It is strange how that index.php has gotten to your prestashop installation directory but you can take a fresh one from the Prestashop download or copy and paste the following into the index.php you just changed (overwriting/removing everything there is inside it now):

<?php

include(dirname(__FILE__).'/config/config.inc.php');
include(dirname(__FILE__).'/header.php');

$smarty->assign('HOOK_HOME', Module::hookExec('home'));
$smarty->display(_PS_THEME_DIR_.'index.tpl');

include(dirname(__FILE__).'/footer.php');

?>



Hope this will cure it :-P

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...