How to use WP-Affiliate in Mysql 4.0
Anyway, there are some people still use the Mysql 4.0, like me
, but I am not using Mysql 4.0 in this blog : WordPress Online.
Well, WP-affiliate is a good WordPress plugin for me, because I use this great plugin to find my affiliate link clicking state.
If you are the same to me and install this great WordPress plugin, I believe that you are very satisfactory. Anyway, if you are using this plugin under Mysql 4.0, you can’t use the state function.
Why? This is because the Mysql 4.0 can not support the SQLsyntax below:
`thestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
There is not current_timestamp in Mysql 4.0. so what you do is this below:
- Open the WP-affiliate directory and find the PHP file named wp-affiliate-install-functions.php
- Open this file and find the the code in line 42 like below:
`thestamp` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, - Replace this code into the code below:
`thestamp` TIMESTAMP,
Now it OK, feel free to use this tips and make money online with WordPress blog now
Any problem is welcomed to leave a comment.
Comments
Leave a Reply












