The Wakaba and Kareha support thread, part 2 (1000)

721 Name: 0x000BLAh : 2009-10-25 17:25 ID:odn23zIS [Del]

server nginx/0.7.62

>[user@host o]# ls -g
>-rwxrwxrwx 1 nobody 9916 Окт 24 03:31 captcha.pl
>-rwxrwxrwx 1 nobody 12265 Окт 26 07:11 config.pl
>-rwxrwxrwx 1 nobody 8368 Окт 24 10:52 config_defaults.pl
>-rwxrwxrwx 1 nobody 894 Сен 12 2004 favicon.ico
>-rwxrwxrwx 1 nobody 2784 Окт 24 03:31 finish.pl
>-rwxrwxrwx 1 nobody 23633 Апр 16 2009 futaba_style.pl
>-rwxrwxrwx 1 nobody 592 Окт 24 03:31 getpic.pl
>drwxrwxrwx 2 nobody 176 Окт 20 02:40 include
>-rwxrwxrwx 1 nobody 819 Окт 22 06:32 oekaki_config.pl
>-rwxrwxrwx 1 nobody 1284 Окт 21 16:59 oekaki_strings_ru.pl
>-rwxrwxrwx 1 nobody 12665 Окт 22 06:33 oekaki_style.pl
>-rwxrwxrwx 1 nobody 1645 Окт 24 03:31 paint.pl
>-rwxrwxrwx 1 nobody 222502 Фев 26 2006 spainter_all.jar
>-rwxrwxrwx 1 nobody 2764 Фев 14 2006 spainter_normal.html
>-rwxrwxrwx 1 nobody 894 Сен 12 2004 wakaba.ico
>-rwxr-xr-x 1 nobody 48185 Окт 25 04:04 wakaba.pl
>-rwxrwxrwx 1 nobody 3072 Окт 26 07:13 wakaba.sql
>-rwxrwxrwx 1 nobody 32069 Апр 16 2009 wakautils.pl

wakaba.sql contains one empty table - tbl1

when iam trying to access wakaba.pl from browser it says

>Critical SQL problem!

perl says

>DBD::SQLite::db prepare failed: near "-": syntax error at /.../wakaba.pl line 1794, <FILE> line 5.
>DBD::SQLite::db prepare failed: near "-": syntax error at /.../wakaba.pl line 1794, <FILE> line 5.
>DBD::SQLite::db prepare failed: near "-": syntax error at /.../wakaba.pl line 1686, <FILE> line 5.

wakaba.pl

>1 #!/usr/bin/perl
>2
>3 use CGI::Carp qw(fatalsToBrowser);
>4
>5 use strict;
>6
>7 use CGI;
>8 use DBI;
>9
This thread has been closed. You cannot post in this thread any longer.