Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-02-2008, 09:31 AM
Junior Member
 
Join Date: Apr 2008
Posts: 1
Default Help with Zend_Gdata_YouTube class

Hi

I am working on retrieval of feed from utube by Zend_Gdata_YouTube class
It works fine locally . When i installed it in server it gives fatal error

"PHP Fatal error: Cannot access protected property Zend_Gdata_YouTube::$_registeredPackages in /usr/local/lib/php/Zend/Gdata/App.php on line 120"

What can cause this problem.
Can any one help with this please

thanks in advance .
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-02-2008, 10:21 PM
Junior Member
 
Join Date: Mar 2008
Posts: 15
Default

I dunno if you've called a protected variable directly outside the class. , but when I check the code

Looks like the error is from those lines ( as you said from your post above )

PHP Code:
    public function registerPackage($name)
    {
        
array_unshift($this->_registeredPackages$name);
    } 
It will be helpful to solve problem together if you can post your codes here.

Last edited by iroy2000 : 04-02-2008 at 10:26 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:08 PM.