DEV Community

Discussion on: Fixes for Koken problems in 2020

Collapse
 
erniebee profile image
erniebee

Thank you for your help with Koken PHP issues. However, I am a bit of a beginner, so I have the following problem when trying to correct for the fact that my hosting service has just upgraded to PHP 7.4. I was able to downgrade to 7.2 so that everything works again, but 7.2 will no longer be available to me after November 30. So here is my problem:
When trying to implement your suggested fix i do the following

name_of_my_website.com/app/databas...

and i receive a 404 error.

Any ideas? Am I going about this in a wrong way?

Collapse
 
accudio profile image
Alistair Shepherd

Yes, you'll need to edit the actual files rather than visiting the pages.

Your hosting company will offer a file manager/FTP login and then in a folder probably called public_html or www you'll be able to find the files I refer to.

Be careful when editing these, any slight mistake might break your website but if you make the changes exactly how I say you'll be fine! :)

Collapse
 
erniebee profile image
erniebee

Hi Alistair,
Thanks for taking time to guide me in the right direction. Much appreciated, and it worked beautifully! I did, however, make a couple of observations in the process to implement this fix:
1) Contrary to your statement I found that PHP 7.3 actually worked fine without the fix, while 7.4 really needs it.
2) While my hosting provider also offers a beta version of PHP 8, I tried this both with and without the fix. Neither worked (I got the red Koken admin login window), so it seems this is going to be an ongoing problem as the PHP versions progress over time.
Thanks again,
Ernie

Thread Thread
 
accudio profile image
Alistair Shepherd

That's good to know, I migrated from PHP 7.2 to 7.4 and had assumed that 7.3 would also be an issue. Thanks, I'll update the article.

As for PHP 8, given there's a fair few breaking changes it will need more fixes as you say. Honestly I think given the timescale it will be before PHP 7.4 stops being available, it would be wise to have migrated away from Koken by then.
If it's easy for me to do so however I might see if I can come up with the fixes required in future.

Thread Thread
 
erniebee profile image
erniebee

OK, and as you say it's probably time to start looking for alternatives to Koken. However, finding something that does the job as well as Koken does for photographers, with Lightroom plug-in as well as being totally free, is going to be hard, I think.