blyz Posted September 1, 2008 Share Posted September 1, 2008 I have just bought this script nad got it running but i have lots of errors on the page, and i was told that i woudnt need php knowledge to run it, please help me get rid of these errors here is the link: http://www.tragedy2012.com/directory/index.php Thankyou. here are the errors Warning: include_once() [function.include-once]: URL file-access is disabled in the server configuration in /home/tragedyc/public_html/directory/templates/HeaderTemplate.php on line 393 Warning: include_once(http://www.tragedy2012.com/directory/ShowBanner.php?BannerType=468x60) [function.include-once]: failed to open stream: no suitable wrapper could be found in /home/tragedyc/public_html/directory/templates/HeaderTemplate.php on line 393 Warning: include_once() [function.include]: Failed opening 'http://www.tragedy2012.com/directory/ShowBanner.php?BannerType=468x60' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tragedyc/public_html/directory/templates/HeaderTemplate.php on line 393 Warning: include_once() [function.include-once]: URL file-access is disabled in the server configuration in /home/tragedyc/public_html/directory/templates/HeaderTemplate.php on line 426 Warning: include_once(http://www.tragedy2012.com/directory/ShowBanner.php?BannerType=120x60) [function.include-once]: failed to open stream: no suitable wrapper could be found in /home/tragedyc/public_html/directory/templates/HeaderTemplate.php on line 426 Warning: include_once() [function.include]: Failed opening 'http://www.tragedy2012.com/directory/ShowBanner.php?BannerType=120x60' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tragedyc/public_html/directory/templates/HeaderTemplate.php on line 426 Quote Link to comment https://forums.phpfreaks.com/topic/122292-just-bought-a-script-and-cant-install-properly/ Share on other sites More sharing options...
trq Posted September 1, 2008 Share Posted September 1, 2008 I would contact the vendor. Seems the script is trying to include files via a url, this is always poor practice as most (yours included) server configurations do not allow this. Quote Link to comment https://forums.phpfreaks.com/topic/122292-just-bought-a-script-and-cant-install-properly/#findComment-631527 Share on other sites More sharing options...
blyz Posted September 2, 2008 Author Share Posted September 2, 2008 i bought it off a freinds freimd, and he doesnt know php he is just selling it , is their a way to get round it? Quote Link to comment https://forums.phpfreaks.com/topic/122292-just-bought-a-script-and-cant-install-properly/#findComment-631952 Share on other sites More sharing options...
Exemption Posted September 18, 2008 Share Posted September 18, 2008 Uhm No not reallly if you didnt buy it direct.. The best thing to do is to re-write it..or abort it... w3schools.com Live it, Learn it, Code it Quote Link to comment https://forums.phpfreaks.com/topic/122292-just-bought-a-script-and-cant-install-properly/#findComment-645229 Share on other sites More sharing options...
Chicken Little Posted September 29, 2008 Share Posted September 29, 2008 I had a similar problem working with RSS feeds (a security issue with the server folks). The workaround was to change the php.ini settings for allow_url_fopen. The default setting is Off so it would have to be changed (i.e. allow_url_fopen = On). If that isn't possible, try using cURL. Quote Link to comment https://forums.phpfreaks.com/topic/122292-just-bought-a-script-and-cant-install-properly/#findComment-653246 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.