I have moved my pos to new hosting provider. I did copy database file and edit database.php however I can’t login to my pos url display /index.php/login?continue=home%3F
Thanks for your help
Its very strange I'm able to login via chrome at home not with firefox. At work i cant access both chrome and firefox, keeping going back to login page. Do I need to wait 24/48 hrs for DNS fully updated?
Comments
7 comments
1. What is version of php pos?
2. What is version of php
If you have an old version of php pos it won’t work on a newer version of php
Hello Chris!
I’m using POS 18.3
Both my old and new hosting are on 7.4 php version
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.
Hello Chris
I got this error
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: current_employee_editing_self
Filename: views/config.php
Line Number: 3991
Backtrace:
File: /public_html/pos/application/views/config.php
Line: 3991
Function: _error_handler
File: /public_html/pos/application/controllers/Config.php
Line: 169
Function: view
File: /public_html/pos/index.php
Line: 467
Function: require_once
You appear to be in store config are you able to login?
Its very strange I'm able to login via chrome at home not with firefox. At work i cant access both chrome and firefox, keeping going back to login page. Do I need to wait 24/48 hrs for DNS fully updated?
Those error are not fatal. I would turn back into product mode and wait until DNS resolves. It should be good now
Please sign in to leave a comment.