pg_query error line 96 of index.php? [message #31268] |
Thu, 13 April 2006 19:36 |
itrebal
Messages: 1 Registered: April 2006 Location: Florida
Karma: 0
|
Junior Member |
|
|
Warning: pg_query() [function.pg-query]: Query failed: ERROR: syntax error at end of input at character 36 in /home/shrinks/public_html/FUDforum2/index.php on line 96
That is hte error I get when I first install it using postgresql. I am entirely unsure how to resolve it, and what caused it.
|
|
|
Re: pg_query error line 96 of index.php? [message #31275 is a reply to message #31268] |
Fri, 14 April 2006 20:24 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Can you access the forum's admin control panel, by going to
http://your_forum_url/admin/ ? If you can, check the query log and see what query failed?
If you cannot access the admin control panel look inside the forum's errors/ directory in there you'll find sql_errors file
FUDforum Core Developer
|
|
|
Re: pg_query error line 96 of index.php? [message #34310 is a reply to message #31268] |
Thu, 19 October 2006 06:25 |
redbaron
Messages: 3 Registered: October 2006 Location: Kazan
Karma: 0
|
Junior Member |
|
|
I've exact the same problem.
in sql_errors I've:
ERROR: syntax error at end of input at character 36<br />
Query: SELECT id FROM fud26_ses WHERE oid=<br />
_GET: array (
't' => 'login',
'adm' => '1',
)<br />
In PostgreSQL log file:
ERROR: 42601: syntax error at end of input at character 36
WHERE: yyerror, scan.l:762
STATEMENT: SELECT id FROM fud26_ses WHERE oid=
It seems like there is symbol to start new line after "oid=".
My env:
Postgresql 8.1.4
FUDForum 2.7.6 (zlib)
PHP 5.1.6
[Updated on: Thu, 19 October 2006 06:25] Report message to a moderator
|
|
|
|
|
|