Skip to content

Conversation

PowerChaos
Copy link

fixed mandatory currency and date setting, those are checked at the first page and you can only select them on the second page and that cause a 500 error on CWP

hard coded now the currency in the SQL file and the timezone in the PHP file so they wont be empty

added not null value to prevent error 500 on CWP when value is null for company currency
fixed timezone that does not exist yet in database, so it trows null and now it is hard coded to set a value
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello & Welcome! :)

Thanks for taking the time to help improve ITFlow. We're excited to review your contributions - we'll review this PR as soon as we can!

Whilst you're waiting, please feel free to check out the forum.

Just so you know, all contributions to ITFlow are licensed under the GNU GPL. By contributing you grant us a perpetual & irrevocable license to include your work in ITFlow.

Copy link

@wrongecho wrongecho changed the base branch from master to develop August 6, 2025 09:47
@wrongecho
Copy link
Collaborator

Hello,
Thanks for getting in touch.

I can't seem to reproduce an error 500 during setup. Could you provide details as to which page of setup triggers this specifically?

@PowerChaos
Copy link
Author

Hello, Thanks for getting in touch.

I can't seem to reproduce an error 500 during setup. Could you provide details as to which page of setup triggers this specifically?

at step 2 or step 3 you fill in the sql config information
on step 4 you fill in the date/time and select currency

step 3 is the part that also pre populate the database with the database connection information and all the tables
step 4 is what should update the currency in the database, but as it can never create the database in first place because of wrong/missing values it trows a 500 error

This could be related that my mysql version ( mariadb ) use strict mode and need populated values or true "null" or "empty" values
in most cases is this not a problem to define them in first place

i also run php 8.2 in FPM mode together with php 7.4 , ngix + apache
but not sure if those are even relevant to this situation

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 this pull request may close these issues.

2 participants