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

1 Name: !WAHa.06x36 : 2007-10-11 06:19 ID:K4vOYfq0 [Del]

This thread is for all your simple questions about installing and running Wakaba or Kareha, that just require quick answers. Please don't create new threads for issues like that, post them in here instead.

Before posting, check that the question has not already been answered in this thread, or in the previous thread: http://wakaba.c3.cx/sup/kareha.pl/1141929669/

Questions about "500 Internal Server Errors" go in this thread: http://wakaba.c3.cx/sup/kareha.pl/1109033191/

273 Name: Anonymous : 2008-05-28 22:39 ID:+2TBumzq [Del]

Alright, I'm sorry but I just have a few questions. First off, how do I set up multiple boards. I understand HTML directories and etc, but I don't understand what files need to reside where. Do I need ALL the files for each board? Right now I have a working install, can I just duplicate this, dropping it in folders (one dir down from where it is now) and then create an index.html linking to each of these? Or can I have one copy of some files in the / and duplicates of others? I have no idea why each board would need its own config, CSS, and etc if they are going to be the same. Thanks for your time.

274 Name: Anonymous : 2008-05-29 03:09 ID:Heaven [Del]

>>273

use constant CSS_DIR => '../css/';

The configs won't all be the same; at the very least you need to change the table name, unless you really want all of the boards to share the same posts as well for some perverse reason. Also, symlinks are your friend.

275 Name: Anonymous : 2008-05-29 12:26 ID:Heaven [Del]

> The configs won't all be the same; at the very least you need to change the table name

unless you're using kareha, >>273 didn't say if he's using wakaba or kareha.
you'd still probably want to change the board title, tho. so you'll probably still have separate configs for each board.

276 Name: Anonymous : 2008-05-29 13:43 ID:+2TBumzq [Del]

Thanks! I'm sorry that I forgot to mention that I am using Kareha. One more questions, what about the scripts? Do I need duplicate scripts each folder? Do I need the scripts in the root folder? I'm sorry for not understanding much of this. From googling symlinks I found out that they are similar to an alias, which I do understand with my mac background, but I'm not sure how to create one on my server. Thanks for all your help.

277 Name: Anonymous : 2008-05-29 17:21 ID:Heaven [Del]

Ah. If you have shell access you can make a link with ln -s existing_file new_name. Don't know if it's possible with ftp though.

Barring that, basically just make a complete installation for each board, and move all the stylesheets and spam.txt up a level. No harm in making complete copies of everything, it's just a little more difficult to make changes across the whole site (e.g. upgrade).

278 Name: Anonymous : 2008-05-29 22:15 ID:+2TBumzq [Del]

Thank you, for all your help. I don't have ssh access or anything like that, so while working though FTP I just decided to make duplicate files in my directories. I am only trying to set up one board right now, but it is failing pretty hard. I don't want to use any of those stylesheets, so I made my own. I changed default stylesheet to the filename of mine -.css. and placed it in the correct directory. I honestly don't care if the others are options on the page, but I do want mine to be default. Well, when I browsed to kareha.pl it made my html page, and that seemed to work fine, but when I moved all the files (except /CSS and /spam.txt) down a directory it didn't (from / to /b/). I changed the config to ../CSS and ../spam.txt. After that, my index.html wouldn't display with any stylesheets. I don't understand what I'm doing at all. I know XHTML, but not JS, perl, or PHP. I want to customize the page layout, and have no idea how to do this. I don't want the subject field, or the link field. I can't just edit the HTML, that seems to work, but then it screws something up. I have tried around 10 different installs and they all have some problem.

279 Name: Anonymous : 2008-05-30 22:58 ID:Heaven [Del]

> Well, when I browsed to kareha.pl it made my html page, and that seemed to work fine, but when I moved all the files (except /CSS and /spam.txt) down a directory it didn't (from / to /b/). I changed the config to ../CSS and ../spam.txt. After that, my index.html wouldn't display with any stylesheets.

try deleting index.html and browsing to kareha.pl again after moving the files and changing the config.

