SID-00672: BlogFactory page returns an error message.
| Status: |
Unanswered |
TWiki version: |
4.3.2 |
Perl version: |
perl 5.8.8 |
| Category: |
CategoryPlugins |
Server OS: |
Solaris |
Last update: |
15 years ago |
I installed the blog plugin, and when I go to the blog factory page to create a page it gives me the following error message:
Error I get when I try to make a blog:
ERROR: (404) Invalid REST invocation (
BlogPlugin on createblog)
I am not sure how to correct this error based on the information in this error message. Thank you for any help you might be able to provide.
--
DanielBeaulieu - 2009-12-16
Discussion and Answer
Anyone have any idea why blog plugin doesnt work? I was able to fix the Error (404), but now it just gives a different error.
It says:
ERROR: (401):
AccessControlException: Access to rest Main.Webhome for
BaseUserMapping_666 is denied. Authenification required.
--
DanielBeaulieu - 2009-12-21
That problem was due to me not being logged in, however I get a new problem now:
"Internal server error:
The server encountered an internal error or misconfiguration and was unable to complete your request."
[Sun Dec 20 22:28:41 2009] [error] [client ::1] at /var/www/twiki/lib/TWiki/Plugins/BlogPlugin/Factory.pm line 78, referer:
http://localhost/twiki/bin/view/TWiki/BlogFactory?twiki_redirect_cache=67d9b2cf8b2e0aa302650abd07f6d0da
[Sun Dec 20 22:28:41 2009] [error] [client ::1] \tTWiki::Plugins::BlogPlugin::Factory::handleCreateBlog('TWiki::Plugins::BlogPlugin::Factory=HASH(0x8f67c80)', 'TWiki=HASH(0x85737c0)', 'BlogPlugin', 'createblog') called at /var/www/twiki/lib/TWiki/Plugins/BlogPlugin.pm line 70, referer:
http://localhost/twiki/bin/view/TWiki/BlogFactory?twiki_redirect_cache=67d9b2cf8b2e0aa302650abd07f6d0da
[Sun Dec 20 22:28:41 2009] [error] [client ::1] \tTWiki::Plugins::BlogPlugin::handleCreateBlog('TWiki=HASH(0x85737c0)', 'BlogPlugin', 'createblog') called at /var/www/twiki/lib/TWiki/Func.pm line 2335, referer:
http://localhost/twiki/bin/view/TWiki/BlogFactory?twiki_redirect_cache=67d9b2cf8b2e0aa302650abd07f6d0da
[Sun Dec 20 22:28:41 2009] [error] [client ::1] \tTWiki::Func::__ANON__('TWiki=HASH(0x85737c0)', 'BlogPlugin', 'createblog') called at /var/www/twiki/bin/rest line 174, referer:
http://localhost/twiki/bin/view/TWiki/BlogFactory?twiki_redirect_cache=67d9b2cf8b2e0aa302650abd07f6d0da
[Sun Dec 20 22:28:41 2009] [error] [client ::1] Premature end of script headers: rest, referer:
http://localhost/twiki/bin/view/TWiki/BlogFactory?twiki_redirect_cache=67d9b2cf8b2e0aa302650abd07f6d0da
[Sun Dec 20 22:28:41 2009] [error] [client ::1] File does not exist: /var/www/favicon.ico
Please let me know if you can help me with this.
--
DanielBeaulieu - 2009-12-21
I tracked down the error in the apache log to this line of code in Factory.pm in the blog plugin:
# check permission, user authorized to create webs?
unless($session->{user}->isAdmin()) {
--
DanielBeaulieu - 2009-12-21
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2010-02-02
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.