This question about Using an extension: Answered

Edit button opens an empy page

Hello everybody,

I have just installed the NatSkin extension and everything works fine smile

… except the editing a topic does not work, the same for creating a new topic.

As soon as I click on the edit link of the topic I get an empty page.
But as soon as I add &cover=pattern to the edit URL I get an editor and may change the topic.

Do you have any idea what is going wrong here?

I do not find any hints in eitherfoswiki's error.log nor the error_log of my apache2.

I would be glad to get help.

Best regards,
Sebastian Wolf

-- SebastianWolf - 03 Apr 2015

Here you may see the plugins I have installed:
{Plugins}{AutoTemplatePlugin}{Enabled}    use default   
{Plugins}{AutoViewTemplatePlugin}{Enabled}       
{Plugins}{BookmakerPlugin}{Enabled}    use default   
{Plugins}{BreadCrumbsPlugin}{Enabled}    use default   
{Plugins}{CommentPlugin}{Enabled}       
{Plugins}{CompareRevisionsAddonPlugin}{Enabled}       
{Plugins}{DBCachePlugin}{Enabled}    use default   
{Plugins}{EditTablePlugin}{Enabled}       
{Plugins}{FilterPlugin}{Enabled}    use default   
{Plugins}{FlexFormPlugin}{Enabled}    use default   
{Plugins}{FlexWebListPlugin}{Enabled}    use default   
{Plugins}{GenPDFAddOnPlugin}{Enabled}    use default   
{Plugins}{GridLayoutPlugin}{Enabled}    use default   
{Plugins}{HistoryPlugin}{Enabled}       
{Plugins}{ImageGalleryPlugin}{Enabled}    use default   
{Plugins}{ImagePlugin}{Enabled}    use default   
{Plugins}{ImportExportPlugin}{Enabled}    use default   
{Plugins}{InterwikiPlugin}{Enabled}       
{Plugins}{JQueryPlugin}{Enabled}       
{Plugins}{MailerContribPlugin}{Enabled}    
This plugin is part of the MailerContrib, and must be enabled for mail notification from the browser to work
{Plugins}{MimeIconPlugin}{Enabled}    use default   
{Plugins}{NatEditPlugin}{Enabled}       
{Plugins}{NatSkinPlugin}{Enabled}    use default   
{Plugins}{PatchFoswikiContribPlugin}{Enabled}    use default   
{Plugins}{PreferencesPlugin}{Enabled}       
{Plugins}{PublishPlugin}{Enabled}    use default   
{Plugins}{RenderListPlugin}{Enabled}       
{Plugins}{RenderPlugin}{Enabled}    use default   
{Plugins}{SlideShowPlugin}{Enabled}       
{Plugins}{SmiliesPlugin}{Enabled}       
{Plugins}{SpreadSheetPlugin}{Enabled}       
{Plugins}{TablePlugin}{Enabled}       
{Plugins}{TinyMCEPlugin}{Enabled}       
{Plugins}{TopicInteractionPlugin}{Enabled}    use default   
{Plugins}{TWikiCompatibilityPlugin}{Enabled}    use default   
{Plugins}{TwistyPlugin}{Enabled}       
{Plugins}{WebLinkPlugin}{Enabled}    use default   
{Plugins}{WysiwygPlugin}{Enabled}       

-- SebastianWolf - 03 Apr 2015

Hey Sebastian - How about any javascript errors in your browser console? That could provide some hints.

Also, does NatSkin seem to work ok otherwise? For example, does the attach UI work?

One last thing: it appears that you have both AutoTemplatePlugin and AutoViewTemplatePlugin enabled. You should have just one. I'd suggest using AutoTemplatePlugin.

-- LynnwoodBrown - 06 Apr 2015

Thank you for your answer! The browser console shows some warnings in the css only: [Warning] Unexpected CSS token: : (fontawesome.css, line 4, x5) [Warning] Invalid CSS property declaration at: * (jquery.superfish.css, line 1, x3) [Warning] Invalid CSS property declaration at: * (jquery.tabpane.css, line 1, x3) [Warning] Invalid CSS property declaration at: * (BaseStyle.css, line 1) [Warning] Unexpected CSS token: } (BaseStyle.css, line 1)

NatSkin works properly in "normal" and raw mode but as soon as I want to edit a topic using NatSkin it fails. I also tried to pass cover=nat to the edit-URL, it fails, too.

I have disabled AutoViewTemplatePlugin: it still not work I have disabled AutTemplatePlugin, too: it still not work.

Do you habe any other ideas?

-- SebastianWolf - 11 Apr 2015

You might need to allow unauthenticated REST access. If rest is listed in AuthScript, it should be removed. The other thing to check is watch the server logs, are there any 404's or other errors when Edit is clicked.

-- GeorgeClark - 11 Apr 2015

Thank you George for your comment. I have tried your hint removing rest from the AuthScript but I have still the same problem. The apache error_log shows no errors only some warnings concerning rcs: [Mon Apr 13 10:27:25 2015] [error] [client fe80::e6ce:8fff:fe35:8ba8] rcs: warning: -V is obsolete; instead, use --version, referer: http://coxorange.local/foswiki/bin/configure

If I call co -V in the shell I get the same warning:

coxorange:apache2 wolf$ co -V co: warning: -V is obsolete; instead, use --version co (GNU RCS) 5.9.2 Copyright (C) 2010-2013 Thien-Thi Nguyen Copyright (C) 1990-1995 Paul Eggert Copyright (C) 1982,1988,1989 Walter F. Tichy, Purdue CS License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent

I had a look to the foswiki/working/logs directory too, but the error.log file shows no error messages.

Is there any parameter which I may add to the URL to get some more debug messages?

-- SebastianWolf - 13 Apr 2015

What's your SKIN variable set to in the SitePreferences of your Foswiki? Should be nat only.

-- MichaelDaum - 13 Apr 2015

Michael, thanks a lot! Now it works perfectly!

As the natskin did not worked well I had the following setting in my SitePreferences:

  • set COVER = pattern

  • set SKIN = pattern

I don't remember why I had set both variables. But when I replaced pattern by nat the edit mode did not work

  • set COVER = nat

  • set SKIN = nat

As soon as I ONLY set the SKIN variable as you suggested, the edit mode worked well!

So now I am happy smile

-- SebastianWolf - 13 Apr 2015
 

QuestionForm edit

Subject Using an extension
Extension NatSkin
Version Foswiki 1.1.9
Status Answered
Related Topics
Topic revision: r8 - 14 Apr 2015, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy