ERROR 500 autcomplete

QuestionsERROR 500 autcomplete
Joel Gomes asked 2 years ago

Hey guys
Hi just updated my code and added an autocomplete field, but i dont know why it gives me the 500:ERROR, ive tested the query and she is working fine, on the same grid i have another autocomplete and it works fine, ive tried with many other querys and fields and keep giving me the same error, can someone give me a tip of whats going on?

$col = array();
$col[“title”] = “Fornecedor”;
$col[“name”] = “fornecedor”;
$col[“hidden”] = false;
$col[“formatter”] = “autocomplete”;
$col[“formatoptions”] = array(“sql”=>”SELECT nome as v FROM fornecedores”,”search_on”=>”fornecedor”,”force_select”=>false);
$col[“editable”] = true;
$cols[] = $col;

2 Answers
Joel Gomes answered 2 years ago

Any idea how can i solve this?

Abu Ghufran Staff answered 2 years ago

Sorry for the delay. Best way to get details of Error 500 is to check php error logs. If you share that message, then someone can suggest some solution OR you may find solution yourself by reviewing it.

_________________________
Abu Ghufran - Dev Team
Grid 4 PHP Framework
 
Your Answer

19 + 11 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?