PHP SDK for download from official website http://wiki.connect.qq.com/sdk%E4%B8%8B%E8%BD%BD#
Then install the configuration and click on the demo will appear below this error, what code I have not changed.
Is my development environment a problem? Google has not solved the problem a lot.
Reply content:
PHP SDK for download from official website http://wiki.connect.qq.com/sdk%E4%B8%8B%E8%BD%BD#
Then install the configuration and click on the demo will appear below this error, what code I have not changed.
Is my development environment a problem? Google has not solved the problem a lot.
This tip is very clear, the OAuth class is repeatedly defined, this situation is generally referred to in your project a number of third-party libraries, in different PHP files are defined within the class Oauth{ }
class, and then in the current execution process is require in. To resolve, you can search the global string to class Oauth
find the relevant file, make sure that the corresponding class file is only require once, or wrap it up with class_exists
judgment.
Another possibility is that the server has an oauth PHP extension installed, and if so, the OAuth class of the framework can be done, and both implementations should be the same.