Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Author Topic: Error on line 996  (Read 2799 times)

Tixylix

  • Newbie
  • *
  • Karma: 0
  • Posts: 5
Error on line 996
« on: December 03, 2006, 10:14:49 am »

Parse error: syntax error, unexpected ')', expecting ',' or ';' in /home/ggforums/public_html/sNews/snews.php on line 996

I have tried installing 4 times already and I kep getting this error, I have done it correctly I am familiar with setting up databases but it is just NOT WORKING for me.

Can anyone help me? I'd realy like to use this CMS!

 ;)  Thanks!
Logged

Tixylix

  • Newbie
  • *
  • Karma: 0
  • Posts: 5
Error on line 996
« Reply #1 on: December 03, 2006, 10:23:29 am »

Never Mind! Problem sorted - Dreamweaver was stuffing up my coding, I just edited in Notepad
Logged

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
Error on line 996
« Reply #2 on: December 03, 2006, 10:41:39 am »

Hehe, well, first - A dear old welcome to you, Tix. Hope you'll like it here...

Glad you sorted that out, this would have been found if searched for on the forum aswell... DW, and Frontpage both add uglycode to the files. For not uglycode use a better editor like Notepad++ or something.

Patric.
Logged
"It's only dead fish that goes with the flow... "
Updated

Tixylix

  • Newbie
  • *
  • Karma: 0
  • Posts: 5
Error on line 996
« Reply #3 on: December 03, 2006, 11:05:00 am »

I have another problem, I am having a lot of trouble trying to get sNews to work with one of your CSS Templates (Internet Services)

Thanks.
Logged

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
Error on line 996
« Reply #4 on: December 03, 2006, 11:16:30 am »

Now this I'm sure will already exist in the forum ;)... And have you read this: http://www.solucija.com/home/using-snews-with-a-css-template/
Logged
"It's only dead fish that goes with the flow... "
Updated

Tixylix

  • Newbie
  • *
  • Karma: 0
  • Posts: 5
Error on line 996
« Reply #5 on: December 03, 2006, 11:25:43 am »

Yes... and this: http://snews.ca/resources/template-structure/

But my StyleSheet isn't working, and yes, is before the style-sheet link and after all the meta tags
Logged

Tixylix

  • Newbie
  • *
  • Karma: 0
  • Posts: 5
Error on line 996
« Reply #6 on: December 03, 2006, 11:38:48 am »

You know, next time I might check to see if I am in the right directory  :lol:

Sorry about that.
Logged

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
Error on line 996
« Reply #7 on: December 03, 2006, 11:45:55 am »

Mhm, from what I have read after doing a search here on the forum, getting Internet Services to work with snews 1.4 was a bit tricky, but it could be done. So 1.5 should be equally tricky one would assume...

Albert, a template porter of ranks said about this particular template:
Quote from: Abe-man
Hi,
Coverting Internet Services to sNews 1.4 can be a bit tricky, But it can be done.
sNews 1.4.php code will need to be altered as well as the style.css to make it work.
to to convert to  sNews 1.4 "3 days"
Albert
I haven't tested it myself, so I can't really tell you what to do or what not to do on this.

Here's another read for you though which might or might not be of assistance: http://www.solucija.com/docs/sNews-Tips_and_Tricks.pdf

Patric.
Logged
"It's only dead fish that goes with the flow... "
Updated

Patric Ahlqvist

  • Nobodys perfect, but Im pretty effing close
  • ULTIMATE member
  • ******
  • Karma: 65
  • Posts: 4867
  • I'm a self-made man and worships my creator.
    • p-ahlqvist.com
Error on line 996
« Reply #8 on: December 03, 2006, 11:48:33 am »

Quote from: Tixylix
You know, next time I might check to see if I am in the right directory  :lol:
Sorry about that.
Hehe, well, such things is nothing you can do anything about... Mis-reading, mis-understanding and looking in wrong places is just things every one do from time to time. LOL...Glad you found out by yourself though, worse is if aomeone wlse discovers that and point it out to you, right ;)

P
Logged
"It's only dead fish that goes with the flow... "
Updated