Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

SQL: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax

More
2 months 4 weeks ago #255067 by mmilinovsky
Hi,
any news on this? Not being able to use multiple-choice-questions is very inconvenient. As I see this, my options are:
  • downgrade to a version where this bug does not exist. As it appears this must be a version before 6.1.x and I'm afraid of downgrading so far back because of possible database changes on the way from 6.0 (or before) to 6.4.xx
  • try to apply the mentioned fix ( bugs.limesurvey.org/view.php?id=19332#c79146 ), although this did not pass some tests
Any advice on how to handle this is welcome!

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 months 4 weeks ago #255072 by DenisChenu

If i use PG : i surely do this.
And try to help on the test (i clearly not understand too …)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

  • mferraz
  • mferraz's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 2 weeks ago #255606 by mferraz
Hi.

I guess I will give up this fix, and start a new LS installation from scratch.

Please Log in to join the conversation.

More
2 months 2 weeks ago #255616 by mmilinovsky
Hi mferraz,

as I understood the problem, it will also occur on a new installation with Postgres, but I may be wrong.

Please Log in to join the conversation.

  • mferraz
  • mferraz's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 2 weeks ago #255617 by mferraz
Hi

Yes, what I've meant was a new installation on a MySQL database.
The following user(s) said Thank You: mmilinovsky

Please Log in to join the conversation.

More
2 months 2 weeks ago #255618 by mmilinovsky
Ah, ok, I understand.

did you try the mentioned fix on your Postgres installation ( github.com/LimeSurvey/LimeSurvey/pull/3686/files )?

Please Log in to join the conversation.

  • mferraz
  • mferraz's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 2 weeks ago #255620 by mferraz
No, after two releases that simply made it impossible to use our installation I gave up...PostgreSQL should be removed from Limesurvey support.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 months 2 weeks ago #255621 by DenisChenu
I have the last version working with PGSQL.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.

Please Log in to join the conversation.

  • mferraz
  • mferraz's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 2 weeks ago #255625 by mferraz
I tried again, the last version, I'm asked for the database upgrade, and:
An non-recoverable error happened during the update. Error details:
CDbCommand failed to execute the SQL statement: SQLSTATE[42804]: Datatype mismatch: 7 ERROR: column "user_status" cannot be cast automatically to type integer HINT: You might need to specify "USING user_status::integer".

Please Log in to join the conversation.

More
2 months 2 weeks ago #255629 by mmilinovsky
Hi mferraz,

isn't that a different error as the one in this thread, as this one happens not during installation but when trying to create a multiple choice question?

Please Log in to join the conversation.

  • mferraz
  • mferraz's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 months 2 weeks ago #255630 by mferraz
This is on the login page when the database update is tried.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 months 2 weeks ago #255641 by holch

This is on the login page when the database update is tried.


did you try a completely fresh install or trying to "update/upgrade" your existing install? Because there could be a difference in behavior. Your existing database might be "messed up".

If I would have something to say at Limesurvey, I would probably provide any other database than MySQL as "experimental". But I don't have any say at LS. :-)

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: mferraz

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose