readyshop Posted February 22, 2010 Share Posted February 22, 2010 Hi,I've correctly exsecuted the 5 steps to install but wen I try to go to back or front office i recive this error message :PHP Warning: require_once(/tools/smarty/Smarty.class.php) [function.require-once]: failed to open stream: No such file or directory in C:\WebSites\dolomitipromotion.it_kim6wznurscgi2ru\config\smarty.config.inc.php on line 3 PHP Fatal error: require_once() [function.require]: Failed opening required ‘/tools/smarty/Smarty.class.php’ (include_path=’.;C:\php5\pear’) in C:\WebSites\dolomitipromotion.it_kim6wznurscgi2ru\config\smarty.config.inc.php on line 3 I think it could be a problem with the path (include_path=’.;C:\php5\pear’) but I'm not able to correct itmy presta version in 1.2.5 folders and files permissions are correctPlease help :-) Link to comment Share on other sites More sharing options...
walxo Posted April 7, 2010 Share Posted April 7, 2010 on Windows server - /config/config.inc.phpreplace row:define('_PS_ROOT_DIR_', realpath($currentDir.'/..'));with your real directory: define('_PS_ROOT_DIR_', 'C://directory');Note: change backslashes '\' in windows path with slashes '/' Link to comment Share on other sites More sharing options...
hawkeye2 Posted May 28, 2010 Share Posted May 28, 2010 hello i have the same error. i have a hosting on windows server‘C://directory’); where can i see the path !?Thanks Link to comment Share on other sites More sharing options...
smilefish Posted August 2, 2010 Share Posted August 2, 2010 hi,i have the same errorPHP Fatal error: require_once() [function.require]: Failed opening required '/tools/smarty/Smarty.class.php' (include_path='.;C:\php5\pear') in D:\HostingSpaces\[myspace-on-hostingprovider]\wwwroot\config\smarty.config.inc.php on line 3 i haven't found anywhere where is the " define(’PS_ROOT_DIR‘, realpath($currentDir.’/..’)); " so i can rename the 'realpath'. Could you please help me? i used presta on linux hosting and everything was fine. Now i had to move on other provider with IIS, so i need help turning presta on (on win server).Thanks a lot.PS. using presta 1.3.1.1 Link to comment Share on other sites More sharing options...
smilefish Posted August 2, 2010 Share Posted August 2, 2010 just did it! it's NOT in config.inc.php, but in defines.inc.php hope this help others looking for it 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