Jump to content

Php Notice After Upgrading


RAUser

Recommended Posts

I just upgraded from OpenAds 2.8 to Revive Adserver 3.0.2.  I have everything working fine, but my error log is now constantly logging this notice:

 

PHP Notice:  Undefined offset: 0 in /var/www/public/adserver/www/delivery/ck.php on line 3230

 

How can I fix or turn this notice off?

 

I'm using PHP 5.4.25-1

 

Thanks.

Link to comment
Share on other sites

  • 2 weeks later...

Not sure if this is the correct solution, but I changed line 3230 to get rid of the notice:

 

FROM:

$destination = MAX_querystringGetDestinationUrl($adId[0]);

 

TO:

if (!empty($adId[0])) {
$destination = MAX_querystringGetDestinationUrl($adId[0]);
}
 

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...