edkeyte Posted March 10, 2008 Share Posted March 10, 2008 Hello my name is Ed. I'm new here! I'm trying to install this wordpress plugin onto my blog but get these errors: First I got this error: Parse error: parse error, unexpected T_VARIABLE, expecting '(' in /home/nethos60/public_html/queenseng/blog/wp-content/plugins/freecontentrewrite_wordpress/freecontentrewrite.php on line 42101 Then added an open Bracket "(" to the code in my PHP file after functions here: function( freecontentrewrite_run $article_cont, $case_sensitive=false ) { global $contentdictionary_dic; Originally that open bracket wasn't there. Anyway I then uploaded it again and got this error: Parse error: parse error, unexpected '(', expecting T_STRING in /home/nethos60/public_html/queenseng/blog/wp-content/plugins/freecontentrewrite_wordpress/freecontentrewrite.php on line 42101 My version of PHP by the way is: 4.3.11 - if that's the problem then there's not much I can do about it but to change hosts. Love to know what I'm doing wrong. Cheers. Ed. Link to comment https://forums.phpfreaks.com/topic/95441-parse-error-expecting/ Share on other sites More sharing options...
revraz Posted March 10, 2008 Share Posted March 10, 2008 This should be in 3rd Party Scripts, but post a couple of lines before that. Link to comment https://forums.phpfreaks.com/topic/95441-parse-error-expecting/#findComment-488592 Share on other sites More sharing options...
shocker-z Posted March 10, 2008 Share Posted March 10, 2008 Your ( was in the wrong place or a less i miss read? function freecontentrewrite_run($article_cont, $case_sensitive=false) { global $contentdictionary_dic; Regards Liam Link to comment https://forums.phpfreaks.com/topic/95441-parse-error-expecting/#findComment-488593 Share on other sites More sharing options...
edkeyte Posted March 10, 2008 Author Share Posted March 10, 2008 Your ( was in the wrong place or a less i miss read? function freecontentrewrite_run($article_cont, $case_sensitive=false) { global $contentdictionary_dic; Regards Liam Thanks shocker-z! It works fine thanks to you! Cheers! Ed. Link to comment https://forums.phpfreaks.com/topic/95441-parse-error-expecting/#findComment-488991 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.