• Read the answer about extra lines at the ends of the files and got rid of all of them. So far everything looks beautiful except for when I try and delete a post. It deletes the post ok, I just get the following error. When I go back to the page and refresh, the post is gone however. Catagories delete just fine as well as the posts under them get moved to General when you delete them.
    SQL/DB Error:
    [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1]
    SQL/DB Error:
    [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1]
    Warning: Cannot modify header information – headers already sent by (output started at c:\apache\htdocs\wordpress\b2-include\wp-db.php:98) in c:\apache\htdocs\wordpress\wp-admin\wp-post.php on line 363

Viewing 5 replies - 1 through 5 (of 5 total)
  • Sorry, thought I was logged in…

    Oh, and I forgot to add that I also used the upgrade-072-to-080.php script. Just remembered that one. I’m just not a php coder yet, I have heard that php is not unlike c++ now but I’ll stick with the hardcoded stuff and just fiddle with the net, it changes too damn much.

    OK, cvs 12.08.03 had differences in what I was using, so I did a fresh install of that version. First, I installed, then I logged in (no problems) and changed my info. Second, tried to post and got the following (pardon the dashes for slashes, makes it easier to read):
    SQL-DB Error:
    [Unknown column ‘post_name’ in ‘field list’]
    SQL-DB Error:
    [Table ‘blog.wp_post2cat’ doesn’t exist]
    Warning: Cannot modify header information – headers already sent by (output started at c:-apache-htdocs-wordpress-b2-include-wp-db.php:98) in c:-apache-htdocs-wordpress-wp-admin-wp-post.php on line 143
    Third, ran the upgrade-072-to-080.php script (no problems) and logged in and then posted (had to refresh edit page to get the post to show up). Fourth, tried to delete Hello world! post and got this error:
    SQL-DB Error:
    [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1]
    SQL-DB Error:
    [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1]
    Warning: Cannot modify header information – headers already sent by (output started at c:-apache-htdocs-wordpress-b2-include-wp-db.php:98) in c:-apache-htdocs-wordpress-wp-admin-wp-post.php on line 363
    Works ok if you use the back button and then refresh, the post is gone. Everything else seems to work ok so far, but I haven’t really tested past this error yet because I hate letting a challenge go by and I’ve been trying to solve it myself.
    I must be missing something here, because I think the winapi is easier than trying to understand the structure behind this language. Perhaps I just don’t get the naming conventions. Is there a place someone can point me to that has recommended rules for class, variable, and other such stuff etc. in php?

    The wp-install.php script hasn’t been updated yet, so you would have to run wp-install.php and then the upgrade script.

    Would that be why I get the error message when deleting a post? I looked at Everything else and it works great although I don’t really know what some of the features are for. Well, either way I thought this might help you all in the development process. I started this post first with what I couldn’t solve but thought to myself that you might want to actually see what I was getting as I got it. Good work, this one is going to be a definite plus in terms of usage.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘cvs 12.07.003 Delete posts’ is closed to new replies.