We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
You are here: TWiki> Support Web>HowToUseProjectPlannerPlugins (25 Apr 2008, AbhinavOnline? )
Tags:
create new tag
, view all tags

Question

When I use ProjectPlannerPlugins to create a new project, there is the error: "TWiki detected an internal error - please check your TWiki logs and webserver logs for more information.

Can't use string ("TOPICPARENT") as a HASH ref while "strict refs" in use"

Could you please tell me how to resolve this problem?

the version of ProjectPlannerPlugin is 2.0.50

Environment

TWiki version: TWikiRelease04x00x04
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin,Plugins.ActionTrackerPlugin,Plugins.EditTablePlugin,Plugins.TablePlugin,Plugins.EasyTimelinePlugin,Plugins.TimelinePlugin,Plugins.PreferencesPlugin,Plugins.CalendarPlugin,Plugins.RenderListPlugin,Plugins.WysiwygPlugin...
Server OS: RedHat? Linux 7.0 kernel 2.4.20-8
Web server: Apache 2.0.59
Perl version: 5.005, 5.6.1
Client OS: MS Windows XP,service pack 2
Web Browser: IE 6.0
Categories:  

The detail description about the environment is in the attach file. -- JingWang - 11 Sep 2006

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

I encountered the same problem. I'm not a Perl guy, but by commenting out this line: TWiki::Meta::put( 'TOPICPARENT', @metaargs ); in the ppSavePage method solved the problem. I've send a mail to the author describing what I did.

-- MarcJSVerwerft - 26 Sep 2006

Unfortunately, the fix only partially works. You can create projects and plans but afterwards, the projects don't show up in the projects list and the tasks are not linked to the projects frown

-- MarcJSVerwerft - 26 Sep 2006

There is a commented-out block in ppReadCache that checks to see if the cache file is old. Restore the code and it should work (make sure to kill speedy_backend etc.)

The TOPICPARENT line is probably using an old version of the api. I fixed it (I think) by switching from readTopicText/saveTopicText to readTopic/saveTopic and using the $meta object. The paramter to $meta->put is also (now?) a hash reference, not an array.

I'm using 4.04, no idea if this works in other versions/installations.

-- JustinLove - 12 Oct 2006

My uploaded patch is a false alarm. While it does get rid of the error, there are other issues with it. I blame sleep deprivation.

-- AngelaMarieThomas - 14 Oct 2006

I figured out the problem and have created a new version. I contacted the developer but since he doesn't answer my email, I've put the patch in the attachments of this topic. I changed the version number to 2.0.51

-- MarcJSVerwerft - 20 Oct 2006

I have added the fix as a new version to the ProjectPlannerPlugin in cooperation with KiranBondalapati.

-- MarcJSVerwerft - 26 Oct 2006

We have installed TWiki version 4.2 with mod_perl on Solaris environment. We have been facing issues with the Project Planner plugin and would need your help on this.

The version of plugin we are using is 2.0.5.1. We are able to install the plugin and the WebHome page is displayed properly , however while creating a new project the response page is directed to NewPageError? . The following is the message on the error page


Error creating new Project Planner page

One of the following is the cause:

* No page name was entered in the form * The page name is not a legal WikiName? * A page with the given name already exists. See WebIndex <http://twiki-beta.sfbay.sun.com/bin/view/Project/WebIndex> for current pages.

Go back to the previous page and enter a legal name.


Now when I go back to the Projects Web Home I can see the new project created with the same name. I have repeated the steps several times to make sure that none of the error conditions mentioned on the page stand true. Same is the issue when I try to add a plan to the project. Clicking the "create new plan" button always takes to the same error page.

Could you please let us know if there are any existing issues with the plugin on TWiki 4.2 or if there is a resolution to this problem. Please let us know if you need any more information to debug this further.

-- AbhinavOnline? - 25 Apr 2008

 
Change status to:
Topic attachments
I Attachment Action Size Date Who Comment
plpm ProjectPlannerPlugin.pm manage 88.1 K 20 Oct 2006 - 09:47 MarcJSVerwerft Fixed problem/added comments - version updated to 2.0.51
htmlhtm TWiki_Configuration.htm manage 166.2 K 11 Sep 2006 - 04:35 JingWang The configuration file of mine twiki environment
elsepatch twiki.patch manage 0.6 K 14 Oct 2006 - 06:49 AngelaMarieThomas proposed fix
Topic revision: r10 - 25 Apr 2008 - 15:55:07 - AbhinavOnline?
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback