Error Under Postgresql

QuestionsError Under Postgresql
John Drummond asked 11 years ago

I get an outline of the table but no records, then the debug box, which says error. The debug box then lists what looks like some JSON format of the records in the database/ However, there is no means of knowing what the error actually is.

5 Answers
Abu Ghufran answered 11 years ago

Hello,

Only issue in your code looks to be the re-positioning of one line.

move: $out = $g->render() … before any html output. Because this function sometime return JSON for ajax calls and if you have sent HTML before this function (like site header or even space character), JSON format will be invalid (which will cause this error).

Regards,

John Drummond answered 11 years ago

Great! That solved the problem. It is a slight shame that "render" has to come first, but I can probably work around it. Thanks Abu!

migul answered 10 years ago

migrar version mysql to firebird ??????
sorry not english

I want to spend the whole grid with a firebird mysql
? you can easily change the driver ?

The clone not ok

Abu Ghufran answered 10 years ago

Firebird is not supported now.

Abu Ghufran answered 9 years ago

@miguel a molina Firebird & SQLite support has been added in latest build.
More here: http://www.phpgrid.org/support-firebird-sqlite-databases/

Your Answer

17 + 5 =

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?