0
Welcome Guest! Login
0 items Join Now

Syntax error in compatability.php

    • Omikron's Avatar
    • Omikron
    • Jr. Rocketeer
    • Posts: 47
    • Thanks: 0

    Syntax error in compatability.php

    Posted 11 years 7 months ago
    • Hello, I have been experimenting with gantry built in ajax system and was getting a php error when simplly trying the example found here;

      www.gantry-framework.org/documentation/j...anced/ajax_system.md

      This was the php error;

      Parse error: syntax error, unexpected T_ELSE in PATH/components/com_gantry/compatability.php on line 26

      When trying to browse to a url like;

      index.php?option=com_gantry&task=ajax&format=raw&template=gantry&model=example

      So I looked and there does seem to be an extra curly bracket on line 13 in comparison.php on both gantry for 2.5 and 3.1. Removing this allows the call to function properly.


      **On a side note is there anymore documentation or examples for gantry's built in ajax? The documentation states "You can see much more advanced models if you explore the gantry library repository.", however I cannot find anything.
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Syntax error in compatability.php

    Posted 11 years 7 months ago
    • Omikron's Avatar
    • Omikron
    • Jr. Rocketeer
    • Posts: 47
    • Thanks: 0

    Re: Syntax error in compatability.php

    Posted 11 years 7 months ago

Time to create page: 0.070 seconds