SQL/DB Error -- [Incorrect table definition; there can be only one TIMESTAMP column w
-
New Pligger
SQL/DB Error -- [Incorrect table definition; there can be only one TIMESTAMP column w
SQL/DB Error -- [Incorrect table definition; there can be only one TIMESTAMP column with CURRENT_TIMESTAMP in DEFAULT or ON UPDATE clause]
When upgrading from an older version 7 to version 8.1
-
Pligg Developer/Admin
replace current timestamp with NULL in the entire file.
-
New Pligger
If you're still having issues upgrading try http://www.serviceninja.com/pligg/upgrade.phps
Rename this to upgrade.php and upload, then you should be all set. I noticed that createtables.php, which is for new installs and upgrade.php are not updated the same it seems. This fix should take care of most issues upgrading.
-
Pligg Donor

Originally Posted by
kbeeveer46
replace current timestamp with NULL in the entire file.
KBeever --
Since I'm a little new to programming....
Thanks
-
Pligg Developer/Admin
edit install/upgrade.php and where it says CURRENT_TIMESTAMP, replaec that with NULL and upload it back to your server and run the file.
-
New Pligger
The file above should also help if you're getting the following:
SQL/DB Error -- [Invalid default value for 'user_lastlogin']
Similar Threads
-
By kailio in forum Questions & Comments
Replies: 3
Last Post: 08-29-2011, 10:33 AM
-
By Cyrus in forum Questions & Comments
Replies: 7
Last Post: 05-23-2009, 05:59 AM
-
By oddnews in forum Questions & Comments
Replies: 0
Last Post: 08-25-2006, 08:43 PM
-
By Xavier in forum Questions & Comments
Replies: 0
Last Post: 08-05-2006, 06:34 AM
-
By doulos12 in forum Questions & Comments
Replies: 3
Last Post: 04-27-2006, 10:25 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules