#7 SQL error from content mgr

open
nobody
None
5
2001-08-08
2001-08-08
No

I have installed AllCommerce 1.2.3 on WinNT.

Once having logged into the admin screen, I clicked on
the Content Manager link. The browser hung.

So, I executed admin_object.cgi, only to get the
following prominent errors (apart from a lot of uninit
messages:
DBD::mysql::st execute failed: You have an error in
your SQL syntax near '' at line 1 at
d:/zennsoft/web/os_allcommerce/lib/db_layer.pm line
1169.
DBD::mysql::st fetchrow_hashref feiled: fetch()
withour exectue() at
d:/zennsoft/web/os_allcommerce/lib/db_layer.pm line
1172.

So, I printed the query to get:

SELECT body FROM extraprop WHERE fieldname
= 'ac_language_sens' SELECT mdate, custid, browser
FROM sessions WHERE sid = Location: //login.cgi

This does not seem right. Something seems awfully
wrong.. why do I get two select clauses and
the "Location: //login.cgi" seems fishy.

Can you help me fix this, please?

Discussion