Advertisement:

Author Topic: Error after install  (Read 1057 times)

Hype

  • Newbie
  • *
  • Posts: 15
Error after install
« on: April 06, 2011, 07:56:21 pm »
Hi, Just installed the script and I then get the button to go to admin.

Once clicked I get this error:

Code: [Select]
Parse error: syntax error, unexpected ':' in MYINSTALLEDPATH/oc-includes/osclass/frm/Item.form.class.php on line 40

I took a look and found this:

Code: [Select]
echo '<option value="' . $c['pk_i_id'] . '"' . ($selected ? : 'selected="selected"' ). '>' . $c['s_name'] . '</option>' ;

Any help would be great.  ;D

- Hype

Juan Ramón

  • Osclass Developer
  • Hero Member
  • *****
  • Posts: 2382
Re: Error after install
« Reply #1 on: April 06, 2011, 08:06:28 pm »
You can try to download again from here: http://code.google.com/p/osclass/downloads/detail?name=osclass.2.0.zip&can=2&q= ? It was a mistake! However, it's been fixed :)

Hype

  • Newbie
  • *
  • Posts: 15
Re: Error after install
« Reply #2 on: April 06, 2011, 08:11:07 pm »
You can try to download again from here: http://code.google.com/p/osclass/downloads/detail?name=osclass.2.0.zip&can=2&q= ? It was a mistake! However, it's been fixed :)

Excellent, Thank you!