1 ecology Jul 05, 2008 16:24
3 ecology Jul 05, 2008 21:37
Thanks.
Where do I find evo_items__item within my php admin?
4 ecology Jul 09, 2008 00:28
I found phpadmin in my cpanel.
Can you or someone else provide the command to update my author_IDs?
Thanks!
5 yabba Jul 09, 2008 09:04
I don't have a 1.10.x db schema lying around so you probably need to play with the following to get it to work
UPDATE evo_items__item SET post_creator_user = 1, post_last_edit_user_ID = 1 WHERE ISNULL( post_creator_user_ID )
¥
6 ecology Jul 10, 2008 04:18
I have v. 2.4.2 - *thanks* for code but it has not worked for me. I get this error msg:
#1146 - Table 'ecology_plst1.evo_items__item' doesn't exist
7 yabba Jul 10, 2008 11:06
By any chance have you changed your table prefix ( the evo_ bit ) ? If so you need to change the sql I gave you to suit.
¥
8 ecology Jul 11, 2008 05:10
I don't think so but I'll investigate. Thanks for the heads up.
9 ecology Jul 17, 2008 01:30
Previous table issue has been resolved, but now I get the following error:
Error
SQL query:
UPDATE evo_items__item SET post_creator_user =1,
post_last_edit_user_ID =1 WHERE ISNULL( post_creator_user_ID )
MySQL said: Documentation
#1054 - Unknown column 'post_creator_user' in 'field list'
Any solutions?
10 ecology Jul 17, 2008 01:44
additional information: my post_lastedit_user_ID = 1. So I think I might need to change post_parent_ID or post_assigned_user_ID which are all NULL.
Here is a list of some of the table columns
post_ID
post_parent_ID
post_creator_user_ID post_lastedit_user_ID post_assigned_user_ID
Thoughts?
11 afwas Jul 17, 2008 03:52
UPDATE evo_items__item SET post_creator_user_ID =1,
post_last_edit_user_ID =1 WHERE ISNULL( post_creator_user_ID )
I have a feeling that all your posts have been imported with a author_ID of zero.
Easiest solution is to update all null/empty/zero author_ID's in evo_items__item using PhpMyAdmin ( or your DB editor of choice )
¥