saguaroib / saguaro

saguaro imgboard software
14 stars 5 forks source link

Chmod images after creation #201

Closed xx1182 closed 7 years ago

xx1182 commented 8 years ago

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? erro

RePod commented 8 years ago

Were you following this?

As for the white screen when using test.php, delete .test_lockout in the same folder.

xx1182 commented 8 years ago

Yes i was following that. UPDATE: After running test.php withouth .test_lockout i recive different errors: 1: from the admin page 1error 2: And when posting(tho it posts successful): post

Also, what are the default passwords?

xx1182 commented 8 years ago

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

Apogate commented 8 years ago

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

xx1182 commented 8 years ago

A bunch of errors from the admin page: post 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.

Apogate commented 8 years ago

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

xx1182 commented 8 years ago

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

Apogate commented 8 years ago

Did you rebuild the pages after changing the contents of the board list in the panel?

Yushe commented 8 years ago

Saguaro and a lot of php scripts can't run on hostinger.

Find a better host.

RePod commented 8 years ago

@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.

Yushe commented 8 years ago

@RePod So is my site currently using mysqli?

RePod commented 8 years ago

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).

Yushe commented 8 years ago

@RePod How will I convert the database if I even have to?

RePod commented 8 years ago

Nope.

xx1182 commented 8 years ago

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)

Apogate commented 8 years ago

we'll push a fix for that in the new regist

Yushe commented 8 years ago

@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/

Apogate commented 7 years ago

New regist handles this differently, gonna go ahead and close this 1.5 year old issue