Best Blackhat Forum

Full Version: Smarty????????
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi to all,i have a problem when i try to upload a new script on my site,i got this error every time :


Fatal error: require_once() [function.require]: Failed opening required 'c:\MyWeb/smarty/libs/Smarty.class.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/++++/public_html/madaisa.info/include/config.php on line 44
Hi,

The problem is located in 'c:\MyWeb/...', looks like ths script is calling a function in the wrong path...

You are mixing Windows and Linux/Unix path format there.

The proper path:

For windows:

'c:\MyWeb\...\...\'

For Linux/Unix (as I see this is the proper format for you):

'/.../MyWeb/smarty/libs/Smarty.class.php' (replace /... with proper path)

Also remember Linux / Unix is case sensitive. So, it´s not the same MyWeb than myweb.

If this is not your own script, check it before implementing, bacause this is strange

Hope this helps,
Reference URL's