Yup the setting tabs is not working anymore after I enabled ad_cache_memcache module.

Anything wrong?
Must it work together with drupal memcache?

Regards

Comments

jeremy’s picture

Status: Active » Postponed (maintainer needs more info)

The ad_cache_memcache module is still rather rough around the edges. I recommend you disable it unless you have a solid understanding of both the Ad module and memcache itself.

No, it does not require Drupal's memcache module (as the .info file erroneously suggests). I had numerous usability fixes ready to be committed, but recently suffered a hard drive crash and lost them. Ugh, I'll pick it up again eventually.

The settings tab may break if you try to enable the ad_cache_memcache module without having memcache properly installed. Do you get any error messages? White screen? (If white screen, what shows up in your error_log?)

pramudya81’s picture

Hmm.. oke will disable the ad_cache_memcache for a while. I don't even know how to use it anyway.

Yes. It was a white screen and I found nothing on watchdog error log (...admin/logs/watchdog)

Regards

jeremy’s picture

If it was a white screen, then please look in Apache's error_log to find the error.

pramudya81’s picture

I am using Windows for development.
This one I found on C:\Program Files\Apache Software Foundation\Apache2.2\logs\error.log

[Mon Jun 23 16:45:48 2008] [error] [client 127.0.0.1] PHP Fatal error: Class 'Memcache' not found in C:\\XXX\\XXX\\sites\\all\\modules\\ad\\cache\\memcache\\ad_cache_memcache.inc on line 355, referer: http://localhost/XXX/admin/content/ad

NB: The XXX is for privacy purpose.

Regards

jeremy’s picture

That confirms that you do not have memcache properly installed on your server, which led to your white screen. (The module is being reworked so that it doesn't break everything when enabled on a system that's not configured for it.)

pramudya81’s picture

Hmm oke thanks for your confirmation on this issue. For a mean time I'll just disable it.

Regards

jeremy’s picture

Status: Postponed (maintainer needs more info) » Fixed

Fix committed. Ad_cache_memcache now reports useful error if memcache is not properly installed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.