Sunday, March 18, 2012

[YouTube-API] [newbie] 500 error with InstallationChecker.php of Zend Gdata on linux

Hello All,

I have installed the ZendGdata PHP library into /var/www/html on my
local fedora machine. I am trying to learn to use the youtube API by
following the instructions at this link
http://code.google.com/apis/gdata/articles/php_client_lib.html.

Without any changes to the "include_path", i tried opening
InstallationChecker.php in my browser and i get an exception.

PHP Extension Errors Tested
No errors found
Zend Framework Installation Errors Tested

0 Exception thrown trying to access Zend/Loader.php using
'use_include_path' = true. Make sure you include Zend Framework in
your include_path which currently contains: .:/usr/share/pear:/usr/
share/php

SSL Capabilities Errors Not tested
YouTube API Connectivity Errors Not tested

Ok. Now thats pretty normal. Next, I append the ZendGdata library path
to "include_path" using the below code:
$clientLibraryPath = '/var/www/html/phplibs/ZendGdata/library';
$oldPath = set_include_path(get_include_path() . PATH_SEPARATOR .
$clientLibraryPath);

Now i get an Servor 500 error when trying to open
InstallationChecker.php :) thats strange to me. If this is a
permission issue, the page should not have opened before. Right? I
disabled these 2 lines of code and i get the same error i showed
above(which seems normal).

Any of you faced this issue? thanks in advance guys for your help...

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment