Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

osTicket error when attempting to migrate db from MySQL to MSSQL

Posted on 2013-06-04
5
Medium Priority
?
1,771 Views
Last Modified: 2013-09-19
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
0
Comment
Question by:drew17
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39218788
It's not an error; it's a "violation" of strict standards.  If the only symptom of failure is the message, you can suppress the message by changing the error reporting.

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.
0
 

Author Comment

by:drew17
ID: 39224357
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_errors',1);

But still no luck.

Thanks,

Drew
0
 
LVL 111

Expert Comment

by:Ray Paseur
ID: 39224398
Add error_reporting(E_ALL); right at the top and see if that helps.
0
 

Author Comment

by:drew17
ID: 39233034
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
0
 
LVL 111

Accepted Solution

by:
Ray Paseur earned 2000 total points
ID: 39234904
Good - that's a start.  Do you want PHP Strict Standards?  The man page seems to suggest that these are "suggestions" only recently added to the definition of E_ALL.

If not, you can turn this off with the error_reporting() settings shown here.
0

Featured Post

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this article, we’ll look at how to deploy ProxySQL.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question