Parse error??

Status
Not open for further replies.

shiv-patel82

New Member
Messages
4
Reaction score
0
Points
0
Site Url: http://envypvp.x10.mx/index.php
Heres the error when i try to access my Site.

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/bama/public_html/Sources/Subs.php on line 3944

I know I know

The error is on my part but i have no idea how to fix it.

Is there a way that my site can be set back to about 8/5/2011 5:00 UTC Central Time US & CANADA? Or anything close to that.

If not can someone see what is wrong in the Subs.php file.

Attachment Below
 

Attachments

  • Subs.txt
    171.3 KB · Views: 32

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Line 3943:

Code:
'subbutton2' => array(`

remove the backtick before the (

Which uncovers another error, this time on Line 4098

Code:
	'href' => $scripturl . '?action=' .  (!empty($modSettings['mytab1_Custom_URL']) ? $modSettings['mytab1_Custom_URL'] :$txt'mytab1default']),

Missing the [ at the end of the line in: $txt['mytab1default']

Now the script will parse.
 

shiv-patel82

New Member
Messages
4
Reaction score
0
Points
0
Line 3943:

Code:
'subbutton2' => array(`

remove the backtick before the (

Which uncovers another error, this time on Line 4098

Code:
    'href' => $scripturl . '?action=' .  (!empty($modSettings['mytab1_Custom_URL']) ? $modSettings['mytab1_Custom_URL'] :$txt'mytab1default']),

Missing the [ at the end of the line in: $txt['mytab1default']

Now the script will parse.


Thank you :) Can someone close the topic?
 

Smith6612

I ate all of the x10Pizza
Community Support
Messages
6,517
Reaction score
48
Points
48
Thank you :) Can someone close the topic?

You should be able to close the topic by selecting Thread Tools at the top of the page and closing it from there. If it doesn't have such an option, it should close automatically in a few days.
 
Status
Not open for further replies.
Top