This isn't the sale complete page AND You are using a really old version that is unsupported (I can tell since it uses Sale_lib.php which isn't used in newer versions)
Please try completing sale (even if you get the notices during sale checkout, you might have to add an item with debugging off then turn debuggin on to complete sale.
In either case you need to upgrade php pos. You might be haivng error because you are using php 8 on a very old version of php pos which won't work.
Support is only good for 1 year and I highly recommend upgraindg.
Comments
12 comments
You will need to perform debugging steps to figure out the exact error.
Open up index.php in the phppos root folder:
FIND:
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : 'production’);
REPLACE:
define('ENVIRONMENT', isset($_SERVER['CI_ENV']) ? $_SERVER['CI_ENV'] : ‘development’);
open application/config/database.php
FIND:
$db['default']['db_debug'] = FALSE;
REPLACE:
$db['default']['db_debug'] = TRUE;
Then see the errors.
Do NOT forget to undo these changes afterwords.
After doing what you ask me to do, I got this message
This isn't the sale complete page AND You are using a really old version that is unsupported (I can tell since it uses Sale_lib.php which isn't used in newer versions)
Please try completing sale (even if you get the notices during sale checkout, you might have to add an item with debugging off then turn debuggin on to complete sale.
In either case you need to upgrade php pos. You might be haivng error because you are using php 8 on a very old version of php pos which won't work.
Support is only good for 1 year and I highly recommend upgraindg.
now I can't even add items
As stated you need to disable debug. Change development -> production in index.php then add item. Then change back and complete sale
I did like you ask me
You are running php 8 and an older version of php pos and this won't work. You need to downgrade php or upgrade php pos which support php 8
Thanks for your support for now I gonna downgrade my php version and put money to upgrade my php pos
Hey Chriss, What it means when in debugging you get error "The application environment is not set correctly."
When spelling development in the ENVIORNMENT there is most likley a typo
Please sign in to leave a comment.