dragolux
Forum Replies Created
-
Forum: Installing WordPress
In reply to: Parse Error in post.phpI think you missed my above comment. Read the post right above your last one.
Forum: Installing WordPress
In reply to: Parse Error in post.phpOk, I tried downloading a fresh copy, and installing it again, but it still doesn’t work! I see the post.php file on my computer, and it’s fine – line 856 is clean. On my computer, it looks like this:
$tags = (is_array($tags)) ? $tags : explode( ',', $tags );
But when I view it on the server, it looks like this:
$tags = (is_array($tags)) ? $ : plode( ',', $tags );
So it must have something to do with uploading it. How can I fix this?
Forum: Installing WordPress
In reply to: Parse Error in post.phpI tried uploading everything again in ASCII, but that didn’t work. I’ll try downloading a fresh copy and doing it again.
By the way – what FTP should I be using? I’m using WS_FTP LE 6.0. Should I try a different one, or does it not matter?
Thanks!
Forum: Installing WordPress
In reply to: Parse Error During Installation.Well, I tried uploading again, and that didn’t work. I also uploaded in binary and ASCII, but that didn’t work either. Finally, I tried downloading it again, but that didn’t work! Have any more ideas?
By the way, the line of code (and the ones surrounding it) that it says has something wrong with it is this:
828. function add_ping($post_id, $uri) { // Add a URL to those already pung
829. global $wpdb;
830. $pung = $wpdb->get_var(“SELECT pinged FROM $wpdb->posts WHERE ID = $post_id”);
831. $pung = trim($pung);
832. $pung = preg_split(‘/\s/’, $pung);
833. $pung[] = $uri;
834. $new = implode(“\n”, $pung);
835. $new = apply_filters(‘add_ping’, $new);
836. return $wpdb->query(“UPDATE $wpdb->posts SET pinged = ‘$new’ WHERE ID = $post_id”);
837. }Any help?
Forum: Installing WordPress
In reply to: Parse Error During Installation.I have the same problem also. I get this error:
Parse error: parse error, unexpected ‘;’, expecting T_VARIABLE or ‘$’ in /homepages/5/d132483652/htdocs/tutorial_wow/wp-includes/post.php on line 833
Help?