[xwiki-devs] Upgraded from Xwiki 2.x to 3.1.1 now Admin panel looks strange is wiki or DB corrupt?
Hi, I wonder if anyone can help me as I've tried to obtain help from the Xwiki Users list but didn't work? After an upgrade from my old version of Xwiki which was 2.x (I think I built it in 2010) to 3.1.1 I ended up seeing this as my admin panel: http://www.optiplex-networks.com/xwiki/bin/download/Main/WebHome/Screenshot-... In comparison with my old Xwiki instance this doesn't look right. Additionally, figuring that I should upgrade to version 3.3 or 3.4rc-1 I ended up not being able to display anything and getting a 500 error in Tomcat. I am using Tomcat6 coupled with Postgresql as DB backend. I will post the logs of tomcat if requested but currently I am slightly more concerned with the ill looking admin panel. Also having two similar wiki sites running on 2 different instances of Tomcat, I am unable to use the WYSIYSG editor on this current wiki as it doesn't render, the little animation just keeps spinning forever but not actually doing anything. The other wiki's WYSIYSG editor is ok though after the upgrade?? Can anybody help? Regards, Kaya
On 01/22/2012 07:56 AM, Kaya Saman wrote:
Hi,
I wonder if anyone can help me as I've tried to obtain help from the Xwiki Users list but didn't work?
After an upgrade from my old version of Xwiki which was 2.x (I think I built it in 2010) to 3.1.1 I ended up seeing this as my admin panel:
http://www.optiplex-networks.com/xwiki/bin/download/Main/WebHome/Screenshot-...
In comparison with my old Xwiki instance this doesn't look right.
Looks like you have a custom skin based on Toucan. Well, in the meantime the Toucan CSS has changed a bit, you should integrate those changes back into your skin. Generally, it's a bad idea to copy and modify the base skin, you should include it from your CSS and override the things you want changed. This way it will be easier to upgrade.
Additionally, figuring that I should upgrade to version 3.3 or 3.4rc-1 I ended up not being able to display anything and getting a 500 error in Tomcat.
I am using Tomcat6 coupled with Postgresql as DB backend.
I will post the logs of tomcat if requested but currently I am slightly more concerned with the ill looking admin panel. Also having two similar wiki sites running on 2 different instances of Tomcat, I am unable to use the WYSIYSG editor on this current wiki as it doesn't render, the little animation just keeps spinning forever but not actually doing anything.
The other wiki's WYSIYSG editor is ok though after the upgrade??
Can anybody help?
Regards,
-- Sergiu Dumitriu http://purl.org/net/sergiu/
On Sun, 22 Jan 2012, Sergiu Dumitriu wrote:
On 01/22/2012 07:56 AM, Kaya Saman wrote:
Hi,
I wonder if anyone can help me as I've tried to obtain help from the Xwiki Users list but didn't work?
After an upgrade from my old version of Xwiki which was 2.x (I think I built it in 2010) to 3.1.1 I ended up seeing this as my admin panel:
http://www.optiplex-networks.com/xwiki/bin/download/Main/WebHome/Screenshot-...
In comparison with my old Xwiki instance this doesn't look right.
Looks like you have a custom skin based on Toucan. Well, in the meantime the Toucan CSS has changed a bit, you should integrate those changes back into your skin.
Generally, it's a bad idea to copy and modify the base skin, you should include it from your CSS and override the things you want changed. This way it will be easier to upgrade.
Thanks Sergiu for the response. Initially I did the modification (which I found through xwiki.org) which stated to modify the .css file within the skin itself. $XWIKI/skins/toucan/css so what I will do now to clean up is copy the original Xwiki 3.1.1 toucan skin into my Xwiki instance then attempt to use the Admin panel to re-add the background and right-background images back into the toucan skin. I'm not sure how to do this even though I have done it with the logo. -for that there was provisioning within the Admin Panel saying: Logo - then the image could be uploaded into the DB and engaged from there; while the method I took was to add the files into the toucan skin folder within webapps/Xwiki --Actually on second thoughts it would be better as you suggested to create a new skin then make the modifications there by copying the original xwiki 3.1.1 toucan skin. {if possible} Ok, lot's of work ahead of me but at least I know where I stand and also that my DB isn't corrupted - few all that hard work too :-) Regards, Kaya
On Sun, 22 Jan 2012, Sergiu Dumitriu wrote:
On 01/22/2012 07:56 AM, Kaya Saman wrote:
Hi,
I wonder if anyone can help me as I've tried to obtain help from the Xwiki Users list but didn't work?
After an upgrade from my old version of Xwiki which was 2.x (I think I built it in 2010) to 3.1.1 I ended up seeing this as my admin panel:
http://www.optiplex-networks.com/xwiki/bin/download/Main/WebHome/Screenshot-...
In comparison with my old Xwiki instance this doesn't look right.
Looks like you have a custom skin based on Toucan. Well, in the meantime the Toucan CSS has changed a bit, you should integrate those changes back into your skin.
Generally, it's a bad idea to copy and modify the base skin, you should include it from your CSS and override the things you want changed. This way it will be easier to upgrade.
Ok just setup a test instace using an un-modified version of Xwiki war file and looks good so far! The only problem I'm having now is knowing what to do in order to customize the skin.... Using this guide: http://platform.xwiki.org/xwiki/bin/view/DevGuide/Skins I was able to find out that some of the image files I was using are here: xwiki-enterprise-web-3.1.1/bin/view/XWiki/DefaultSkin#Attachments Now the question remains; if not edit the DefaultSkin property then how using either the Admin interface or other do I copy the Toucan skin into a new skin or just add extra 'properties'??? - sorry this part is really confusing for me! Like I have already 'wrongly' done, how do I change the background and logo properties for EVERY document in my wiki and not affect the DefaultSkin. Regards, Kaya
On Sun, 22 Jan 2012, Sergiu Dumitriu wrote:
On 01/22/2012 07:56 AM, Kaya Saman wrote:
Hi,
I wonder if anyone can help me as I've tried to obtain help from the Xwiki Users list but didn't work?
After an upgrade from my old version of Xwiki which was 2.x (I think I built it in 2010) to 3.1.1 I ended up seeing this as my admin panel:
http://www.optiplex-networks.com/xwiki/bin/download/Main/WebHome/Screenshot-...
In comparison with my old Xwiki instance this doesn't look right.
Looks like you have a custom skin based on Toucan. Well, in the meantime the Toucan CSS has changed a bit, you should integrate those changes back into your skin.
Generally, it's a bad idea to copy and modify the base skin, you should include it from your CSS and override the things you want changed. This way it will be easier to upgrade.
Well.... playing around and reading a lot I have managed to get this far: *I went to the Edit Skin page using the Admin Panel. *I then changed the name within the URL of my browser to ....Xwiki/WWW_Skin *I added an object called XwikiSkins *I included this syntax in the wiki text editor: $msg.get("xe.admin.skin.makeyourown") * <a href="$doc.getURL('edit', 'editor=object&classname=XWiki.XWikiSkins')">$msg.get('xe.admin.skin.editskin')</a> * [$msg.get('xe.admin.skin.testskin')>Main.WebHome?skin=${doc.fullName}] *Then uploaded my images to the new page *Added my logo within the **logo** section *Now am stuck!!! :-) I wrote about how to change skins ages back: http://wiki.optiplex-networks.com/xwiki/bin/view/Wiki/Background but this edits the default Toucan skin directly within the xwiki/skins/toucan dir. Using the CSS code: body#body, #allviewpanels .accordionTabContentBox{background-image: url( ../../images/colors/gray/H4x4-GRAY.png); } body#body #xwikimaincontainer, body.hideright #xwikimaincontainer, body#body.hideright #xwikimaincontainerinner, body.importbody #xwikimaincontainerinner, body.exportbody #xwikimaincontainerinner, body.adminbody #xwikimaincontainerinner, body.hidelefthideright #xwikimaincontainerinner, body#body.hidelefthideright #xwikimaincontainerinner { background-image :url( ../../images/colors/bg/gpl-red.png) ; } #xwikimaincontainerinner, body#body.editbody #xwikimaincontainerinner, body#body.eportbody #xwikimaincontainer, body#body.importbody #xwikimaincontainer, body#body.adminbody #xwikimaincontainer, body#body.hidelefthideright #xwikimaincontainer, body#body.hideleft #xwikimaincontainer, body#body.editbody #xwikimaincontainer { background-image :url( ../../images/colors/bg/gpl_right-red.png) ;} body#body.editbody #globallinks, #globallinks, #rightPanels, #editPanels.panels{ background-image: url( ../../images/colors/bg/gpl-red.png);} #company { background-image: url( ../../images/colors/bg/gpl-red.png); } But in order to do the same thing I will need to transfer this document within the xwiki/skins/toucan dir. This of course means that whenever an upgrade is performed I loose everything or the wiki will use the old CSS code?? However, I may just do this in any case as it may be the only way round my issue.. It would be great if like for the logo section there was a section within the admin panel for background image! Regards, Kaya
participants (2)
-
Kaya Saman -
Sergiu Dumitriu