News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Parse error with permissions in 1.1RC2

Started by Firestormic, May 28, 2006, 06:12:14 AM

Previous topic - Next topic

Firestormic

I am looking for help in fixing a problem I had when I went to change permissions, my forum is 1.1RC2 and using the Default theme, coloured Dark Green with Tiny portal.

I get this error upon clicking on the Permissions tab in admin:

Parse error: parse error, unexpected ',', expecting ')' in /home/globalci/public_html/Sources/ManagePermissions.php on line 1308

Can someone tell me exactly which line this is referring to and clarify what the change is required.

Also as a side question, how does one tell which is line 1308?

sawz

on line 1308 of my ManagePermissions i have this:    ),

now perhaps a mod did this too you? if not i suggest you re-upload that file
and see how it goes.

my html editor tells me what line i am on, so thats how i was able to find
that specific spot in the script.
keep smiling, they'll always wonder what your up too.....

Firestormic

okay, what code immediately precedes it?

I think it may have been a mod that did it.

sawz

lines 1305-1308

   'board' => array(
         'general_board' => array(
            'moderate_board' => false,
         ),

if it was a mod, the replaced file will have a ~ at the end of the name
keep smiling, they'll always wonder what your up too.....

Fizzy

Quote from: Ancient Storm on May 28, 2006, 06:12:14 AM
Also as a side question, how does one tell which is line 1308?

A free program like HTMLkit does.  :)
"Reality is merely an illusion, albeit a very persistent one." - A.E.


sawz

Quote from: Fizzy on May 28, 2006, 06:32:06 AM
Quote from: Ancient Storm on May 28, 2006, 06:12:14 AM
Also as a side question, how does one tell which is line 1308?

A free program like HTMLkit does.  :)

another freebie Arachnophilia
get the older version.
keep smiling, they'll always wonder what your up too.....

Firestormic

I am not having any luck - those lines look exactly as you posted them, sawz

sawz

any mods that altered that script?
you will see the replaced one with a ~ at the end of the name.
ManagePermissions.php~
keep smiling, they'll always wonder what your up too.....

Firestormic

Yes, those lines are identical as well

Firestormic

weird... i uninstalled tiny portal and it went okay....

sawz

Quote from: Ancient Storm on May 28, 2006, 07:04:57 AM
weird... i uninstalled tiny portal and it went okay....

i am not familiar with tiny portal, what exactly is that?
keep smiling, they'll always wonder what your up too.....

Fizzy

"Reality is merely an illusion, albeit a very persistent one." - A.E.


Advertisement: