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 someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is 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 History Action Size Date Who Comment
Perl source code filepm ProjectPlannerPlugin.pm r1 manage 88.1 K 2006-10-20 - 09:47 MarcJSVerwerft Fixed problem/added comments - version updated to 2.0.51
HTMLhtm TWiki_Configuration.htm r1 manage 166.2 K 2006-09-11 - 04:35 JingWang The configuration file of mine twiki environment
Unknown file formatpatch twiki.patch r1 manage 0.6 K 2006-10-14 - 06:49 AngelaMarieThomas proposed fix
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r10 - 2008-04-25 - AbhinavOnline
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.