-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lots of PHP errors with Customizer + local server #115
Comments
what version of kanboard are you running? Man, I'm not gonna lie, I'm literally an idiot when it comes to these things. I haven't tested Customizer since version 1.2.13, and don't even have my server running anymore. I can spin up the latest KB version in docker and test, but If I don't get the errors, I'm not going to have a clue. I've tried to maintain the repo to the best of my ability and spent 100s of hours writing this code, but it was never anything more than just a hobby (to see if I could do it), I'm no coder, or even a computer person to be honest. |
Although, just looking at your error. I am wondering....all your issues are from a null on the logo path. Did you upload a logo? Is it showing? Is it a bad file maybe? |
Also, Tested in vs 1.2.15 and everything works as expected, no errors, running: Following your error though, this is whats happening.
every error is referencing a null image *** My suspicion now is |
Confirmed. it's PHP 7.4.1
Previous versions didn't give a crap, and gave no "Notice". If (when) kanboards docker image is updated to use 7.4.1, then I will add a fix. |
[slaps forehead] Knew I'd seen something about PHP versions while researching the error; wishing I had mentioned it! To be honest, I'm a beginner myself. Just going nuts recently about local servers and stuff like that; found Kanboard, and it looked like a good idea for family task/startup company management. I'm testing Kanboard with Laragon at the moment, and it's working a lot nicer - there's even an easy GUI way I can set PHP versions! It still throws an error with PHP 7.4.1 EDIT: I easily installed PHP 7.2 following these instructions and it works without errors now :) Now just to figure out why Kanboard in general is sluggish on my (fairly powerful) PC. |
You're running a virtual server on a pc and running it locally? Must be, since I see E:\ How would you access that, say, when your not at home? Or on your mobile? I just use docker, for pretty much everything, and then nginx proxy with letsencrypt companion. Old laptop as the server, literally, made in 2003, running RancherOS, Not sluggish at all. Portainer for managing the containers. |
Yes, correct, local server on my PC. Just for testing, as I'm trying to find a usable project planning/Kanban application for Windows (and none seem to exist (;_;) ). It's accessible via LAN from any other machine, but I haven't had any luck making Kanboard perform well on it (PHP server thrashes the HDD at 45% usage constantly while it's open), making pages/saving/etc. take long seconds to save (e.g. remote websites served from the internet are being faster than a local site served from my PC lol). |
In my experience, thats the nature of virtual machines. If you have an old pc laying around, id recommend just wiping it, throw a minimalist os on it, and serve from that. |
Will do, maybe once I get my RPi homeserver running :D |
There is a big difference between the two. One is highly efficient. |
Not all of us run kanboard in a docker container. 😉 public function show()
{
$logo = $this->customizerFileModel->getByType(1);
$flavicon = $this->customizerFileModel->getByType(2) ?? ['id' => null, 'name' => null];
$loginlogo = $this->customizerFileModel->getByType(3) ?? ['id' => null, 'name' => null];
$logopath = $logo['path'] ?? null;
$flaviconpath = $flavicon['path'] ?? null;
$this->response->html(
$this->helper->layout->config(
'customizer:file/show',
[
'logo' => $logo,
'title' => t('Settings') . ' > ' . t('Customizer'),
'flavicon' => $flavicon,
'logopath' => $logopath,
'flaviconpath' => $flaviconpath,
'loginlogo' => $loginlogo,
]
)
);
} |
True, but I do. Make a PR, and I'd be happy to merge. |
Greetings! Thank you for making Customizer; I find it's vital for Kanboard, and it seems to work well, despite lots of PHP errors showing repeatedly in the Customizer settings page.
I get the following repeatedly:
and
I'm running Kanboard on localhost with ZNxPMp Server. Any way I could stop those errors from appearing?
The text was updated successfully, but these errors were encountered: