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

[Bug]: New development error

odiea opened this issue · comments

commented

Bug Description?

2024-04-16 04_44_32-Window

Steps to Reproduce?

try to open ci4 branch after last commits

Expected Behavior?

It to work as usual

OpensourcePOS Version

development (unreleased)

Php version

Php 8.2

What browsers are you seeing the problem on?

Chrome

Server Operating System and version

Wamp Server

Database Management System and version

Wamp Server

Web Server and version

wamp Server

System Information Report (optional)

Syst
2024-04-16 04_44_32-Window
em Information Report

Unmodified copy of OpensourcePOS

  • I agree this copy has not been modified
commented

After rebuilding this branch the following error shows.
2024-04-16 05_28_55-Window

commented

To get this part to work I had to change \www\ospos4\vendor\codeigniter4\framework\system\CodeIgniter.php', 193
to just $config.

commented

I am now showing the following error when trying to display a receipt from the takings view.
The param count in the URI are greater than the controller method params. Handler:\App\Controllers\Sales::getIndex, URI:sales/receipt/76 and now it is too buggy for me to test any longer trying to create a sale in the register..

@odiea timezone fix was committed by jekkos earlier today, setting the timezone in .env file to UTC fixes the issue... I'll try to have a look on receipt display.

@odiea if you can test reaching the receipt and invoice through daily sales from your side, i committed the fix now ...Please ignore the barcode error on invoice ...Thanks

commented

I was having no issue showing the Receipts until the routes was changed now I get an error 404 and with the update button I had to revert it back to the way ci3 was working. Otherwise It always displayed unknown column payments

The param count in the URI are greater than the controller method params. Handler:\App\Controllers\Sales::getIndex, URI:sales/receipt/76 and now it is too buggy for me to test any longer trying to create a sale in the register..

How can i reproduce the issue you are getting ?

commented

Once I rebuilt it this issue went away. Thanks for looking into it.

Glad to hear that, thanks for reporting it...