Closed xx1182 closed 7 years ago
Were you following this?
As for the white screen when using test.php, delete .test_lockout in the same folder.
Yes i was following that. UPDATE: After running test.php withouth .test_lockout i recive different errors: 1: from the admin page 2: And when posting(tho it posts successful):
Also, what are the default passwords?
Well the first error can be changed just by modfying: The mysql api to the new mysqli, witch can be pretty fast. EDIT: Sure they changed a lot in php, this requires a lot of work for the new api, nevermind.
about the others i don't know because i'm a newbie in php
default account is username: admin password: guest
@RePod maybe we should add a config value to switch between mysql/mysqli? and default it to mysqli
A bunch of errors from the admin page: This seem like a really nice imageboard, in comparsion to other ones. Do you guys have the same errors? or is just me?
Also when i click an image(to larger it) it gives me 404.
Is debug mode on in your config? Those aren't necessarily errors, just PHP telling us we need to update some functions.
seems really nice
:3
Btw i don't know why when i click an image it doesnt diplay correctly and insthed gives me img not found. EDIT: LOL forgot permissions. And also you should implement a way to change admin password. EDIT: End the boardlist seems to display only in teh admin page
Did you rebuild the pages after changing the contents of the board list in the panel?
Saguaro and a lot of php scripts can't run on hostinger.
Find a better host.
@Apogate
maybe we should add a config value to switch between mysql/mysqli? and default it to mysqli
Or just drop MySQL, leave it in there for extreme backporting purposes, and update the PHP requirement to 5.x.
Without completely switching to it, it's hard to debug in such a way that they both work.
Currently test.php doesn't use SaguaroQL and uses MySQLi directly.
@xx1182
And also you should implement a way to change admin password.
For the time being, you can do it in test.php by modifying this section.
Also worth noting most of what you're calling "errors" are, as what Apogate mentioned, not specifically errors but instead suggested improvements for things that will be errors in the future. Things shouldn't just be breaking if everything is configured properly.
@RePod So is my site currently using mysqli?
No. When I made test.php I didn't even consider using the old MySQL.
Therefore, test.php uses pure MySQLi and imgboard.php uses whatever is loaded (MySQL by default). By extension, if a server can't make it past test.php without a problem there's very little hope for the actual board (especially after we force MySQLi).
@RePod How will I convert the database if I even have to?
Nope.
I don't know if this has to do with the imageboard, but whenever i make a post the image uploaded (the one in src) get 600 permissions..(owner only)
we'll push a fix for that in the new regist
@xx1182 It might be a problem with the host. Before I bought a host I used older versions of saguaro on hostinger and they worked fine: http://saguaroimgboard.tk/download/
New regist handles this differently, gonna go ahead and close this 1.5 year old issue
First of all, when i run test.php it seems to work, but it remain a blank page. Second: when i try to make a post a bunch of errors appear. Any solution?