Warning: The author of this contribution does not provide support for it anymore.

Tweet this topic or post

Errors in ACP after installing - Tweet this topic or post

Errors in ACP after installing

by Mother Mary » Wed Mar 23, 2011 10:50 pm

I installed everything and did the refresh for the style (all three) and then purged the cache. When I go into the ACP to click Board Settings and set the tweet hash marks it gives me this error for every thing back there now: (no matter what setting I try to click.)

Parse error: syntax error, unexpected ';', expecting ')' in /home/slinic/public_html/forum/includes/acp/acp_board.php on line 72

I only changed the one line of code in the acp_board.php file.

'site_desc' => array('lang' => 'SITE_DESC', 'validate' => 'string', 'type' => 'text:40:255', 'explain' => false),
'tweet_hash' => array('lang' => 'ACP_TWEET_HASH',

'site_desc' (has the whole line and then right after it I added)
'tweet_hash'

So, it looks like that in the file I changed.

Oh and if I take that one line out from acp_board.php, every thing comes in fine in the ACP board settings.
Add that one line back in and it gives me the error again.

Thank you!
Mother Mary
Registered User
Posts: 12
Joined: Mon Nov 22, 2010 7:27 pm
Contact:

Re: Errors in ACP after installing

by RMcGirr83 » Fri Mar 25, 2011 7:29 pm

Please post up the 5 lines before and the 5 lines after line 72.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: Errors in ACP after installing

by Mother Mary » Mon Mar 28, 2011 5:01 pm

Code: Select all

'legend2'            => 'WARNINGS',
                  'warnings_expire_days'   => array('lang' => 'WARNINGS_EXPIRE',      'validate' => 'int',   'type' => 'text:3:4', 'explain' => true, 'append' => ' ' . $user->lang['DAYS']),

                  'legend3'               => 'ACP_SUBMIT_CHANGES',
               )
(Line 72)            );
         break;

         case 'features':
            $display_vars = array(

'title' => 'ACP_BOARD_FEATURES',
Mother Mary
Registered User
Posts: 12
Joined: Mon Nov 22, 2010 7:27 pm
Contact:

Re: Errors in ACP after installing

by RMcGirr83 » Mon Mar 28, 2011 5:34 pm

Post up the 10 lines after this line in your acp_board.php file

Code: Select all

                  'sitename'            => array('lang' => 'SITE_NAME',            'validate' => 'string',   'type' => 'text:40:255', 'explain' => false),
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored
User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact: