You are here: Call to undefined method Zend_Gdata_Entry::link() « PHP Programming Language « IT news, forums, messages
Call to undefined method Zend_Gdata_Entry::link()

Posted by noel.whelan@gmail.com on 11/16/07 15:52

I've been working through the zend gdata client lib example for google
base:

http://code.google.com/apis/base/samples/php/php-sample-zend.html.

I've installed the zend framework version 1.0.2 for this purpose. The
first issue I experience is when I copy google's example code, which
includes the line:

Zend_Loader::loadClass('Zend_Feed_EntryAtom');

I get the following error:

Fatal error: Uncaught exception 'Zend_Exception' with message 'File
"EntryAtom.php" was not found' in C:\php\Zend\Loader.php:159

If I look in the zend directory where I've isntalled the framework, I
notice there is no Feed\EntryAtom.php, but I've got Feed\Atom.php, and
Feed\Entry\Atom.php. I've therefore tried to include the following
lines in the code instead:

Zend_Loader::loadClass('Zend_Feed_Atom');
Zend_Loader::loadClass('Zend_Feed_Entry_Atom');

I get further with this (i.e., it goes through the login process,
etc.), but it then yields the following error:

Fatal error: Call to undefined method Zend_Gdata_Entry::link() in C:
\Inetpub\wwwroot\google\demo-zend.php on line 210

The cited line in the example code is:

$link_list = $feed_entry->link();

I've been looking for info on what else I ought to try, but I've found
nothing on it. I wonder if it's got to do with the version of the zend
framework I've installed being the latest one, in which case I'd only
need insight on the current equivalent of what's in the example code?

Thank you for any input..
- oeln

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация