Active
Project:
Media: YouTube
Version:
6.x-1.2
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Nov 2010 at 14:20 UTC
Updated:
26 Jul 2012 at 22:07 UTC
In the upgrade to the latest 6.x-1.2 I got errors in the process, and now when I try to edit an existing node with a cck emfiled + media_youtube I get a WSOD when saving the node. The same on saving a new node.
In my PHP error log I find this error:
PHP Fatal error: Cannot redeclare class Zend_Loader in /usr/share/php5/Zend/Loader.php on line 31
Can you help me?
Comments
Comment #1
gp.mazzola commentedIf I remove the ZendGdata directory from "/sites/all/libraries/" I have no more WSOD
Comment #2
Ross-Hunter commentedI had a similar problem, but this ended up working for me.
Around line 300 in media_youtube.module you will find
The default for $reset is false. I set it to true and then I was able to successfully upload videos. Then after it had successfully found the proper path to the Zend library I returned it to false, in order to prevent it from checking every time the module is called.
Hope this helps someone.
Comment #3
hongpong commentedbump - this issue should at least get documented. if you grab the Zend GData library and put it in /sites/all/libraries it works for me.
ie. download ZendGdata1.11.12, unzip that and put the ZendGdata1.11.12/library/Zend into the /sites/all/libraries/ -- so that Loader.php is right at sites/all/libraries/Zend/Loader.php .