opensourcepos / opensourcepos

Open Source Point of Sale is a web based point of sale application written in PHP using CodeIgniter framework. It uses MySQL as the data back end and has a Bootstrap 3 based user interface.

Home Page:http://www.opensourcepos.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CI4 Testing with different versions

odiea opened this issue · comments

I upgraded my wamp sever to the latest and greatest. Testing with different versions of Apache and Php are causing different results. Which version of each should I be testing with.
With Apache and CI3 I get this error trying to access reports with the PHP 7.
[Sun Dec 31 05:03:29.817837 2023] [rewrite:error] [pid 2776:tid 1220] [client ::1:58726] AH10411: Rewritten query string contains control characters or spaces, referer:/public/reports/detailed_sales and the reports gave no access allowed. With Mysql i receive the following error.
2023-12-31T11:27:18.979461Z 67 [Warning] [MY-013360] [Server] Plugin mysql_native_password reported: ''mysql_native_password' is deprecated and will be removed in a future release. Please use caching_sha2_password instead'

I did find out this error comes when apache 2.4.58 is used with CI3. Trying to get a report after the input I get the access not allowed. Just installed the 3.3.9 and works fine with 2.4.58. I guess the changes that I have made over the years are creating this issue. It still will not work with Php 8. CodeIgniter is the same version.