> I want to customize the page layout, and have no idea how to do this. I don't want the subject field, or the link field. I can't just edit the HTML, that seems to work, but then it screws something up.

try editing templates.pl.

280 Name: Anonymous : 2008-06-01 09:53 ID:2vbzzEho [Del]

One of my threads (on a wakaba board) isn't bumping and it's important (thus I need it to). What's up with that? It's not even an old thread.

281 Name: !WAHa.06x36 : 2008-06-01 13:21 ID:Heaven [Del]

>>280

Does it have more posts than the bump limit?

282 Name: Anonymous : 2008-06-02 01:10 ID:2vbzzEho [Del]

>>281
Thanks, that was exactly it.

283 Name: Anonymous : 2008-06-03 20:33 ID:Ut7NeexG [Del]

Has anyone written a script to convert from wakaba to kareha and keep the old wakaba message base? Google is not being helpful.

284 Name: Anonymous : 2008-06-03 20:49 ID:Heaven [Del]

>>283
Probably not, Wakaba is superior to Kareha, why would you convert it?

285 Post deleted by user.

286 Name: Anonymous : 2008-06-03 21:06 ID:Ut7NeexG [Del]

>>284
I want to dump the database back end.

While we're at it, does anyone know how to add a "Report" button to either Wakaba or Kareha?

287 Name: Anonymous : 2008-06-04 03:51 ID:Heaven [Del]

>While we're at it, does anyone know how to add a "Report" button to either Wakaba or Kareha?

Do it yourself?

288 Name: Anonymous : 2008-06-04 18:10 ID:AEO3Mwbi [Del]

How would you add noko support to take you back to the thread you posted in when that's in the email field?

289 Name: Anonymous : 2008-06-04 22:51 ID:Heaven [Del]

>>288
click the back button after you post?

290 Post deleted by user.

291 Name: Anonymous : 2008-06-05 02:43 ID:Heaven [Del]

(Note: untested code.)

In wakaba.pl, line 600-ish:

- make_http_forward(HTML_SELF,ALTERNATE_REDIRECT);
+ if ($c_email eq 'noko') {
+ make_http_forward(RES_DIR.($num or $parent).PAGE_EXT,ALTERNATE_REDIRECT);
+ } else {
+ make_http_forward(HTML_SELF,ALTERNATE_REDIRECT);
+ }

Kareha is slightly trickier, but still not difficult.

292 Name: Anonymous : 2008-06-05 18:51 ID:eho4jHIG [Del]

>>291

Doesn't work, however I tried something different based off of what you did (in a way).

Replace (around line 600):

	make_http_forward(HTML_SELF,ALTERNATE_REDIRECT);

With:

	my $noko;
my $noko2;
if($parent)
{
$sth=$dbh->prepare("SELECT num FROM ".SQL_TABLE." WHERE timestamp=? AND comment=?;") or make_error(S_SQLFAIL);
$sth->execute($time,$comment) or make_error(S_SQLFAIL);
$noko = $parent;
$noko2 = '#'.($sth->fetchrow_array())[0];
}
else
{
$sth=$dbh->prepare("SELECT num FROM ".SQL_TABLE." WHERE timestamp=? AND comment=?;") or make_error(S_SQLFAIL);
$sth->execute($time,$comment) or make_error(S_SQLFAIL);
$noko = ($sth->fetchrow_array())[0];
}

if($c_email eq 'noko')
{
make_http_forward(RES_DIR.$noko.PAGE_EXT.$noko2,ALTERNATE_REDIRECT);
}
else
{
make_http_forward(HTML_SELF,ALTERNATE_REDIRECT);
}

It may be bulk and able to be done in less lines of code, but this works perfectly.

293 Name: !WAHa.06x36 : 2008-06-06 03:37 ID:Heaven [Del]

>>292

If you're using MySQL, there should be a function for getting the value of the autoincrementing column of the last update. You could use that instead of the unwieldy SELECTs.

294 Name: Anonymous : 2008-06-06 04:12 ID:eho4jHIG [Del]

	if($parent) { build_thread_cache($parent); }
else # must find out what our new thread number is
{
if($filename)
{
$sth=$dbh->prepare("SELECT num FROM ".SQL_TABLE." WHERE image=?;") or make_error(S_SQLFAIL);
$sth->execute($filename) or make_error(S_SQLFAIL);
}
else
{
$sth=$dbh->prepare("SELECT num FROM ".SQL_TABLE." WHERE timestamp=? AND comment=?;") or make_error(S_SQLFAIL);
$sth->execute($time,$comment) or make_error(S_SQLFAIL);
}
my $num=($sth->fetchrow_array())[0];

if($num)
{
build_thread_cache($num);
}
}

is what I used as a base for it. I'm not very good at Perl, so I'm just happy it works.

295 Name: !WAHa.06x36 : 2008-06-06 04:44 ID:Heaven [Del]

>>294

I had to do that because I don't want to rely on MySQL-only features, but if you're doing something for a specific server, you can get away with it. Read the docs for DBD::mysql to find the function in question.

296 Name: ASef4h5j6k6l (moved from other thread) : 2008-06-06 09:56 ID:Heaven [Del]

I've been having some trouble installing wakaba...
When I try to open up wakaba.pl in the web browser it comes up with this error:

Forbidden

You don't have permission to access /public_html/wakaba.pl on this server.

I am running wakaba under Apache in Ubuntu 8.04 using Perl 5.8.8 and MySql. Wakaba is currently placed in /var/www/public_html and httpd.conf has been edited to add the lines:

Options +ExecCGI
AddHandler cgi-script .cgi .pl

It's clear that Apache has recognised the scripts as CGI perl files as when I click on them(and it comes up with that error) it also shows:

Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.1 with Suhosin-Patch mod_perl/2.0.3 Perl/v5.8.8 Server at localhost Port 8

What should I do about this problem, would you like more information.

This is my first post, and I have looked beforehand for an existing topic, and if I have repeated something, I apologise.

297 Post deleted by user.

298 Name: !WAHa.06x36 : 2008-06-06 09:58 ID:lpemlo1D [Del]

First off, you should not be using mod_perl, if you are. Second, does the webserver have access to those files? Did you set the permissions correctly?

299 Name: Anonymous : 2008-06-06 09:59 ID:Heaven [Del]

>>296
Check your file permissions and error logs.

> I have looked beforehand for an existing topic

Not enough, evidently ;)

300 Name: ASef4h5j6k6l : 2008-06-06 10:30 ID:fzQTe07X [Del]

ok, I'll uninstall mod_perl (via synaptic), and I have chmodded wakaba.pl and captcha.pl to 755.

but the error message persists.

Forbidden

You don't have permission to access /public_html/wakaba.pl on this server.

Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.1 with Suhosin-Patch Server at localhost Port 80

301 Name: ASef4h5j6k6l : 2008-06-06 14:03 ID:fzQTe07X [Del]

I've uninstalled mod_perl, it still comes up with the error.

302 Name: ASef4h5j6k6l : 2008-06-07 08:58 ID:fzQTe07X [Del]

Problem solved, I added:

ScriptAlias /cgi-bin/ /var/www/html/

    <Directory "/var/www/html/">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
AddHandler cgi-script .pl
Order allow,deny
Allow from all
</Directory>

to /etc/apache2/sites-available/default
and this:

AddHandler cgi-script .cgi .pl

to apache.conf
and loaded the module using:

sudo a2enmod perl

I then restarted Apache and hey presto! the wakaba.pl script loaded up!
I think the source of the problem was not adding the code to /sites-available/default as this defines /var/www/html/wakaba as a directory that can run perl.

303 Name: Anonymous : 2008-06-07 22:08 ID:kJqIM+0e [Del]

>>286
this has been done along with overhauling the mod panel to something sane

304 Name: Anonymous : 2008-06-08 06:20 ID:Heaven [Del]

Regarding the "KEEP_MAINPAGE_NEWLINE" thing again.

Is there any way to make it works when viewing threads?
I have tried to do like this:

>},1;

at the end of THREAD_HEAD_TEMPLATE but when I try to post again it just output:

><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

instead of the comment. Is there any way to do this?

