Postgresql ajax issue gives an invalid json response error

Postgresql ajax issue gives an invalid json response error

vaishnavkokavaishnavkoka Posts: 132Questions: 23Answers: 1

I have tried out the every solution mention in this linkhttps://datatables.net/forums/discussion/20796/ssp-class-php-for-postgresql but to my surprise i always got error - invalid json response.

here is my debugging report, Looking forward for a positive reply from your end

Thanks
Koka

Answers

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    The link provided in the error message gives diagnostic steps for the problem. Did you follow those steps?

  • vaishnavkokavaishnavkoka Posts: 132Questions: 23Answers: 1

    Yeah @tangerine Below is the code which i have used for ssp.class file(used mainly for json response)
    ssp.class.php
    serverSide.php

    Please let me know where did i go wrong?

    Thanks
    Koka

  • allanallan Posts: 63,464Questions: 1Answers: 10,466 Site admin

    If you follow the instructions in the tech note as @tangerine suggested, you would be able to see what the server is responding with. Likely it will contain an error message saying what is going wrong. What is that error message?

    Allan

  • vaishnavkokavaishnavkoka Posts: 132Questions: 23Answers: 1

    hey @allan , @tangerine Thanks for the support, as of now things are working fine.

    Regards
    Koka

This discussion has been closed.