WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Advanced Events Registration] Plugin could not be activated because it triggered a fatal er (14 posts)

  1. robanna
    Member
    Posted 4 years ago #

    Downloaded 2.1.8 and installed it on WP2.9.1.

    I get this error when activating it:

    Parse error: syntax error, unexpected T_CASE in C:\inetpub\wwwroot\blog\wp-content\plugins\advanced-events-registration\includes\event_form_config.php on line 67

    Can anyone help me out?
    Thanks-
    Rob

    WP 2.9.1
    AER 2.1.8
    IIS 7.0 windows server
    PHP 5.2.12

    http://wordpress.org/extend/plugins/advanced-events-registration/

  2. sethshoultes
    Member
    Posted 4 years ago #

    Hey Robanna,

    In your php.ini file.

    Change short_open_tag = Off

    to

    short_open_tag = On

    Let me know if that works.

    Seth

  3. sethshoultes
    Member
    Posted 4 years ago #

    Also, if you are running the Event Registration plugin by David Fleming. You will need to deactivate that plugin first.

  4. robanna
    Member
    Posted 4 years ago #

    Thanks Seth, I am running David's plugin for this upcoming event. I will give it a shot when it's over.

    Thanks for the plugin and the quick response.
    Rob

  5. bhelms
    Member
    Posted 4 years ago #

    I'm having the same issue. I do not have David's plugin installed and my php.ini is already set to short_open_tag = On

  6. sethshoultes
    Member
    Posted 4 years ago #

    Hey bhelms,

    I am working on removing the short open tags (when I have time.) They were left over from a very early version of the plugin. So hopefully this issue will be resolved soon.

    You can try commenting out the require("includes/event_form_config.php"); around line #71 in the event_regis.php file. See if that helps.

    I have removed all of them from the pro version. I am hoping to have the free version done sometime next week.

    Seth

  7. bhelms
    Member
    Posted 4 years ago #

    I really need to use this plugin for a project that I'm working on and would buy the pro version but I just need to be confident that this issue has been fixed in the pro version.

  8. sethshoultes
    Member
    Posted 4 years ago #

    I have removed them from the pro version. I have also removed them from the free version, I just need to find the time to upload it now (need to install SVN on my new computer.)

    If you have problems (after purchasing) I will be glad to help you get it running. If we still can't get it running, I will give you a refund.

    Seth

  9. spuschur
    Member
    Posted 4 years ago #

    I'm running WP 2.9.2 and I'm getting this fatal error when I try to activate.

    I was wondering if someone could tell me where I can find the php.ini file that I'm supposed to change? I can't seem to find it.

    Thanks in advance =]

  10. bbbenson
    Member
    Posted 4 years ago #

    Hi im running WP 2.9.2 and also receive this error. The host has short open tags on, and ive removed all short tags anyways. the fatal error still occurs. additionally, i have tried removing this line:

    require("includes/event_form_config.php");

    to no avail. any help would be appreciated.

  11. DivaVocals
    Member
    Posted 4 years ago #

    **deleted by author**
    Reason: Creating new thread.. My issue seems "slightly" different, though related.

  12. rolet
    Member
    Posted 4 years ago #

    Pertaining to Seth's short_open_tag = Off post, we did not want to turn them on. I did a find/replace with the following regular expression: <\?(?!php)

    This looks for all instances of <? that do not include php after it. So, you won't find "<?php" in your search results. Once found, you'll need to do two things:

    1. Replace all instances of <? with <?php
    2. Where there is <?=$your_variable, change that to <?php echo $your_variable.

    I did these two things globally and it activated. I have yet to actually use it. So, we'll see.

    Seth, maybe that regex will help you in the next update. Thanks.

  13. nchubaty
    Member
    Posted 4 years ago #

    Hi Seth!

    I'm working on a site for a client and I built him a demo registration form using the free version of the plugin and it worked beautifully.

    Now I'm attempting to put the WP site on the client's server and I'm getting the error mentioned above:

    Parse error: syntax error, unexpected T_CASE in C:\wordpress\wp-content\plugins\advanced-events-registration\includes\event_form_config.php on line 67

    I'm using WordPress 2.9.2 and your new version 2.1.11. I turned the short_open_tag to On but it didn't seem to help. I need the Pro version of your plugin because I have to add some customizations, but I have to get this one working so I can get it started. :) Any help you can offer is much appreciated!

    Nicole

  14. sethshoultes
    Member
    Posted 4 years ago #

    Hi everyone,

    I apologize for all the trouble. Using short tags is not a good a practice! My bad.

    I removed the PHP short tags in the latest version (2.1.12), I removed them earlier in the year but never had a chance to upload to WordPress. Somehow I overwrote the changes I made and uploaded version 2.1.12 with the short tags still there.

    Seth

Topic Closed

This topic has been closed to new replies.

About this Topic