⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Saved Data not being Displayed



imster
  • profile picture
  • Member

Posted 24 October 2012 - 14:25 PM

Hello Everyone,
I am having a problem. Lets say I edit a record and click update and go back to list and click the edit button for that same record I don't see the new data but the old data. For me to see the new data I literally have to refresh the page.
Also if i update a record and go back to list, the changes do not show in the list. I have to refresh the page.

Any suggestions?

Imran

imster
  • profile picture
  • Member

Posted 24 October 2012 - 15:16 PM

I also notice if i go to http://www.grocerycrud.com/demo/offices_management the same thing happens.

noskov.biz
  • profile picture
  • Member

Posted 25 October 2012 - 07:11 AM

Hi, imster!
Please, tell me what browser do you use? Does that happen in other browsers? Do you use some caching?

Best regards!

imster
  • profile picture
  • Member

Posted 26 October 2012 - 23:06 PM

[quote name='noskov.biz' timestamp='1351149111' post='3992']
Hi, imster!
Please, tell me what browser do you use? Does that happen in other browsers? Do you use some caching?

Best regards!
[/quote]

Hey noskov.biz!
I tried it in the latest versions of Google Chrome, Firefox, Internet explorer and its the same issue. The thing is we have a server that does caching so i'm not sure if that's causing the issue!

noskov.biz
  • profile picture
  • Member

Posted 27 October 2012 - 07:20 AM

Hi there!

It seems to me that somewhere in your code you have enabled CodeIgniter caching. And it makes the deal.

Try to find where caching is. It could be in the libraries that you autoloaded, in the libraries that you use along with grocery CRUD, in your controller or in the templating library (if you use it for project).

Cheers!