After updating Libraries API 7.x-2.1 to 7x-2.2 my public facing pages all have the white screen of death. However when reverted to the previous version seemed to work fine.

Comments

nathalia252’s picture

Category: Bug report » Support request
tstoeckler’s picture

Status: Active » Postponed (maintainer needs more info)

Thanks for your report.

Can you provide some sort of debugging information? I.e. can you turn on the Database loggin module and show what the Recent log messages page shows after the "White Screen of Death"? If that doesn't help your Apache logs would be very helpful. Otherwise, there's not much we can do I'm afraid.

nathalia252’s picture

The report states:

Notice: Undefined index: post-load integration files in libraries_load_files() (line 697 of C:\xampp\htdocs\local\sites\all\modules\libraries\libraries.module).

and

Notice: Undefined index: post-load integration files in libraries_load_files() (line 775 of C:\xampp\htdocs\republictt-local\sites\all\modules\libraries\libraries.module).

i am following this https://www.drupal.org/node/2193969 thread, applied the patch specified in comment 21# and cleared my cache (a couple times). I am not seeing any errors in my /dblog however i am still getting white screens and the apache logs are no help.

nathalia252’s picture

Status: Postponed (maintainer needs more info) » Active
tstoeckler’s picture

Status: Active » Fixed

Ahh, yes that sounds very much like #2193969: Undefined index: post-load integration files in libraries_load_files (solved: clear your cache). Can you try the latest development snapshot? I'm assuming that will fix the issue. Thanks!

nathalia252’s picture

I have uploaded the latest libraries module, and cleared my cache, however i am still getting a whitescreen for my public facing pages. I am able to access the backend fine but this time, i am not seeing any errors in my dblog and apache log.

If i revert to the 7.x-2.1, it works.

nathalia252’s picture

Status: Fixed » Active
tstoeckler’s picture

Priority: Critical » Normal

Okay, can you set your PHP error reporting so that errors are reported to the screen? Otherwise it's really hard to do anything remotely.

I.e. put something like

error_reporting = E_ALL
display_errors = On

in your php.ini

If that doesn't help, please report some additional information such as the PHP version, the output of phpinfo(), the Drupal core version, enabled modules, etc.

nathalia252’s picture

ah yes i was getting a fatal error because a function could not be redeclared. Enabling the error reporting allowed me to see the error. Thanks for your help @tstoeckler

nathalia252’s picture

Status: Active » Closed (fixed)