drew17
asked on
osTicket error when attempting to migrate db from MySQL to MSSQL
Hello,
I migrated my osTIcket db from MySQL to MSSQL and receive the following error.
PHP Strict Standards: Non-static method Misc::currentURL() should not be called statically in \main.inc.php on line 102
This migration has been done successfully before (based on postings), but I am stuck at this error.
Any help would be greatly appreciated.
Drew
I migrated my osTIcket db from MySQL to MSSQL and receive the following error.
PHP Strict Standards: Non-static method Misc::currentURL() should not be called statically in \main.inc.php on line 102
This migration has been done successfully before (based on postings), but I am stuck at this error.
Any help would be greatly appreciated.
Drew
ASKER
I have tried that, but when I do there is a white page (errors not being displayed. I have added:
ini_set('display_errors',1 );
ini_set('display_startup_e rrors',1);
But still no luck.
Thanks,
Drew
ini_set('display_errors',1
ini_set('display_startup_e
But still no luck.
Thanks,
Drew
Add error_reporting(E_ALL); right at the top and see if that helps.
ASKER
Hello Ray_Paseur,
I am getting the following eorror:
PHP Strict Standards: Non-static method Misc::currentURL() should not be called statically in D:\WebData\main.inc.php on line 107
Do you have any suggestions?
Thanks!
Drew
I am getting the following eorror:
PHP Strict Standards: Non-static method Misc::currentURL() should not be called statically in D:\WebData\main.inc.php on line 107
Do you have any suggestions?
Thanks!
Drew
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
error_reporting(E_ALL ^ E_STRICT ^ E_NOTICE);
I usually do not recommend this because it's a little like putting a piece of black electrical tape over the warning light on your dashboard, but inside the osTicket application it might be easier to hide the messages than it would be to try to fix the underlying issue.