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

PHP 7.2 Compatibility #4680

Merged
merged 30 commits into from
Jan 31, 2019
Merged

PHP 7.2 Compatibility #4680

merged 30 commits into from
Jan 31, 2019

Conversation

aydreeihn
Copy link
Contributor

This makes osTicket compatible with PHP versions 5.6 - 7.2

Jared Hancock and others added 29 commits July 18, 2018 08:15
This makes the Ticket filter system slightly less terrible. It could
definitely use more polishing.
Ensure that saving Filter Actions aligns with the recent changes made to correct validations.
MPDF updated from version 5.7.3 to version 6.1 using composer.
MPDF updated from version 6.1 to version 7.1 using composer.

Note: Lower versions of php will only support up to version 6.1
however, you must use at least version 7.1 for php v7.2
This commit modifies class.pdf.php to make sure it is compatible with the newest version of MPDF.
This commit makes Primary Queues buckets for sub queues with forced inheritance of
criteria. Primary queues are now hidden unless there are no sub queues
attached. Agents can still get to primary queue by clicking on it.

The commit also adds default sub queues for Closed queue, utilizing DateTime
periods.
This commit fixes an issue where we assumed that we rules would always be passed in as arrays when validating rules.
Conflicts:
	include/client/open.inc.php
	include/staff/templates/user-lookup.tmpl.php
Reviewed By: aydreeihn <adriane@enhancesoft.com>
Reviewed By: aydreeihn <adriane@enhancesoft.com>
This commit fixes an issue where we did not correctly change the values passed to the render function that was updated to work with PHP 7.1
- Pull latest code from osTicket
- Fix Filter ORM compatibility issues that resulted from merge
… into issue/php72

This commit makes osTicket compatible with PHP 7.2

Conflicts:
	include/class.filter.php
@protich protich merged commit 460b445 into osTicket:develop-next Jan 31, 2019
@mgerzabek
Copy link

Awesome! Will give it a try in a couple of days. Thank You!!!

@cervedgroup
Copy link

anyone tryed with 7.2 php ? thank you

@ntozier
Copy link
Contributor

ntozier commented Mar 4, 2019

I'm running osTicket with 7.2 and have been since it 1.11 was released.
note: This pull was added before 1.11 was released.

You will see a lot of:

[28-Feb-2019 14:11:38 America/New_York] PHP Warning:  ini_set(): A session is active. You cannot change the session module's ini settings at this time in C:\inetpub\wwwroot\1.11.0\include\class.ostsession.php on line 40
[28-Feb-2019 14:11:38 America/New_York] PHP Warning:  session_set_cookie_params(): Cannot change session cookie parameters when session is active in C:\inetpub\wwwroot\1.11.0\include\class.ostsession.php on line 56
[28-Feb-2019 14:11:38 America/New_York] PHP Warning:  session_set_save_handler(): Cannot change save handler when session is active in C:\inetpub\wwwroot\1.11.0\include\class.ostsession.php on line 81```


But I haven't found anything that doesn't work due to PHP version.

JoshBeckerPLCH pushed a commit to plch/osTicket that referenced this pull request Feb 28, 2020
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.

5 participants