305 Name: !WAHa.06x36 : 2008-06-08 07:48 ID:Heaven [Del]

> Is there any way to make it works when viewing threads?

In Kareha? No. The script finds threads by loading single specific lines from the file. Everything breaks if you mess with that.

306 Name: Anonymous : 2008-06-08 07:55 ID:Heaven [Del]

>>305
I see. Thanks. ;)

307 Name: Anonymous : 2008-06-11 22:11 ID:hhQp7lKX [Del]

Two simple queries:
Am I correct in thinking that of Wakaba, Kareha and Kusaba, only Kareha can have dynamically generated 2ch style "show last 50 posts" (eg http://wakaba.c3.cx/sup/kareha.pl/1192108766/50)? I was looking to integrate most recent posts embedded into other parts of the site using this feature, so it seems only Kareha will do using this method.

Particularly in Kareha, is there a simple way of flagging a thread undeletable, so it could be left alone at the end of the board without any danger of it being deleted? I was looking to tie certain threads into the site, so I don't want them being deleted.

Thanks.

308 Name: Anonymous : 2008-06-12 04:38 ID:Heaven [Del]

>>307
IIRC Kusaba had "first 100" and "last 50" links in that giant mess of useless buttons it adds to every thread. You can do something similar with Wakaba when it's rebuilding the thread page -- just prune the thread after writing the res/*.html file, and run the writer again with a new filename. You'd have to be fairly competent with Perl to hack that in, though.

If you're intending to mix threads in with non-thread content, I think it'd probably be easiest to use Wakaba and pull the threads with an SQL query elsewhere.

309 Name: Anonymous : 2008-06-13 06:20 ID:hhQp7lKX [Del]

>>308
Thanks, I more or less got something working.

Last problem I have is adapting the output to fixed width - for some reason a long line of text in a thread refuses to wrap to a new line (which screws up the display) despite me plastering max-width everywhere in the CSS, I presume I am missing the proper location for max-width in the CSS or style.pl? The page itself is now fixed width, but a long line just doesn't wrap fluidly like it should. The element is a blockquote, but the CSS does nothing to stop the line...
Last piece in the puzzle for me now...

310 Name: Anonymous : 2008-06-16 16:01 ID:QViPFfeE [Del]

How do you change the "Wakaba image board" title and link "Home" to a specific page?

311 Name: Anonymous : 2008-06-16 16:29 ID:QViPFfeE [Del]

Ok, I've gotten the "home" link sorted out myself, but I can't figure out how to change the "Wakaba image board" title on the first page.

312 Name: Anonymous : 2008-06-16 18:49 ID:Heaven [Del]

>>311 it's under Page Look.

313 Name: kyle : 2008-06-18 13:20 ID:1vfem5sA [Del]

i am trying to set up wakaba, but i am running into a problem. when i open the .pl in my browser all i get is the code o the screen.
i am thinking that my computer is not set up to execute perl.
how do i set it up to do so, i am using a mac?

314 Name: kyle : 2008-06-18 13:21 ID:1vfem5sA [Del]

i am trying to set up wakaba, but i am running into a problem. when i open the .pl in my browser all i get is the code o the screen.
i am thinking that my computer is not set up to execute perl.
how do i set it up to do so, i am using a mac?

316 Name: theming : 2008-06-30 18:29 ID:SyGDABBA [Del]

is there a guide to theming wakaba and kusaba?

317 Name: Anonymous : 2008-07-01 22:04 ID:Heaven [Del]

>>316 basic css?

318 Name: Mr Z : 2008-07-08 11:07 ID:iTL4tEeb [Del]

Hello, first thanks to the author for writing such great software.
Kareha question.
I have one working image board on my private host (Windows). I created a new dir where this board lives and extracted and setup all the files as before to give me a second board.

However when I run kareha.pl from this new dir it displays the title of my original board, says 'Thread specified does not exist.' and fails to create an index.php.
For the life of me I have no idea what's going on. I see no reason how is managing to display the title of my original board.

Before I move my original board to a separate dir I thought I'd ask for help. (Is it even possible to move a board and have its contents survive?)

319 Name: !WAHa.06x36 : 2008-07-09 04:36 ID:Heaven [Del]

>>318

You need to either delete index.html before running kareha.pl, or go to the admin page and click "Rebuild caches".

320 Name: Mr Z : 2008-07-09 13:38 ID:iTL4tEeb [Del]

>>319

Thanks, tried that and ran into a CGI error. Problem with the way my host is setup. m(_ _)m ~ギブ アップ

321 Name: kyle : 2008-07-12 23:31 ID:1vfem5sA [Del]

i am getting this error when i open the wakaba.pl from my browser...

install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: . /System/Library/Perl/5.8.8/darwin-thread-multi-2level /System/Library/Perl/5.8.8 /Library/Perl/5.8.8/darwin-thread-multi-2level /Library/Perl/5.8.8 /Library/Perl /Network/Library/Perl/5.8.8/darwin-thread-multi-2level /Network/Library/Perl/5.8.8 /Network/Library/Perl /System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level /System/Library/Perl/Extras/5.8.8 /Library/Perl/5.8.6 /Library/Perl/5.8.1) at (eval 409) line 3, <FILE> line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Proxy, SQLite, Sponge.
at /Applications/xampp/xamppfiles/htdocs/xampp/wakaba.pl line 45

and i have no idea what is going on with this.

322 Name: Anonymous : 2008-07-13 15:48 ID:Fv0FaogC [Del]

>>67

>make sure the id for the different fields in the management panel are the same as the ones in the normal post form. somewhere along the lines some things got changed and waha didn't apply the changes on the management panel.

I somewhat understand what you're saying to do, but I'm not sure which part to look in. By IDs, do you mean like "Field1" or something else?

323 Name: !WAHa.06x36 : 2008-07-13 19:34 ID:Heaven [Del]

>>321

Install DBD::mysql.

324 Name: Anonymous : 2008-07-24 23:08 ID:IPMxEGKM [Del]

hey WAHa, there is a small bug in kareha...

325 Name: Anonymous : 2008-07-25 04:22 ID:xe/tAICs [Del]

How do I delete a post I made? I mean I know about checking my post and the delete thing at the bottom, but it wont do it without a password. And it isnt filled in already and the only password thats given when making a post is just a series of dots.

326 Name: Anonymous : 2008-07-25 04:23 ID:xe/tAICs [Del]

How do I delete a post I made? I mean I know about checking my post and the delete thing at the bottom, but it wont do it without a password. And it isnt filled in already and the only password thats given when making a post is just a series of dots.

327 Name: !WAHa.06x36 : 2008-07-25 04:40 ID:Heaven [Del]

>>326

Don't disable cookies, or start typing in a password when posting.

328 Name: Gibs : 2008-07-25 18:48 ID:v89ET997 (Image: 427x640 jpg, 96 kb) [Del]

src/1217036932740.jpg: 427x640, 96 kb

I suddenly am having problems posting images on my site. nahc4.com

Basically if I post an image I get:
"Either this image is too big or there is no image at all. Yeah."
Im getting this on any image.. even a 30kb image. I can only post text on the site now. Does anyone have any ideas on why this is happening? I use dreamhost if that helps.

329 Name: Anonymous : 2008-07-26 07:38 ID:Heaven [Del]

>>328 do you have board-size limits set in config.pl? or a hard limit set with dreamhost?

330 Name: !WAHa.06x36 : 2008-07-27 10:59 ID:Heaven [Del]

>>328

Your server is probably blocking file uploads.

331 Name: Anonymous : 2008-07-28 08:32 ID:Heaven [Del]

>>328
I remember you... you spammed your site on every imageboard in the overchan about a year ago, right? And then it collapsed because you were runnning it on a crappy shared host with Draconian bandwidth limits.

332 Name: 超機 (moved from other thread) : 2008-07-28 15:17 ID:lpemlo1D [Del]

Is there an option (or a temporary hack) to perform secure erasure of unwanted images?
The shred is to be done regardless whether the deletion is invoked by user or admin.

Local laws are really tough on contraband.

333 Name: !WAHa.06x36 : 2008-07-28 15:20 ID:Heaven [Del]

