Jump to content

BladeXR

Members
  • Posts

    5
  • Joined

  • Last visited

BladeXR's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Nope, those folders are found in the root path of your prestashop installation. The problem is in the way the path is solved by the function in PHP. You must search under folder "config" for the file “config.inc.php”, then edit the file (I used wordpad) and search for the line: /* Directories */ define(’PS_ROOT_DIR‘, realpath($currentDir.’/..’)); And then change it in this way: define(’PS_ROOT_DIR‘, dirname($currentDir)); And save the file. It should work for you as it worked for me. Good luck!!!
  2. Actually, I think it could be related to IIS because I changed to Apache and the problem didn't appear anymore. I'm not pretty sure if the file still exist in the newest version. I will update my own version and see what happens.
  3. Well, I've found the problem. It was related to file "config.inc.php" under "config" folder, at least for windows OS as in my case. The issue was in the entry: /* Directories */ define('_PS_ROOT_DIR_', realpath($currentDir.'/..')); It seems that windows isn't getting the path as expected, so, I replaced the function "realpath" with the function "dirname" that gives the "root path" of the application. The line must be as follows: define('_PS_ROOT_DIR_', dirname($currentDir)); In my case, it solved all my headaches and now Prestashop is running smoothly on my own server. Hope this can help to others!
  4. Thanks Patric for your answer. However I've just replaced the file as you suggested but the problem persist. There's anything else I can try to solve this?
  5. Hello guys, I'm very excited with this E-commerce solutio, but I'm a begineer, and I got stuck after completing installation of PS 1.2.0.7 beta. I'm receiving the following error message in IE and Firefox: Warning: require_once(/tools/smarty/Smarty.class.php) [function.require-once]: failed to open stream: No such file or directory in E:\Websites\XYZ\config\smarty.config.inc.php on line 3 Fatal error: require_once() [function.require]: Failed opening required '/tools/smarty/Smarty.class.php' (include_path='.;c:\php\includes') in E:\Websites\XYZ\config\smarty.config.inc.php on line 3 I'm trying to run this application in my own dedicated server with the following general specifications: Windows 2003 RC2 IIS 6.0 PHP 5.2.10 MySQL 5.1.36 I've searched a lot in the internet trying to figure out where the problem is, but I have no idea. Please help! :-S
×
×
  • Create New...