Skip to content
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

Kalkun doesnt load on Ubuntu 22.04 #468

Closed
ovidiudo opened this issue Jun 13, 2022 · 7 comments · Fixed by #469
Closed

Kalkun doesnt load on Ubuntu 22.04 #468

ovidiudo opened this issue Jun 13, 2022 · 7 comments · Fixed by #469

Comments

@ovidiudo
Copy link

I installed kalkun version 0.8.0-beta-2 from deb packages on Ubuntu 20.04.
After login login a got this issue:

image

On logs i have got only this error:

image

Here are installation steps

image

image

@tenzap
Copy link
Collaborator

tenzap commented Jun 13, 2022

Can you check the value that is in the table "gammu" of the database ?

@tenzap
Copy link
Collaborator

tenzap commented Jun 13, 2022

I can't reproduce, sorry.
Try to install kalkun from the sources using the installation guide on the wiki (especially the composer part is of most importance)
https://github.com/kalkun-sms/Kalkun/wiki/Installation

@tenzap
Copy link
Collaborator

tenzap commented Jun 13, 2022

Please check if the phones table of the DB has any record. Maybe that's the reason.

tenzap added a commit to tenzap/Kalkun that referenced this issue Jun 13, 2022
With PHP 8.1, there is this error
passing null to parameter of type string deprecated on that line for htmlentities

This should fix it

Fixes: kalkun-sms#468
@tenzap
Copy link
Collaborator

tenzap commented Jun 13, 2022

I couldn't test, but please report back and tell if applying the patch in #469 fixes your issue. Thanks.

@ovidiudo
Copy link
Author

image

image

image

@tenzap
Copy link
Collaborator

tenzap commented Jun 13, 2022

There is missing ) in your code, no? If not,
please report the error in logs again, the error message should be there. Maybe it reveals another issue.

@tenzap
Copy link
Collaborator

tenzap commented Jun 13, 2022

To really see the errors update /etc/apache2/conf-available/kalkun.conf and set CI_ENV to development instead of production

Did you try this as stated in the bug report template? Maybe I should amend the template to say to change /etc/apache2/conf-available/kalkun.conf instead of .htaccess for those using debian packages...

If you don't have error messages but blank pages or content, check
that error logging is enabled. The setting CI_ENV in the .htaccess
file must be set to 'development' to see errors.

tenzap added a commit that referenced this issue Jun 13, 2022
With PHP 8.1, there is this error on that line for htmlentities:
passing null to parameter of type string is deprecated

This should fix it

Fixes: #468
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants