The configuration of the Public Account test account fails because of one character.
Development Environment:
1. SAE Sina Cloud Platform
2. PHP Environment
3. I have applied for a public platform development account for testing.
4. A php document downloaded from the official website
5. the token is also the default weixin. (You do not need to change it for the first time. However, if you want to configure it again after the configuration is successful, the token name is weixin. This will change, the first configuration does not need to be changed)
6. Note that the uploaded code in SAE is compressed into zip format and is automatically configured in SAE. If you use SVN to upload the code, it cannot be used at present.
7. after the code is configured, you do not need to make any changes. After Entering http and token on the test platform, the system prompts that the configuration fails (note that the token is invalid on the actual account ), A prompt is displayed, indicating that the token is invalid. The result is the same !!!
The default php code file, the default token, and the default SAE configuration environment finally open the php file in the code management of the SAE and start to have an extra ', which is an awful flaw, after debugging and configuration for one night, I looked for various reasons and said that the returned string is incorrect. Some people said that the source file needs to be changed to a specific one, and some people use out. print or echo outputs a pile of unreadable text...
I am a pure white man... Looking at the past for various reasons, one is not suitable for you... It turned out to be because of the "float" at the beginning of the file "!!! If the configuration fails due to the same reason, please contact us ..
Public platform development, starting with Xiao Bai!