29.gif

Search (advanced search)
Use this Search form before posting, asking or make a new thread.
Tips: Use Quotation mark to search words (eg. "How To Make Money Online")

07-24-2012, 11:15 PM
Post: #1
Smarty????????
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
07-25-2012, 03:42 AM
Post: #2
Smarty????????
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,




35.gif
Free counters!