>>332

There is no option, but if you can find a Perl module that does it for you, it'd be easy enough to search wakaba.pl for "unlink" and replace that with whatever secure deletion function you have. You could also make it call some external app to do it, using system().

334 Name: 超機 : 2008-07-30 16:09 ID:Rt5QcqQU [Del]

>>333
Thank you for your reply. The web host recommend storing everything in EncFS to make deletion unrecoverable. Not too sure about how true that concept is. I'll try to find that Perl module mentioned.

335 Name: Anonymous : 2008-08-01 01:26 ID:b5i8R9nR [Del]

my 'software error' if anybody doesn't mind helping

No ADMIN_PASS defined in the configuration at /usr/lib/perl5/5.8.7/CGI/Carp.pm line 314.

BEGIN failed--compilation aborted at config_defaults.pl line 133.

Compilation failed in require at kareha.pl line 13.

BEGIN failed--compilation aborted at kareha.pl line 13.

for each of these what do i change? like.. showing an example would be the most helpful and i know how to find all te documents for each except /usr/lib/perl5/5.8.7/CGI/Carp.pm

336 Name: Anonymous : 2008-08-01 07:02 ID:Heaven [Del]

>>335 you forgot to uncomment the lines in config.pl. remove the # from the very start of the line.

337 Name: Anonymous : 2008-08-01 13:53 ID:b5i8R9nR [Del]

>>336 there is no # and what does uncomment mean? i edited mode_* to mode_image.

now it says:

This board has not been configured yet.
Things you need to do to get the board running:
Choose what kind of board this should be, and copy the files out of the corresponding mode_image directory into the board directory.
Edit config.pl to suit your needs - remember to uncomment the lines you change.
Access kareha.pl again (or just reload this page).

also where is the board directory?

338 Name: !WAHa.06x36 : 2008-08-01 18:38 ID:Heaven [Del]

> also where is the board directory?

That's just the one where you're installing things.

339 Name: Anonymous : 2008-08-01 19:34 ID:b5i8R9nR [Del]

>>338 so.. the ftp publisher i assume...?

340 Name: Anonymous : 2008-08-01 21:07 ID:b5i8R9nR [Del]

ok, so i was at this step >>335

BUT THEN I FUCKED SOMETHIGN UP D:
how do i get back there?

341 Name: Anonymous : 2008-08-02 17:58 ID:ZwLVKPcu [Del]

I'm setting up a board using wakaba, when I'm done I have a couple hundred images I would like to upload to start the board off with. Is there an automated way to do this so I don't have to upload them one at a time??

342 Name: Anonymous : 2008-08-07 16:40 ID:vFpjSQXT [Del]

Hi, I know it's been answered before, but the description was a bit complex for me - I tried fixing it and screwed things up completely so I'd appreciate a quick walkthrough. It's the manager post problem, where it says the spam filters have been triggered every time. I edited futaba_style.pl, but only got it to let me post but only including an image and posting as anon. Help would be much appreciated.

343 Name: Anonymous : 2008-08-09 21:26 ID:Heaven [Del]

>>341 you could make a very specific hand-crafted SQL query.

344 Name: Anonymous : 2008-08-13 05:58 ID:v37lKKto [Del]

Okay, I've got a unique problem (Like as far as I have seen while browsing here.)

I have set up Wakaba correctly SQL and Database wise (meaning that there are no server errors and everything is in the right spot)

However, I get "Software error"s now. Here's basically what it looks like:

Software error:

config.pl did not return a true value at wakaba.pl line 16.
BEGIN failed--compilation aborted at wakaba.pl line 16.

config.pl and wakaba.pl are in the same folder and directory, but from what I'm reading (I'm a newbie at perl) is that the wakaba.pl script is claiming it cannot find the config.pl script, therefore not able to draw from it using the

BEGIN { require "config.pl"; }

found on line 16.
I have found above a line containing

use lib '.';

What do I have to do? The server is configured correctly, and my config file seems to be in order, my only guess is that little line (use lib '.';) must have something to do with it. If so, then what do I have to change it to, and if not, then what might be the problem?

345 Name: !WAHa.06x36 : 2008-08-13 06:09 ID:Heaven [Del]

>>344

No, it finds the file, but it is corrupt one way or the other. You may have deleted too much when editing it?

346 Name: Sobota : 2008-08-13 14:01 ID:1KZJdnFb (Image: 402x431 png, 53 kb) [Del]

src/1218661296759.png: 402x431, 53 kb

Hello, I am having a problem or two with setting up Kareha. Everything seems to be in place, but I keep getting the board not configured message. Here's how I have everything in place, am I doing something wrong here?

347 Name: Anonymous : 2008-08-14 05:14 ID:v37lKKto [Del]

>>345

I followed all the instructions included in the config file along with the setup guide provided here. Should I just try to upload a fresh config file (nonaltered) and just work my way up from there?

348 Name: !WAHa.06x36 : 2008-08-14 08:03 ID:Heaven [Del]

>>346

You need to actually follow the instructions and pick a board mode, and copy the files from that directory into place.

>>347

That sounds like a good idea to try.

349 Name: Anonymous : 2008-08-19 10:31 ID:Heaven [Del]

>>344

>config.pl did not return a true value at wakaba.pl line 16.

I'm not that experienced in Perl, but doesn't that error come from the 1; not being at the end of config.pl?

350 Name: !WAHa.06x36 : 2008-08-22 04:04 ID:Heaven [Del]

>>349

Yes, probably.

351 Name: Anonymous : 2008-08-23 19:36 ID:BprmktmD [Del]

Is there an easy method of adding Adsense to the left of the input table (the one in the middle of the screen, name, link, comments, file input, etc)? It looked like I could just copy/paste the code right into the Futaba_Style file, but it didn't work. Am I missing something?

352 Name: Anonymous : 2008-08-23 20:21 ID:Heaven [Del]

>>351
Basic html skills? Also ads are lame.

353 Name: Anonymous : 2008-08-23 20:40 ID:BprmktmD [Del]

On another note, I did add the 1 at the end of the compile lists, and it does keep the spaces in there, but still having issues having Adsense show up right next to the input area.

354 Name: Anonymous : 2008-08-23 20:53 ID:BprmktmD [Del]

>>352

No hard feelings about ads. On another note, I was trying to implement this into pearl, but I suppose I could just toss it into the html page. :p

355 Name: Anonymous : 2008-08-24 00:09 ID:Heaven [Del]

If you're going to do that, you might as well put it in templates.pl, because the first time you rebuild the cache all of that adding to the html page will vanish.

356 Name: Anonymous : 2008-08-24 01:26 ID:BprmktmD [Del]

>>355

Yup, figured that out after I re-cached lol.

I figured out how to place ads on my site, but they do not work in Firefox. I looked at other threads here, some say to turn off xhtml (set it to 0) which I did, that didn't work.

I'm looking at Wakachan, and somehow they are able to display ads in Firefox. I just don't know what they are doing differently than myself.

357 Name: Anonymous : 2008-08-24 15:26 ID:Ik3q1Abk [Del]

Ahhhh i've spent about 5 hours today trying to even start this thing!!1! So i've set up apache and got that "it works!" message in my browser..ok easy. Then i set up perl scripts - though im not sure how to test if this is working. blah blah blah i did everything and at the end it just displays code in my browser. Any useful links so that i can start over? ( except http://wakaba.c3.cx/docs/docs.html#WakabaQuickStart ) thanks

358 Name: Anonymous : 2008-08-24 18:24 ID:BprmktmD [Del]

>>357

  1. Set up your config file.
  2. Upload the contents to your FTP.
  3. Change your permissions, I just changed all of my .pl files to "755" in every single folder, but that's me. If your perl files do not have the proper permissions, it may not work at all.
  4. Open your browser to http://www.example.com/wakaba/wakaba.pl
  5. Should be working now.

Basically, if you just follow those steps as generic and simple as it sounds, it should be working.

On another note, I'm still waiting on some help with my Firefox issue with using ads lol. Not showing up in FF, yet shows up in IE.

359 Name: Anonymous : 2008-08-25 00:55 ID:BprmktmD [Del]

Well... I found out what the issue was after hours and hours of looking. The problem was simple. It was my htaccess file that was making it so it wouldn't show ads in Firefox. For future reference for anyone having this issue, be sure to check your htaccess file. :)

360 Name: Anonymous : 2008-08-25 05:04 ID:2PuoDa1/ [Del]

Hey, i was just wondering how to make a homepage when clicking home. As it currently links to my directory...

361 Name: Anonymous : 2008-08-25 10:13 ID:Heaven [Del]

>>360 use constant HOME

362 Name: Anonymous : 2008-08-25 11:12 ID:Heaven [Del]

>>360

If you're seriously asking us how to make a homepage, maybe you should learn a little more about websites before putting up an imageboard...

363 Name: Anonymous : 2008-08-25 12:35 ID:k4xr5kxY [Del]

of course i know how to make a homepage in theory but was just wondering if it was somehow already created, anyway obviously not...off to dreamweaver

364 Name: moot!Ep8pui8Vw2 : 2008-08-25 19:16 ID:Heaven [Del]

LOL

365 Name: JunkBox (moved from other thread) : 2008-08-26 04:27 ID:K4vOYfq0 [Del]

My webhosting server is being run by 'windows 2003 enterprise edition R2' that I can't change any permission as a user of the server. Host says it's because there's no problems running CGIs without permission setting on the OS.
But, finally what I found is this;

Software error:
Can't locate config.pl in @INC (@INC contains: . C:/Perl/site/lib C:/Perl/lib) at D:\userhome\junkbox\wakaba\wakaba.pl line 16.
BEGIN failed--compilation aborted at D:\userhome\junkbox\wakaba\wakaba.pl line 16.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

just as it is on here: http://hosting.ohseon.com/junkbox/wakaba/wakaba.pl

I seems like wakaba.pl couldn't read config.pl (I heard that it is usual problem on Windows that CGI programs don't read its config files.

Now, I'm waitting for the anser for this from my host.
But I' cant be so comfotable with this.

So, Anybody please help me solving this problem.

366 Name: Anonymous (moved from other thread) : 2008-08-26 04:28 ID:K4vOYfq0 [Del]

Okay so far im liking wakaba alot...but because i dont know anything about html or setting up websites at all, some stuff confuses me. So i was wondering, i still don't quite understand where to put the .html file craeted from the install. Atm it's in *chan.org/b(Wakaba)/imgboard.html which links from the home. problem is if you go to *chan.org/b/ you get the directory. How would i go about just showing the page? Also a final question is once i have done this, to add a navigation at the top of imgboard.html like [ b / c / d ] how can i go about this. Thanks. Anon.

367 Name: !WAHa.06x36 : 2008-08-26 04:33 ID:K4vOYfq0 [Del]

I wonder how big and blinky I will have to make that message at the top before people will actually see it? Anyway...

>>365

Windows webservers are a big mystery mostly, but you can try looking at what's been figured out in the past here: http://wakaba.c3.cx/docs/docs.html#RunningOnWindows,RunningOnIIS

Sounds like the current directory doesn't get changed to the board directory. A workaround for that should be in there.

>>366

There is no html file created from the tarball. You're definitely doing things all wrong. First, learn how to use CGI scripts. Then, try reading http://wakaba.c3.cx/docs/docs.html#WakabaQuickStart.

368 Name: Anonymous : 2008-08-26 08:07 ID:BAu9K0Wx [Del]

How can i go about making a side menu that sticks throughout a whole chan?

369 Name: Anonymous : 2008-08-26 13:01 ID:Heaven [Del]

Try Google.

370 Name: Anonymous : 2008-08-27 12:41 ID:HiPLzHMQ (Image: 579x774 jpg, 56 kb) [Del]

src/1219866098794.jpg: 579x774, 56 kb

where can i download Kareha?

371 Name: Anonymous : 2008-08-27 18:42 ID:Heaven [Del]

>>370
If you have to ask you aren't trying hard enough.

372 Post deleted by moderator.

This thread has been closed. You cannot post in this thread any longer.