- Posts: 2
- Thank you received: 1
Ask the community, share ideas, and connect with other LimeSurvey users!
if (gettype($user->password)=='resource') { $sStoredPassword=stream_get_contents($user->password,-1,0); // Postgres delivers bytea fields as streams :-o } else { $sStoredPassword=$user->password; }
if (false && gettype($user->password)=='resource') { $sStoredPassword=stream_get_contents($user->password,-1,0); // Postgres delivers bytea fields as streams :-o } else { $sStoredPassword=$user->password; }
Hi,kmc13 wrote: Thanks for your reply, I have just figured out.. It was the Postgres database that I hadn't set up correctly.. I had to define the Variable 'bytea_output' = escape and I also replicated the Privileges that were on the old DB.