Jump to content

PHP scripting issue


Recommended Posts

I am having difficulty accessing the Prestashop store, both front and back office. The URL is www.cosmicportals.org/Store. I installed Prestashop a couple of days ago, and everything seemed to be working fine. Last evening when I tried to access the store for further configuration, I kept getting internal server errors. I contacted my webhost support, and they said they activated cgi and the issue was resolved. I am no longer getting the server error, but when I attempt to access the store, I get the following, which appears to be a line from the index.php file: assign('HOOK_HOME', Module::hookExec('home')); $smarty->display(_PS_THEME_DIR_.'index.tpl'); include(dirname(__FILE__).'/footer.php'); ?>

 

I discovered that I can get to the store if I add "/index.php" to the URL. I contacted my webhost support people, and they are telling me the problem is a scripting issue, which I will have to correct from my end. Has anyone run across this before, and could help me with a solution? I am quite a bit of a novice with Prestashop and scripting in general, so please keep that in mind. Thanks in advance.

Link to comment
Share on other sites

Hi 3rtt,

This is actually an issue with the configuration of your webserver, and your host should be able to give instructions on how to make sure that your website properly redirects to /index.php

 

-Mike

 

Thanks for the reply Mike. I figured that might be the case. I actually contacted my webhosting service first, because when I first installed and did the preliminary configuration the website worked just as it was supposed to. The next evening, I went back to it to do more configuration, and discovered I was unable to access the site unless I added /index.php to the url. My webhost basically told me I'll have to figure it out for myself because it is an issue with scripting and not their problem. Could it be some command missing from the php.ini file on the webserver?

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...