Jump to content

Recommended Posts

Posted

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!

Posted

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'";	
			}
		}
  • Like 2

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...