Yii Framework Forum: [Solved] Call to a member function publish() on a non-object in CClientScript.php - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Solved] Call to a member function publish() on a non-object in CClientScript.php How can i fix for now? Rate Topic: -----

#1 User is offline   zyphers 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 62
  • Joined: 04-March 10

Posted 28 April 2010 - 10:55 PM

Hi there,

Here is my situation.
I work with my friend. We share source code via SVN. For now the codes that I work in my PC is working just fine. But when my friend updates codes from SVN she got the problem. And this is the problem. I think our codes are exactly the same.

Quote

Fatal error: Call to a member function publish() on a non-object in C:\AppServ\www\project\framework\web\CClientScript.php on line 331


I think our codes are exactly the same. I searched internet and I found out this but for now how can I fix this?

Thanks in advance.
0

#2 User is offline   Mike 

  • Elite Member
  • PipPipPipPipPip
  • Yii
  • Group: Members
  • Posts: 3,017
  • Joined: 06-October 08
  • Location:Upper Palatinate

Posted 29 April 2010 - 02:16 AM

View Postzyphers, on 28 April 2010 - 10:55 PM, said:

I think our codes are exactly the same. I searched internet and I found out this but for now how can I fix this?


... by reading the comment on the link you postet: ;)

Quote

Solved, this error raises when the assets directory is not writeable.
Maybe there is a possibility to display an error message with that?

0

#3 User is offline   zyphers 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 62
  • Joined: 04-March 10

Posted 29 April 2010 - 02:19 AM

Amazingly ... I didn't see it at the first time until you told me.
Sorry for my careless and thanks for your help.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users