Closed Yushe closed 8 years ago
Is your board running from a subfolder of the root? Like, mysite.com/board
?
I had a problem recently where running it directly on the site root messed it up due to one of the automated config options.
I run it in a regular folder like all of my boards.
What's the redirected URL after accessing imgboard.php?
It just goes to index.html like usual.
What board?
A secret test board that I use for testing stuff before updating the boards.
I would highly suggest forking this repository (by clicking the Fork
button in the top-right corner of the page) to work on instead of mirroring our commits into your own (in favor of you other, outdated fork).
The direct benefit of doing this is you can fetch all our commits without mirroring them yourself.
It's hard to discern how you are modifying/tampering with the software and I refuse to support it otherwise starting now. And no, we simply cannot "trust you" to mirror our commits.
The reason I have it there is so it is easier to update the site without having to keep adding my own code back to it, also I have tried the one on this repo and mine they both have the same issue.
What modifications are you making that can be integrated with Saguaro natively? I'll look into adding them.
There just minor things like the footer and redtext that if you want I can make a pull for it.
I can whip up something for a custom footer. I don't know what redtext is referring to though.
The footer is the disclaimer and the link to the credits I use.
Redtext: https://github.com/Yushe/3ch/commit/a9c0a878015d763f51a00ba6b9888507d60e936a
[b][size=4][color=darkred]text[/color][/size][/b]
should product similar results.
Might need to shuffle around the order, since they're processed by how they're ordered in the actual file and not the string.
I'm going to bet this is safe to close? Probably. Yeah.
@Apogate Index generation is still not working for me for whatever reason.
@RePod I found the problem, I don't know how to update to mysqli so it is having problems connecting to the database because "mysql_connect()" is deprecated.
Try changing these lines in imgboard.php to:
require_once(CORE_DIR . "/mysql/mysqli.php");
$mysql = new SaguaroMySQLi;
Warning: mysqli::query() expects parameter 1 to be string, object given in /var/www/html/test/_core/mysql/mysqli.php on line 41
Catchable fatal error: Object of class mysqli_result could not be converted to string in /var/www/html/test/_core/mysql/mysqli.php on line 44
@RePod I got these errors on imgboard.php
Mind you, it hasn't been tested thoroughly. I need more information (like what's calling it, or what you're doing) to see why it's doing that.
The myql_connect() errors appear on admin.php.
mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /var/www/html/test/_core/mysql/mysql.php on line 13
Also the ipnotes table hasn't been created yet because mysql error 1071.
Index generation still seems to not be working.