Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
PostCalendar download -- right version?
-
- Rank: Softmore
- Registered: Dec 10, 2003
- Last visit: May 12, 2010
- Posts: 299
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? -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
where are you attempting to download? the quick download link in the Extension DB should get you the correct version. -
- Rank: Softmore
- Registered: Dec 10, 2003
- Last visit: May 12, 2010
- Posts: 299
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). -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
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. -
- Rank: Softmore
- Registered: Dec 10, 2003
- Last visit: May 12, 2010
- Posts: 299
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 -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
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. -
- Rank: Team Member
- Registered: Feb 27, 2005
- Last visit: Apr 12, 2010
- Posts: 665
I think I see what's happening: looking at the code at PostCalendar 5.5.1: pninit.php on line 127: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.Code
pnRender::getInstance('PostCalendar')->clear_all_cache();
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.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 .
--
-- Teb
-- Dutch Zikula Community
Support questions in a Personal Message will be ignored. Use the forums at all times! -
- Rank: Softmore
- Registered: Dec 10, 2003
- Last visit: May 12, 2010
- Posts: 299
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. -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
the insertion of PHP5-only code was accidental - or at least unplanned
-
- Rank: Softmore
- Registered: Dec 10, 2003
- Last visit: May 12, 2010
- Posts: 299
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! -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
-
- Rank: Team Member
- Registered: Feb 27, 2005
- Last visit: Apr 12, 2010
- Posts: 665
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! -
- Rank: Registered User
- Registered: Aug 17, 2009
- Last visit: Aug 18, 2009
- Posts: 6
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 -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
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!
- Moderated by:
- Support
