| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Smarty Fatal Error? HELP!!! | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Smarty Fatal Error? HELP!!!
I just set up X-CART on my site and everything checked out fine in the install, but then at the end when it said to preview it, it came up with this error:
Fatal error: Failed opening required '//Smarty-2.3.0/Smarty_Compiler.class.php' (include_path='') in //Smarty-2.3.0/Smarty.class.php on line 1084 This comes up whenever I try accessing the customer directory or any other page. I wrote support last night and they wrote back with: That means PHP module can not include a file with Smarty class and you should correct include_path setting in php.ini. Try to set it to: include_path = ".:.." Unfortunately, I cannot modify the php.ini file. Is there any other way around this? Any help would be greatly appreciated. |
|||||||
#2
|
|||||||||
|
|||||||||
Make sure the Smarty-2.3.0/ directory exists under the root of the xcart/ install. Compare it with your .tgz file contents, you should be able to open it with winrar, or such.
The require_once(); in line 1084 of Smarty.class contains a require for the .class but doesn't find it, so make sure its intact and you shouldn't be having a problem. Did you get any [ERRORS] upon install? hth.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
Hello BOOMER,
THANK YOU for responding! When I installed the only thing that didn't say OK, was the magic quotes. When I started getting this error, I deleted the Smarty directory, and uploaded it in WS_FTP as auto detect mode. The Smarty-2.3.0 folder is located inside of the main cart install directory. Any other ideas? Jeff |
|||||||
#5
|
|||||||
|
|||||||
I turned magic_quotes on via an htaccess file in the cart directory. I deleted everything and did a fresh install and when it ran the checks, everything turned out OK this time. I then installed it via the Command Line after unpacking the tar file.
It is still coming up with this error. I would think there has to be a way around this because I image that most of the users of X-CART do not have a server just for their site so there must be some other way. I was told in a ticket last night that it isn't working because of the following: That means PHP module can not include a file with Smarty class and you should correct include_path setting in php.ini. Try to set it to: include_path = ".:.." However, I can't change the php.ini file because it would affect hundreds of accounts and I don't want to mess anything up. Any help would be greatly appreciated. |
|||||||
#7
|
|||||||
|
|||||||
Here is what mine is set to:
include_path .:/usr/local/lib/php |
|||||||
#9
|
|||||||
|
|||||||
AHHH! I need to get this working tonight and I can't wait until Monday for a reply from support.
This sucks! Thanks for your help though. I appreciate you trying to give some suggestions. Jeff |
|||||||
#10
|
|||||||||
|
|||||||||
You could maybe try and poke around on http://smarty.php.net mailinglists and docs and such. hth.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|