Fork me on GitHub

PostCalendar download -- right version?  Bottom

Go to page 1 - 2 [+1]:

  • I am not sure if I am doing something wrong, but when I try to download/install PostCalendar v. 5.5.1 it says PostCalendar v. 5.0.1 . Is it pointing to the wrong download?
  • where are you attempting to download? the quick download link in the Extension DB should get you the correct version.
  • Thanks Craigh that did it. Now, when I try to install it, it give me a Blank Page. It does not want to install at all. Any ideas? I do have the Topics module installed (Zikula 1.1.1).
  • that's new. make sure you have all the files. I find that uploading an archive/tarball is more reliable than uploading a bunch of individual files.
  • Here is the error I am getting:

    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home//Website/modules/PostCalendar/pninit.php on line 127
  • I'm sorry you are having this trouble. In looking at the code, I don't see anything that might cause that issue. Did you re-upload the files? I'll ask Teb in on this issue, he did the most recent work on pninit.
  • I think I see what's happening: looking at the code at PostCalendar 5.5.1: pninit.php on line 127:

    Code

    pnRender::getInstance('PostCalendar')->clear_all_cache();
    I am using chained function calls, and with this I made PostCalendar PHP5-only. You can edit that file and remove that specific line completely to make the installer work for your environment.

    marc@marcpare.com

    I am not sure if I am doing something wrong, but when I try to download/install PostCalendar v. 5.5.1 it says PostCalendar v. 5.0.1 .
    You still see version 5.0.1 because your module is not yet upgraded to 5.1.1 and hence the previous version is still shown.

    --
    -- Teb
    -- Dutch Zikula Community


    Support questions in a Personal Message will be ignored. Use the forums at all times!
  • Thanks, I'll give it a try and report back.

    Should there be info added to the PostCalendar 5.5.1 module page informing us that it is PHP5 only? It looks like most are still using PHP4.4. It seems to me that it would be best to offer this mod (removing the line to install PostCal) to others who are on PHP4.x. This will give PostCal a little more installing audience exposure (more people will install it).

    Is this function necessary and is the combo PostCal + PHP5 offering more functionality over the PostCal + PHP4.x?

    My hosting provider still has not moved to PHP5 yet.
  • the insertion of PHP5-only code was accidental - or at least unplanned icon_smile
  • Thanks for the help. This fixed the problem. Are you going to amend PostCalendar 5.5.1 download file with this line removed? I am probably not the only one who has had problems installing it.

    Works great!
  • we're discussing solutions. thanks.
  • Thanks for reporting this. It's fixed in our codebase and a bugfix release shall be made available shortly, versioned as 5.5.2.
    At least the 5.x versions should remain PHP4 compatible.

    --
    -- Teb
    -- Dutch Zikula Community


    Support questions in a Personal Message will be ignored. Use the forums at all times!
  • new version is available now in the extdb. thanks
  • Thanks, commenting out that line helped me as well. But I now have an issue trying to add an event and I don't know if it's a similar PHP5 item. I have a clean site with no actual content or users and when I click on the add I get:

    Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/account/public_html/modules/PostCalendar/pnevent.php on line 204

    which is:

    Code

    foreach ($event_location_info as &$litmp) $litmp = DataUtil::formatForStore($litmp);

    I haven't started backtracking the code hoping the error is obvious to someone.

    P.S.
    I get this error from the calendar view as well as the admin panel



    edited by: mordac85, Aug 17, 2009 - 04:45 PM
  • which version of PostCalendar do you have installed? Which version of Zikula do you have installed? Which version of PHP do you have installed?

    thanks!

Go to page 1 - 2 [+1]:

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