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
The detail description about the environment is in the attach file.
--
JingWang - 11 Sep 2006
Answer
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
--
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
On trying to create new project, I am getting error,
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 for current pages.
Go back to the previous page and enter a legal name.
--
Naitik Amin - 2017-07-13