Quote
Code
define("FOOTTEXT", 'Heyuri.net is always the place to be. Also thank you KolymaNET for leading development on this script.');
// Database Settingsdefine("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 databasemysql 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
mysql CREATE DATABASE kokonotsuba; exit
Parse error: syntax error, unexpected ')' in [path-to-kokonotsuba-directory]/install.php on line 167
$data[12], $data[13], $data[14], $data[15], $data[16], $com, $data[18], $data[19], );
$data[12], $data[13], $data[14], $data[15], $data[16], $com, $data[18], $data[19] );