We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

PHP Error

Development and Programming

mgreich's avatar
mgreich
8 posts
15 years ago
mgreich's avatar mgreich

I’m get the error below in my Forums. I have an advertising block implemented. Used this tutorial to implement an ad system throughout the entire site: http://subvert.ca/blog/archive/expressionengine-advertising/

It only shows (as is correct) to super admins and as far as we can tell not doing any major damage other than possibly not allowing us to track the ads properly.

Link to the site: www.dakotapreps.com

A PHP Error was encountered

Severity: Warning

Message: getimagesize(<img src="http://www.dakotapreps.com/ad-images/blank_leaderboard.gif" alt=""  />) [function.getimagesize]: failed to open stream: No such file or directory

Filename: libraries/Functions.php(639) : eval()'d code

Line Number: 1139

Does anyone have any idea what this could be?

Thanks in advance.

       
Greg Aker's avatar
Greg Aker
6,022 posts
15 years ago
Greg Aker's avatar Greg Aker

Looks like a plugin you’re using is not opening a file on line 1139 of your template. You’re probably accessing with a URL and not a system path.

       
Musa's avatar
Musa
124 posts
15 years ago
Musa's avatar Musa

getimagesize supports both (path and remote file), but remote file should be allowed from your configuration it disabled most of the hostings for security reason. I saw the file exists too. So update php config if possible or find an alternative way. or not to throw the error you can put @ sign before this function which isn’t a perfect solution though!

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.