Fork me on GitHub

syntax with pagemaster (0.4.x)  Bottom

  • I started using pagemaster 4.0 on one of a zikula 1.2.1. It works like a charm locally and on my server at first time.

    Now I have a problem when I try to view a publist this error appears:

    Quote

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homez.29/.../www/haute-montagne/modules/pagemaster/classes/FilterUtil.class.php on line 40

    I try to update pagemaster and zikula and I had the same problem.

    Any idea?

    Thanks



    Edited by magicvince on Sep 02, 2010 - 11:13 AM.
  • Uh
    So, you're using the 0.4.2 files and that error is thrown?

    I'm not sure, but I suspect it's a problem with PHP 4?
    Remember that PageMaster requires PHP 5.

    --
    - Mateo T. -
    Mis principios... son mis fines
  • Great...

    I don't notice that my provider doesn't automatically upgrade PHP4 to PHP5

    So for ovh user's or other person having the same problem, I just added

    Quote

    SetEnv PHP_VER 5

    and it works like a charm.

    Very very thanks nestormateo
  • However, that solution can only be guaranteed for your server set up, others will require a change to an .htaccess, others a switch in the control panel. Really, if your server isn't defaulted to PHP5 by now, it's time to look to a new provider.

    --
    Home Page | Find on Facebook | Follow on Twitter

This list is based on users active over the last 60 minutes.