Forums

[Plugin: Frontpage-Slideshow] problem on wp2.8.4, could not activate plugin (14 posts)

  1. trickypsg
    Member
    Posted 2 years ago #

    I downloaded the plugin via WP Plugin Manager
    and when I activate it I get this:

    Parse error: parse error in C:\wamp\www\wp-imo\wp-content\plugins\frontpage-slideshow\frontpage-slideshow.php on line 662

    Any thoughts?
    thanks

    http://wordpress.org/extend/plugins/frontpage-slideshow/

  2. jeff_
    Member
    Posted 2 years ago #

    Every thing is right on the repository... try to download it again... I just cant say much...

  3. duncan9384
    Member
    Posted 2 years ago #

    apparently, it only happens when you run on local with wamp and other...
    I did not succeed to resolve it...

  4. jeff_
    Member
    Posted 2 years ago #

    Have you tried to change the end of line in order to be the Windows way ?

  5. jgbutler
    Member
    Posted 2 years ago #

    Similar problem on a LAMP box:

    Parse error: syntax error, unexpected $end in /srv/www/htdocs/cisweb/wordpress/wp-content/plugins/frontpage-slideshow/frontpage-slideshow.php on line 662

  6. jeff_
    Member
    Posted 2 years ago #

    on lamp ??? u sure ?? on linux ? hum... maybe some trouble with php ? dont thing so but who knows ?

  7. jeff_
    Member
    Posted 2 years ago #

    I just committed a new release : try this one and let me know if the problems are still there...

  8. jgbutler
    Member
    Posted 2 years ago #

    Just used WordPress' automatic plug-in installation to delete then re-install Frontpage-Slideshow version .6. When I tried to activate it, I still received the following:

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected $end in /srv/www/htdocs/cisweb/wordpress/wp-content/plugins/frontpage-slideshow/frontpage-slideshow.php on line 767

    My system is:

    WordPress 2.8.4
    SUSE Linux
    Apache/2.2.10
    MySQL 5.0.67
    PHP Version 5.2.6

  9. jgbutler
    Member
    Posted 2 years ago #

    I suspect there is a problem with all the PHP short tags used in your code. I'm checking with an administrator of my system to check it out.

  10. jgbutler
    Member
    Posted 2 years ago #

    Tried enabling short tags in php.ini with

    short_open_tag = on

    but I got the same error message. Incidentally, in php.ini it states:

    ; Using short tags is discouraged when developing code meant for redistribution
    ; since short tags may not be supported on the target server.

    So you may want to convert your short tags to regular ones.

  11. jgbutler
    Member
    Posted 2 years ago #

    Hold on! I did not properly enable short tags before. When I checked a second time and then enabled them properly, Frontpage-Slideshow DID activate!

    Mystery solved.

  12. jeff_
    Member
    Posted 2 years ago #

    Okay thanks : its just a bad habit... will be corrected on next release

    Note : the short tag IS the regular one... le full tag has been added in order to clean some doubts when using multiple languages... but who is using multiple languages into the same script (and which server is supporting that)... in my opignon : its is ont of the most stupid thing about php... anyway...

  13. jeff_
    Member
    Posted 2 years ago #

    This bad behavior is corrected by now (since version 0.6.1)

  14. jeff_
    Member
    Posted 2 years ago #

    Could you please change the topic status to "resolved" ?

Topic Closed

This topic has been closed to new replies.

About this Topic