Welcome, Guest
Username: Password: Remember me

TOPIC: [FIXED] I Cant Save any data

[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
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: ahmdaim@gmail.com

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

  • beasty1711
  • beasty1711's Avatar
  • Offline
  • New Member
  • Posts: 19
  • Thank you received: 1
  • Karma: 0
is it a quick fix that we can tweak a single file or is it going to need a full download?
The administrator has disabled public write access.

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

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
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
Last Edit: 19 Jun 2013 05:57 by admin.
The administrator has disabled public write access.
The following user(s) said Thank You: beasty1711

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

thank you a lot . it work fine
The administrator has disabled public write access.
Time to create page: 0.073 seconds

Get Started