When clear cache, adserver.inc returns a fatal error "Can't not access empty object in ../ad/adserver.inc in line 133

CommentFileSizeAuthor
ad module error.JPG35.11 KBthanhk39

Comments

ElGringo’s picture

The same thing is happening to me on my site.

sansui’s picture

Also having trouble when clearing cache. Haven't got ads to display yet

* Ad module failed to access cache sites/default/files/.1.ad.cache. Verify file permissions.
* Ad module failed to access cache sites/default/files/.2.ad.cache. Verify file permissions.
* Ad module failed to access cache sites/default/files/.3.ad.cache. Verify file permissions.
* Ad module file-cached data has been flushed to the database.

pingwin4eg’s picture

for #2: remove these files and let the module create new cache (by flushing cache or running cron)

bejii’s picture

I've tried this...and it didnt work. I even removed the module and still nothing. I am still getting: "Access denied" on all pages, despite the permissions being on top

john franklin’s picture

Status: Needs review » Active

Needs review is used when patches are posted.

lrwebks’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Drupal 6 is EOL and no longer supported. Closing this as outdated for that reason. Thanks for your contribution!