Closed Thread
Results 1 to 4 of 4

Thread: Parse error??

  1. #1
    shiv-patel82 is offline x10Hosting Member shiv-patel82 is an unknown quantity at this point
    Join Date
    Jul 2011
    Posts
    4

    Parse error??

    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
    Attached Files

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: Parse error??

    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.
    Nothing is always absolutely so.

  3. #3
    shiv-patel82 is offline x10Hosting Member shiv-patel82 is an unknown quantity at this point
    Join Date
    Jul 2011
    Posts
    4

    Re: Parse error??

    Quote Originally Posted by descalzo View Post
    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?

  4. #4
    Smith6612's Avatar
    Smith6612 is offline <<< wants a Turkey Smith6612 has a spectacular aura about
    Join Date
    Dec 2007
    Location
    Exploded
    Posts
    6,483

    Re: Parse error??

    Quote Originally Posted by shiv-patel82 View Post
    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.

    My signature likes cookies! Do you? :D

Closed Thread

Similar Threads

  1. Parse error: syntax error, unexpected T_ELSE
    By feven05 in forum Free Hosting
    Replies: 6
    Last Post: 07-14-2011, 02:07 PM
  2. Replies: 0
    Last Post: 04-18-2011, 07:15 AM
  3. PHP parse error
    By zebaszp46 in forum Free Hosting
    Replies: 4
    Last Post: 09-20-2010, 12:20 PM
  4. Parse error: syntax error, unexpected T_ELSE
    By whathappenswhen53 in forum Programming Help
    Replies: 3
    Last Post: 08-21-2010, 08:10 AM
  5. Replies: 9
    Last Post: 10-11-2007, 11:45 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers