ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


Parse error


  • 2009-08-04 03:51:34

    Parse error

    Hello,

    How can I solve the following error?

    My Start Page > Testing > Home

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/matin/public_html/ioc/mods/_standard/social/lib/classes/Application.class.php on line 144

    .........
    Things to describe:
    Operating system ATutor is installed on Linux 2.6.18-128.1.10.el5PAE
    ATutor version - 1.6.3.
    Patch #s applied - 01. 02, 03
    ATutor theme name - default/
    PHP version - 5.2.9
    MySQL version - 4.1.22-standard
    Webserver & version - navi2,
    Copies of error messages -
    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/matin/public_html/ioc/mods/_standard/social/lib/classes/Application.class.php on line 144

    Changes to default settings - Nothing

    Web browser being used - Firefoox, IE and others

  • 2009-08-04 03:52:28

    Re: Parse error

    If you are asking for help, provide lots of detail so problems can be reproduced.

    Things to describe:
    Operating system ATutor is installed on -
    ATutor version -
    Patch #s applied -
    ATutor theme name -
    PHP version -
    MySQL version -
    Webserver & version -
    Copies of error messages -
    Changes to default settings -
    Web browser being used -
    ...and anything else relevant -

  • 2009-08-04 08:56:26

    Re: Parse error

    Download a fresh copy and install again.

    This error generally means there is a corrupted file.

  • 2009-08-04 23:10:16

    Re: Parse error

    I have downloaded a fresh copy and installed again but still the same problem and message

    Before installing I deleted any previous database and directory

    What is the problem? What should I do now?

    [reply][b]In reply to:[/b]
    Download a fresh copy and install again.

    This error generally means there is a corrupted file.
    [op]forums/view.php?fid=7;pid=18227;page=1#18229[/op][/reply]

  • 2009-08-05 07:37:27

    Re: Parse error

    Is it the same error message?

  • 2009-08-05 11:18:24

    Re: Parse error

    Yes, it's the exact same error

  • 2009-08-05 11:59:06

    Re: Parse error

    You probably need to recompile PHP using the --with-curl switch.

  • 2009-08-06 05:59:28

    Re: Parse error

    Hello

    Just for the information,

    The problem wasn't the curl it was enabled and was working properly.
    I just haven't known that the version of PHP/CLI was 4.x but the version of the PHP on the server was 5.2.9., so I updated the PHP/CLI and the problem was solved.


    Now should I install all the patches or they are optional?

    Thanks Greg,