[Return]

Report a post

Preview
>define("REF_URL", 'https://jump.kolyma.org'); // Leaving this blank will break URL's.
aww man

>>62254
I guess I can walk through how I got it to somewhat work

It seems to work out of the box on Apache with little to no modifications. The only changes I did were to change the MySQL username and password, then the board, as well as the referral cushion. And also set the admin password.
Finally, I added some footer text since one of the terms for using the script is to credit Heyuri.
define("FOOTTEXT", 'Heyuri.net is always the place to be. Also thank you KolymaNET for leading development on this script.');

I then also set CONNECTION_STRING to the proper database
// Database Settings
define("CONNECTION_STRING", 'mysqli://[username]:[password]@localhost/kokonotsuba/imglog/'); // PIO Connection string (MySQLi)
// Archive Database Settings (MySQLi)
define("ARCHIVE_HOST", 'localhost');
define("ARCHIVE_USER", '[username]');
define("ARCHIVE_PASS", '[password]');
define("ARCHIVE_DB", 'kokonotsubaarchive'); // Make the DB first!
define("ARCHIVE_TABLE", 'kokonotsubaarchive');
I, of course, changed everything in [brackets] to what it actually is.

I created the database
mysql

CREATE DATABASE kokonotsuba;

exit
I then chowned the script to www-data chown -R www-data /var/www/dev/kokonotsuba And also modified my php.ini for this since the server it was running on was mostly running perl scripts upload_max_filesize = 20M then restarting apache Next, I want to the install script and it errored out. Turning on display_errors in php.ini showed this:
Parse error: syntax error, unexpected ')' in [path-to-kokonotsuba-directory]/install.php on line 167
I put it into ChatGPT since I didn't feel like reverse-engineering the code and it gave a super convoluted answer that didn't make any sense. It turns out I did need to reverse engineer the code a bit after all. Simply put, you just need to remove the comma after $data[19] on line 166 So change
				$data[12], $data[13], $data[14], $data[15],
				$data[16], $com, $data[18], $data[19],
			);
to
				$data[12], $data[13], $data[14], $data[15],
				$data[16], $com, $data[18], $data[19]
			);
Now the installer will function as normal. This is what it looked like after clicking install. http://dev.world2ch.net/SorryIDontKnowWhereToPutTheseSoImPuttingThemHereIfThatsOkayAndCatboxIsDown/kokoinstaller.png The board then successfully installed and I was able to post like usual. http://dev.world2ch.net/SorryIDontKnowWhereToPutTheseSoImPuttingThemHereIfThatsOkayAndCatboxIsDown/PostingJustFine.png I then noticed there was an issue with the gallery: Photos were not showing up. They still were showing up on /src/, however, I quickly realized that they were converting to .png. Now there is definitely a way to fix that, but I haven't done that. http://dev.world2ch.net/SorryIDontKnowWhereToPutTheseSoImPuttingThemHereIfThatsOkayAndCatboxIsDown/Katalog.png Besides that, everything works just fine. I did have some issues with referral cushioners and quick reply (quick reply doesn't have a post button and referral cushions might be using the wrong sanitation). I was also having a bit of an issue logging in as an admin. I'll play around with it a bit more tomorrow. Regardless, in my opinion, TinyIB (at least at the current moment) is a way better option if you want an imageboard script that just works, although it has a lot less features. Also, here's the ceiling pic I used as a test because I know somebody would want to see it: http://dev.world2ch.net/SorryIDontKnowWhereToPutTheseSoImPuttingThemHereIfThatsOkayAndCatboxIsDown/Ceiling.jpg
Post number No.62266
Board Site Discussion@Heyuri
Optional. Describe what's wrong with it.