OllieMackJames Posted March 10, 2016 Share Posted March 10, 2016 After upgrade I got this message: Parse Error: syntax error, unexpected '/' (line 112 of /xxxx/domains/xxxx.com/public_html/site/modules/ServicePages/ServicePages.module) Refreshed many times without luck, any ideas? tnks! Link to comment Share on other sites More sharing options...
adrian Posted March 10, 2016 Share Posted March 10, 2016 Based on line 112 having the word "include" on it, I am guessing it might be related to this: https://github.com/ryancramerdesign/ProcessWire/issues/1739 although I would have thought that your error message would have been from site/assets/cache/FileCompile/site/modules/ServicePages/ServicePages.module Link to comment Share on other sites More sharing options...
OllieMackJames Posted March 10, 2016 Author Share Posted March 10, 2016 Glad I could easily revert to older version Thanks lots Ryan for making that easy! Link to comment Share on other sites More sharing options...
SteveB Posted March 10, 2016 Share Posted March 10, 2016 Here's what I did. /* if(strlen($this->input->get->include) && $this->input->get->include !== 'hidden') { if($this->input->get->include === 'all') { if(!$this->user->isSuperuser()) $this->errors[] = "The option 'include=all' is only allowed for administrators"; } else { $this->errors[] = "Unrecognized value for 'include'"; } } */ //SB replaces above which FileCompiler thinks is a including a file $ginc = $this->input->get->include; if(strlen($ginc) && $ginc !== 'hidden') { if($ginc === 'all') { if(!$this->user->isSuperuser()) $this->errors[] = "The option 'include=all' is only allowed for administrators"; } else { $this->errors[] = "Unrecognized value for 'include'"; } } 2 Link to comment Share on other sites More sharing options...
OllieMackJames Posted March 10, 2016 Author Share Posted March 10, 2016 @SteveB thanks, admin side now worked, frontend threw other errors, having to do with undefined wire function somewhere. Will check further tomorrow. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now