zend library installed. i can see the zend loader on my server where it should be. drupal doesn't

ed523 - July 8, 2008 - 03:52
Project:Video Upload
Version:5.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

i have a couple problems. for one, in the status report sees the zend framework as installed but then says it cant find the zend loader, possibly because the library isn't installed, which it is because i can see it on my server. also it says my youtube password, username or developer key failed even though they are correct. attached is a screenshot

AttachmentSize
scrrnsht.jpg134.43 KB

#1

jhedstrom - July 8, 2008 - 15:41

The message about the Zend Framework being installed isn't from this module. The message about not finding it is...if you follow the links in that error message there are fairly detailed instructions about installing it. It can either be installed locally (meaning in the same directory as the video upload module), or anywhere in the PHP include path. The module attempts to alter the include path so the library works properly in zend_gdata.inc:

<?php
function _video_upload_gdata_set_include_path() {
 
// include path must be modified
 
static $path;
  if (!
$path) {
   
$path = get_include_path();
   
set_include_path($path . PATH_SEPARATOR . drupal_get_path('module', 'video_upload'));
  }
}
?>

#2

ed523 - July 8, 2008 - 18:51

the zend folder was indeed in the same directory as the video upload module, so i deleted it and put the entire zendgdata 1.5.2 folder in that directory, and got this whenever i'd try to go to any administration page: Fatal error: Call to undefined function _video_upload_gdata_requirements() in /home/.drusilla/edreibs/mysite.com/sites/all/modules/video_upload/video_upload.module on line 827
so i'm going to delete that and put back the folder called zend which is in the library diretcory of the zendgdata folder

#3

ed523 - July 8, 2008 - 19:18

ok i put the zend folder back in the modules folder where it was and still get the same fatal error message and cant access the administration pages. i ran update.php and a page full of this: warning: include_once(zend_gdata.inc) [function.include-once]: failed to open stream: No such file or directory in /home/.drusilla/edreibs/rootsvisiondesign.com/sites/all/modules/video_upload/video_upload.module on line 14.

#4

jhedstrom - July 8, 2008 - 19:21

That last error you posted would imply that you are missing the zend_gdata.inc, which is packaged with the module. Are your file permissions such that Apache can read it?

Also, on the Zend libraries, you're right, it's the folder in the library directory called "Zend" which should be placed in the module directory.

#5

ed523 - July 8, 2008 - 19:24

ok, i just deleted the zend folder and ran update.php and still no change, cant access the admin section and get warnings on any page

#6

ed523 - July 8, 2008 - 19:35

i don't know why they wouldn't be. where do i check that? im using dreamhost...

#7

ed523 - July 8, 2008 - 19:37

should i go ahead and put the zend folder back in the mods directory?

#8

jhedstrom - July 8, 2008 - 19:57

The Zend directory should be in the video_upload directory. If it's up a level, the module won't be able to find it unless you modify zend_gdata.inc

#9

ed523 - July 8, 2008 - 19:59

ok there it is. run updat.php?

#10

jhedstrom - July 8, 2008 - 20:01

You shouldn't need to run update.php for this issue.

#11

ed523 - July 8, 2008 - 20:49

i still get Fatal error: Call to undefined function _video_upload_gdata_requirements() in /home/.drusilla/edreibs/rootsvisiondesign.com/sites/all/modules/video_upload/video_upload.module on line 827 when i try to accress the admin pages

#12

jhedstrom - July 8, 2008 - 20:51

Look at comment #4 above. The missing function is defined in a file that is part of the module. You appear to be missing that file, or the permissions aren't correct.

#13

ed523 - July 8, 2008 - 21:01

i have gdata.php and a folder called gdata but see no gdata.inc inside it or the root of zend. should i try to download the whole thing again?

#14

jhedstrom - October 2, 2008 - 15:39

Yes

 
 

Drupal is a registered trademark of Dries Buytaert.