Upgrade From V3411 To The Latest

0

Hi,

my system lately has developed bugs , when i make a sale using pos sale, instead of poping up the receipt page in the browser after a completed sale, it brings a blank screen . it was updating the sale until today it failed to even update the sale .
I tried updating to the current version but its breaking many pages and users can not make a sale . I would like to move to the latest update without loosing any of my data.

Kindly advice

Question Resolved For: Stock Manager Advance with Point of Sale Module 0 Votes 13 Answers 241 Views
Asked by Francis 1 month ago

0

Answered by Mian Saleem

Hello,

Please check your mail settings then try again.

Thank you

0

Answered by Mian Saleem 1 month ago

Hello,

Please check your server's php error logs and let me know the error details so that I can suggest.

If you are not sure about server logs, you can enable app logs by changing the log_thresholdto 1 in the app/config/config.php and then perform actions again. Lastly check the latest log file in the app/logs/ folder.

Thank you

0

Answered by Francis 1 month ago

Mian Saleem
An uncaught Exception was encountered

Type: DivisionByZeroError

Message: Division by zero

Filename: /home1/timenews/public_html/evleonshopco/pos/app/libraries/Sma.php

Line Number: 509

Backtrace:

File: /home1/timenews/public_html/evleonshopco/pos/app/models/admin/Pos_model.php
Line: 175
Function: update_award_points

File: /home1/timenews/public_html/evleonshopco/pos/app/controllers/admin/Pos.php
Line: 1023
Function: addSale

File: /home1/timenews/public_html/evleonshopco/pos/index.php
Line: 303
Function: require_once

0

Answered by Francis 1 month ago

Mian Saleem I have done the two suggestions from the two previous users but nothing is changing. let me attach the error log too here .

ERROR - 2024-03-08 14:23:52 --> Could not find the language line "company"
ERROR - 2024-03-08 14:23:52 --> Could not find the language line "email_address"
ERROR - 2024-03-08 14:23:52 --> Could not find the language line "address"
ERROR - 2024-03-08 14:23:52 --> Could not find the language line "city"
ERROR - 2024-03-08 14:23:52 --> Could not find the language line "phone"
ERROR - 2024-03-08 14:23:52 --> Could not find the language line "first_name"
ERROR - 2024-03-08 14:23:52 --> Could not find the language line "last_name"
ERROR - 2024-03-08 14:23:52 --> Could not find the language line "email"
ERROR - 2024-03-08 14:23:52 --> Severity: Warning --> Undefined property: stdClass::$user_language /home1/timenews/public_html/evleonshopco/pos/app/controllers/Main.php 16
ERROR - 2024-03-08 14:23:52 --> Severity: Warning --> Cannot modify header information - headers already sent by (output started at /home1/timenews/public_html/evleonshopco/pos/system/core/Exceptions.php:272) /home1/timenews/public_html/evleonshopco/pos/system/helpers/url_helper.php 565
ERROR - 2024-03-08 16:42:09 --> Could not find the language line "pole_display"
ERROR - 2024-03-08 16:42:09 --> Severity: Warning --> foreach() argument must be of type array|object, bool given /home1/timenews/public_html/evleonshopco/pos/themes/default/admin/views/pos/add.php 481
ERROR - 2024-03-08 16:44:52 --> Could not find the language line "pole_display"
ERROR - 2024-03-08 16:44:52 --> Severity: Warning --> foreach() argument must be of type array|object, bool given /home1/timenews/public_html/evleonshopco/pos/themes/default/admin/views/pos/add.php 481
ERROR - 2024-03-08 16:45:01 --> Severity: error --> Exception: Division by zero /home1/timenews/public_html/evleonshopco/pos/app/libraries/Sma.php 509
ERROR - 2024-03-08 16:45:02 --> Severity: Warning --> Undefined property: Main::$shop_settings /home1/timenews/public_html/evleonshopco/pos/app/core/MY_Shop_Controller.php 93
ERROR - 2024-03-08 16:45:02 --> Severity: Warning --> Attempt to read property "warehouse" on null /home1/timenews/public_html/evleonshopco/pos/app/core/MY_Shop_Controller.php 93
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "username"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "password"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "first_name"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "last_name"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "username"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "email"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "phone"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "company"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "gender"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "password"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "confirm_password"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "first_name"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "last_name"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "username"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "email"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "phone"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "company"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "gender"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "product_code"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "product_name"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "cname"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "barcode_symbology"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "product_unit"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "product_price"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "contact_person"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "company"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "email_address"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "address"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "city"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "phone"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "first_name"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "last_name"
ERROR - 2024-03-08 16:45:02 --> Could not find the language line "email"
ERROR - 2024-03-08 16:45:02 --> Severity: Warning --> Undefined property: stdClass::$user_language /home1/timenews/public_html/evleonshopco/pos/app/controllers/Main.php 16
ERROR - 2024-03-08 16:45:02 --> Severity: Warning --> Cannot modify header information - headers already sent by (output started at /home1/timenews/public_html/evleonshopco/pos/system/core/Exceptions.php:272) /home1/timenews/public_html/evleonshopco/pos/system/helpers/url_helper.php 565

0

Answered by Francis 1 month ago

Its getting worse . Attached the screens

0

Answered by Mian Saleem 1 month ago

Hello,

What is your php version? Please use the SMA with php7.4 of php8.0 and set the ENVIRONMENT to production in index.php

If still the same after above, then please let me know the server detail in private reply to check.

Thank you

0

Answered by Francis 1 month ago

Thanks ,

i was able to sort the matter . just to take you slightly back though. when i click on a product and i want to see the details of the product especially transfers and stock adjustments , there seem to be an unending loop ...see the screen grab attached .

Attachments

0

Answered by Mian Saleem 1 month ago

Hello,

Please check the latest file in the app/logs/ folder and let me know the error details.

Thank you

0

Answered by Francis 1 month ago

no error related to the products forms. .... you can log in , i have disabled the 2 factor authentication for now

We use Cookies

We use cookies to ensure that we give you the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies.