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.115 seconds

For starters it's just so easy to design an app in a way that I'm used to i.e. database first then views followed by customization. The fork system is pure brilliance from a developer standpoint as I can override things and still add and update my projects with minimal effort! Truly amazing to be able to build components in Joomla using incremental refinement without having to do everything by hand. Thanks for the great tool! I am so much more productive now than ever and I can't imagine building components any other way!!!!
Dave (Forum)

Get Started