Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

[FIXED] I Cant Save any data 16 Jun 2013 13:26 #7493

Hello

I Cant Save any data .. when i add new item . then click save
error occur


Fatal error: Call to a member function get() on a non-object in /home/cook/sites/www.j-cook.net/public_html/sandbox/cms25/administrator/components/com_demo9232/classes/controller/item.php on line 650
Error : Call to a member function get() on a non-object

thank you for helping

Please Log in or Create an account to join the conversation.

Re: I Cant Save any data 18 Jun 2013 16:15 #7562

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
Fixed.
Coding is now a piece of cake
The following user(s) said Thank You: ahmdaim@gmail.com

Please Log in or Create an account to join the conversation.

Re: [FIXED] I Cant Save any data 19 Jun 2013 04:50 #7572

is it a quick fix that we can tweak a single file or is it going to need a full download?

Please Log in or Create an account to join the conversation.

Re: [FIXED] I Cant Save any data 19 Jun 2013 05:56 #7573

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 986
In classes/controller/item.php :
save() function :

change two occurences of :
$this->input-> ....
to
$app->input-> ....

Doing this it becomes compatible for all.
Coding is now a piece of cake
The following user(s) said Thank You: beasty1711

Please Log in or Create an account to join the conversation.

Last edit: by admin.

Re: [FIXED] I Cant Save any data 19 Jun 2013 11:19 #7577

thank you a lot . it work fine

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.092 seconds

Although I found this tool some time ago I just started learning experimenting and building this first component on Monday and now on Thursday afternoon it's already online. Although I already had a working version done with another tool this is much easier to build and at the end you have the freedom to own your own component. Once you know how to use Cook you will boost your productivity as the learning curve is really moderate compared to many other tools.
Giori (Forum)

Get Started