⚠ 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

problem identifying error



normeno

normeno
  • profile picture
  • Member

Posted 10 May 2015 - 16:44 PM

Hello community!

 

I am using Codeigniter 3 and Grocerycrud 1.5.1. I purchased the template of Grocerycrud bootstrap, but the problem I have to do: set_theme ('bootstrap') and set_theme ('Flexigrid), so I do not think is the problem of template.

 

The problem is that when an error does not indicate what is wrong is happening, just said there was a mistake and I get error 500.

 

For example, if I specify that the password is required to required_fields ('usr_password'), the display does not indicate that because the password field is required simply says there is an error (view attached image)

 

[attachment=936:error_required.png]

 

 

If I see examples of http://www.grocerycrud.com/documentation/tutorial_basic_methods_2nd_part here you can see that clearly outlines the errors that are occurring (see image below)

 

required-fields-message.png

 

 

How I can show errors?
 
 
Thank you very much!

 

 


Paul Savostin

Paul Savostin
  • profile picture
  • Member

Posted 04 June 2015 - 13:49 PM

Hi! First all you need using developer tools in your browser. Best choise for me - Firefox, install 3 extensions - Web developer tool, Firebug and Firephp.

Then on the page turn on firebug and in window Network you will see all requests in a red color if any error - click on it and you will see error explanation!

If you can you may paste here code from controller more detailed and we will try to help