Posted by beckyjohnson on July 2, 2009 at 4:01pm
Jump to:
| Project: | Video Upload |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
I am getting this error on my admin panel, even after I have uploaded zend to the module.
warning: include_once() [function.include]: Failed opening 'Zend/Loader.php' for inclusion (include_path='.:/Applications/drupal/php/lib/php:sites/all/modules/video_upload/providers/youtube') in /Applications/drupal/apps/drupal/htdocs/sites/all/modules/video_upload/providers/youtube/zend_gdata.inc on line 242.
Becky
Comments
#1
same problem, any answers?
#2
Same problem here also. Can anybody help?
#3
Looks like you didn't install right (or at all) Zend_GData.
Please check the INSTALL instructions of the module, and try again.
#4
Instal.txt:
" Extract the tar archive, and move the subdirectory library/Zend into this directory. For example:
mv ~/downloads/ZendGdata-1.x.x/library/Zend/ /path/to/drupal/modules/video_upload/providers/youtube
replacing 1.x.x with the actual version. The current build has been tested with 1.7.2.
-or-
b) Install the libary somewhere in the existing PHP include_path of the server. "
Actually I already have this installed in: sites/all/libraries/ZendGdata/library/Zend/
http://all.drumi.org/libraries/ZendGdata/ (note that this is a sub-domain pointing to the sites/all dir of another domain)
It should go in all/libraries so:
* other modules can use the same library
* not have to look inside all modules to find;
* monitor new releases & security patches easily;
* Libraries-module preparedness taking care of them
http://drupal.org/project/libraries
Not clear is what path in all/libraries then should be used and conform other modules that need to have it in the same path; think I have used the ZendGdata default dir structure (while that even might change on new releases). Then not clear is if I should remove some surplus files and directories, but suppose they are safe to maintain there.
You say "existing PHP include_path of the server"; I have a host account; how should I do that? Think it is not installed at the server, as I can only find about "Zend Optimizer" in the hoster's help pages.
If it is a real server install, it should never go into the module and not even inside any Drupal path like sites/all/libraries...
http://framework.zend.com/manual/1.10/en/zend.gdata.html - http://framework.zend.com/download/gdata
=> ?
#5
I agree that this is needed.
#6
I concur. In fact, for 2.x, I'd even be in favor of making that the only way to go.
#7
+1