• I got this error while i try to activate the plug-ins
    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /web/htdocs/www.ascaniocelestini.it/home/wp/wp-content/plugins/admin-menu-editor/menu-editor-core.php on line 13

    I take a look in the code and don’t find nothing wrong, but I’m really newbie…

    http://wordpress.org/extend/plugins/admin-menu-editor/

Viewing 4 replies - 1 through 4 (of 4 total)
  • I received the same syntax error (different path to same file, of course). I am currently using WP 3.0 since 9 users “say it works” I haven’t tried upgrading to 3.0.1. Is it perhaps a PHP5 problem? My website is hosted with GoDaddy and supports PHP5 but is set to PHP4 by default. There is an HTACCESS command that has worked for other situations, but doesn’t seem to help here, the code is:

    AddHandler x-httpd-php5 .php
    AddHandler x-httpd-php .php4

    Original poster – did you end up fixing this problem? Admin/other uses – any ideas how to fix this syntax error, if it’s not a PHP4/5 issue?

    I’m having the same problem, even after I turned off all the other plugins. I’m running 3.0.1, however, I think it’s on PHP4, doh. Might have to tell my host to gimme 5.

    Dang, I’m super excited to use this plugin…I’d love to get it working.

    I’m a WP newbie and also had this problem.
    A friend gave me this trick, and it works perfectly for me.

    “Just upload an .htaccess file with this piece of code (or add the following line if it already exists) :
    SetEnv PHP_VER 5

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Admin Menu Editor] syntax error while activating’ is closed to new replies.