When I activate the module components, all my sites pages become blank. As soon as I remove the module from the sites/all/modules directory, the site comes back up. When I reinstall it, same thing. Because my modules page goes blank when the module is reinstalled, I have no way to deactivate some of the components to test which one(s) are causing the issue.

Also have Mapping Kit installed and active, so maybe there is conflict there. Just guessing.

Comments

PeterSprague’s picture

Got Mapping Kit deactivated, and reinstalled Openlayers. Comes up in Modules page and activated it without my site pages going blank. Then when it requested to activate various Mapping Kit modules, everything went blank again once I answered yes to activate the modules.

phayes’s picture

Hmm.. I can't seem to reproduce this bug. What is the specific name of the module that causes it to blank? OpenLayers, OpenLayers CCK, OpenLayers map client?

I do notice that mapping kit is invading our namespace with some functions that start with openlayers_, but looking at them I can't see them causing problems.

phayes’s picture

Oh, and what version of mapping kit are you running?

tmcw’s picture

Indeed, Mapping Kit is not very cooperative as far as fixing the obvious namespace conflict. I've rolled a patch and will see if he responds, otherwise I'll shoot a note to the higher-ups.

In the meantime, can you change the value of your PHP's error reporting so that we can see if there is a fatal error that's causing the blank pages?

PeterSprague’s picture

Uninstalled Mapping Kit 6x-1.4, rm from modules. When cp openlayers to modules directory all my site pages come up blank once I refresh the modules page.

Did a uninstall of Mapping Kit, rm both from the modules directory, ran update.php, reinstalled openlayers 6x-1.0 (had tried 2.0, but gave the same results - blank pages), ran update.php again, turned on only openlayers base -> no blank pages. Turned on other openlayer modules and no blank pages. Also did not ask to activate the mapping kit modules.

Things seem to be fine for now. Will try with Mapping Kit later if I still need some of the features.

Have no idea why it now works other than running the update.php. ???? Maybe it "cleaned" out some remnants of the Mapping Kit that were causing the conflict???

phayes’s picture

Status: Active » Fixed

Glad to see things are working now. Will mark as fixed for now - re-open if you can track this down more specifically and there are still bugs.

Status: Fixed » Closed (fixed)

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