Installing jQuery plugins bricked my Drupal installation
| Project: | jQuery plugins |
| Version: | 6.x-1.6 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
I will preface this message by saying that I am a Drupal novice, creating a first site.
I have a Drupal 6.10 installation in which I am trying to use Slideshow Creator, which requires jQuery plugins. When I install and enable jQuery plugins the site crashed entirely (white screen, no output). By hitting the browser back button (going back to /admin/build/modules) and unchecking the jQuery plugins checkbox I was able to get the site running again. I tried this 4 times in slightly different ways, but it freaked me out to do so because of the chance of losing the site altogether. The fifth time, it never came back.
I have a large number of other modules (all approved for 6.10) running (mostly of the CCK variety, but also including jQuery Update and jQuery UI).
Is there the possibility for some interaction between these modules that could have croaked my site?
Is there any way to restore the site?
Does anyone else have a similar problem?
-W.

#1
white screens like that are apache errors, have you checked your apache logs?
typically it is an exhaustion of memory and you state you are using a lot of modules. That said, what is your memory limit set at?
#2
I have a hosted server so I am not certain what the memory allocation is for the account. The PHP memory limit is set to 96M. The error logs available through the control panel I have access to are just complaining about the lack of a favicon.ico file.
#3
I just installed the 1.6 version of this module on my test site and it did not give me a WSOD.
#4
Brutal as it may sound, out of desperation, I deleted the /sites/all/modules/jquery_ui folder from the server and now the site appears to be working again. Which raises an additional issue: how do I remove the ghostly traces of a once-installed module such as this? I'm sure it will just create internal 404 errors, even if they are suppressed to the end user...
#5
reupload it and use the uninstall tab in administer -> modules to ensure the database is cleared up then delete the module from the server.
#6
OK, will do, and thank you for the real-time help.
I suppose what I need to do is shut off some other modules and see if there is interaction between modules.
#7
Hmm, a problem with the recommended approach is that when I re-upload the files the WSOD returns, and no further interaction is possible.
#8
you would manually have to disable the module in the system table of the database by setting it's status to 0 .
#9
>> manually have to disable the module in the system table of the database by setting it's status to 0
Worked, thank you!
Now, as to why it does not work... Any takers?
#10
my money is on memory exhaustion. As the module enabled fine for me with 128M of memory.
If you don't want to boost the memory available to php, Disable a handful or modules. Preferably big ones.
try and enable jQuery plugins. If it enables, it's a memory issue. Can be solved by dropping some modules out of the mix, or upping the memory available on your server.
If it's a module conflict, you can disable modules one at a time trying to enable jQuery plugins
you may want to do these types of tasks on a test site, using a subdomain on the same server.
#11
Now that the site is working I'm looking at the Drupal error logs. I am seeing a bunch of PHP errors, but they are not with jQuery plugins, per se. They are with jQuery UI. The look like this:
file_get_contents(sites/all/modules/jquery_ui/jquery.ui/ui/minified/ui.core.min.js) [function.file-get-contents]: failed to open stream: No such file or directory in /home/collisi1/public_html/includes/locale.inc on line 1685.
Just looked into ui.core.js not minified or packed in UI release and it may in some way be related. There is no stated dependency, but it seems like the most obvious possibility since both modules deal with jQuery. Or is that a spurious assumption?
#12
I did not have the jquery.ui module installed.
One can disable the jquery.ui.module and see if you can then enable the jquery.plugins.module
#13
Yes sounds like you hit your PHP's memory limit. See http://www.google.com/search?q=memory_limit+site%3Adrupal.org
#14
I decided to rebuild my site from scratch and backups of key tables - it was messed up in many ways from experimentation. So with a fresh install, jQuery plugins loads just fine.
jQuery plugins is officially exonerated in my book. I will need to be more careful regarding memory in the future. Thanks for all the insights.