Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Article Poll

Poll I found this article to be
Very Helpful
Helpful
Not Helpful
Not Very Helpful
[ Results | Polls ]
Comments:0 | Votes:0

Error Message When Running admin.pl

posted by Krow on 09:22 AM March 5th, 2001   Printer-friendly   Email story
MemoryDump writes "Hiya Guy!! After 2 days of playing I finally got SLASHCode running on my FreeBSD 3.2 box. WooHoo! Now my question/problem is when I run the admin.pl I can't seem to do anything since it's always asking me for the admin username and password after clicking on any Admin links. Now I've cheked the Slash Error logs and this is what it's telling me:
DBD::mysql::st execute failed: You have an error in your SQL syntax near '' at line 1 at Slash.pm line 1059. DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at Slash.pm line 1063.
Any ideas? Cause I'm stomped.
Thanks -MD"
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • by Anonymous Coward
    Because I don't think Slash.pm makes any direct SQL request. But I'm not familiar with how apache reports error either. I met with a similar problem earlier with 1.1.{4,5} which reads

    [-time field removed-] [error] Can't use an undefined value as an ARRAY reference at /usr/local/slash/site/localhost/htdocs/admin.pl line 1051.

    and i temporarily fix it by commenting out the offending condition checking line (suspecting extracolumns is a display only field)
  • by Anonymous Coward
    I am also having this problem; what's more, I didn't used to have this problem. The thing is, I'm not sure what changed!

    Somebody? Anybody? Heeeeeeelp!

  • Could be you have cookie problems.  It could be your crypt() is broken.  Try:

        perl -le 'print crypt("abcdef", "zyxwvu")'

    What does that return?