WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WP Publication Archive] Activation Error

[Resolved] [Plugin: WP Publication Archive] Activation Error

  • danaskallman
    Participant

    @dskallman

    Hi,

    Totally excited to find this plugin!

    Got this error when I tried to activate

    Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/ynpnorg/public_html/crm/wp-content/plugins/wp-publication-archive/wp-publication-archive.php on line 36

    Any thoughts on why & how to fix?

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Eric Mann
    Member

    @ericmann

    @dskallman – Thank you SO much for pointing this out! It turns out I had a small typo in the initialization script … I’ve fixed it and released version 2.0.1 with the bugfix.

    danaskallman
    Participant

    @dskallman

    No, thank you Eric, this is awesome. It was just what I was looking for and am so grateful you have created/updated this plugin.

    Question, is there a way to add this option to post on the front-end? I am working with an all volunteer organization and don’t want everyone to access the admin panel and not overwhelm the admin person who is a volunteer too.

    I may be asking for too much, but thought I’d put it out there 🙂

    THANKS Eric!!!

    Plugin Author Eric Mann
    Member

    @ericmann

    @dskallman – That’s not too big of a request at all! I’ll see what I can do for the next release 🙂

    danaskallman
    Participant

    @dskallman

    Wow, that was quick. Good to know it’s not too crazy 🙂

    Thanks Eric 🙂

    Dana

    danaskallman
    Participant

    @dskallman

    Hi Eric,

    Just testing out a little more of this plugin. I added a file and then when to the page archive I created to download and I got this:

    Warning: Cannot modify header information – headers already sent by (output started at /home/ynpnorg/public_html/crm/wp-content/plugins/wp-publication-archive/includes/class.mimetype.php:242) in /home/ynpnorg/public_html/crm/wp-content/plugins/wp-publication-archive/includes/openfile.php on line 13

    Warning: Cannot modify header information – headers already sent by (output started at /home/ynpnorg/public_html/crm/wp-content/plugins/wp-publication-archive/includes/class.mimetype.php:242) in /home/ynpnorg/public_html/crm/wp-content/plugins/wp-publication-archive/includes/openfile.php on line 15

    Warning: readfile(http://crm.ynpn.org/wp-content/uploads/ynpn_brandstandardsguide.pdf) [function.readfile]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/ynpnorg/public_html/crm/wp-content/plugins/wp-publication-archive/includes/openfile.php on line 17

    Not sure you are aware of it. The link I added worked when I used it directly in the URL.

    Thanks!

    Dana

    Plugin Author Eric Mann
    Member

    @ericmann

    OK, I’ve just updated to version 2.1.0. Give it a try and let me know if you’re still having issues. If you are, then please send me a link to your site so I can take a look and try to figure things out.

    danaskallman
    Participant

    @dskallman

    Hey Eric,

    Wow, thank you for your response, I really appreciate it. I still get the error 🙁

    Warning: Cannot modify header information – headers already sent by (output started at /home/ynpnorg/public_html/crm/wp-content/plugins/wp-publication-archive/includes/class.mimetype.php:242) in /home/ynpnorg/public_html/crm/wp-content/plugins/wp-publication-archive/includes/openfile.php on line 13

    Warning: Cannot modify header information – headers already sent by (output started at /home/ynpnorg/public_html/crm/wp-content/plugins/wp-publication-archive/includes/class.mimetype.php:242) in /home/ynpnorg/public_html/crm/wp-content/plugins/wp-publication-archive/includes/openfile.php on line 15

    The site I am setting it up on is private. Trying to create a contact manager and document library of sorts. I can send you the information, if you don’t mind. Just contact me through here.

    Again thanks a million.

    Dana

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] [Plugin: WP Publication Archive] Activation Error’ is closed to new replies.