xkur - Can't change theme / style options

Having trouble installing serendipity?
Post Reply
meritweb
Regular
Posts: 43
Joined: Fri Jan 25, 2008 4:40 am

xkur - Can't change theme / style options

Post by meritweb » Tue Aug 06, 2013 3:53 pm

Hi Everyone,

Many of you will be proud to know we have successfully migrated our blog to the newest version. I am hoping that solves a lot of the issues we were having (from v1.2).

Now, I have installed the xkur theme for our blog and I am trying to configure the options. However, every time I go in to change the horiz. navigation links - or the footer columns and categories - and click "Save", everything reverts back to the default options. This happens even if I try to disable the menue and the footer.

Any advice?

Thanks again for all your help over these past couple weeks!

Josh

(here is our blog in case you need the link: http://www.meritsolutions.com/meritmatters/)

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: xkur - Can't change theme / style options

Post by Timbalu » Tue Aug 06, 2013 4:08 pm

Glad you got that finally up, Josh! :)

Have you got access to your database via PhpMyAdmin or another tool and could paste the global nav values or check if they have the values you wanted to have on submit? The cause I am asking thiis, is that your navigation tabs in the frontend have empty titles and link values.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: xkur - Can't change theme / style options

Post by Timbalu » Tue Aug 06, 2013 4:21 pm

The source code looks like:

Code: Select all

 		<li><a href=""><b></b><!--[if gte IE 7]><!--></a><!--<![endif]-->
	<!--[if lte IE 6]><table><tr><td><![endif]-->
		<ul >
		    		                          
			<li></li>
		</ul>
 	
 	 	
 		<li><a href=""><b></b><!--[if gte IE 7]><!--></a><!--<![endif]-->
	<!--[if lte IE 6]><table><tr><td><![endif]-->
		<ul >
		    		                          
			<li></li>
		</ul>
 	
 	 	
 		<li><a href=""><b></b><!--[if gte IE 7]><!--></a><!--<![endif]-->
	<!--[if lte IE 6]><table><tr><td><![endif]-->
		<ul >
		    		                          
			<li></li>
		</ul>
 	
 	 	
 		<li><a href=""><b></b><!--[if gte IE 7]><!--></a><!--<![endif]-->
	<!--[if lte IE 6]><table><tr><td><![endif]-->
		<ul >
		    		                          
			<li></li>
		</ul>
 	
 	 	
 		<li><a href=""><b></b><!--[if gte IE 7]><!--></a><!--<![endif]-->
	<!--[if lte IE 6]><table><tr><td><![endif]-->
		<ul >
		    		                          
			<li></li>
		</ul>
so there also is some mismatch in the template files, I assume. The summary, topics only page has also some bad markup parts and does not show up as should.

Did I say that already? :idea: The 2k11 template is the most modern one and extremly well done. Some other Templates are very old and can have issues... since not very well maintained (like "xkur"?!).

Edit: ...much nicer now! Need customisation? See http://yellowled.github.io/ :)
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

meritweb
Regular
Posts: 43
Joined: Fri Jan 25, 2008 4:40 am

Re: xkur - Can't change theme / style options

Post by meritweb » Tue Aug 06, 2013 5:39 pm

I installed the 2K11 template and am having the same issues. What file do I need to make the changes to?

I'm going back to xkur right now as it is more similar to our old design - so I may stick with that. Its only a couple months older than 2K11.

Does anyone have any extremely negative things to say about xkur?

User avatar
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: xkur - Can't change theme / style options

Post by Timbalu » Tue Aug 06, 2013 5:56 pm

Not so far, apart from the ones already mentioned and found by a quick drive-by. :wink:
Xkur is mainly at least 2 years old! Some minors where adressed lately, to fix things we found in other templates for the 1.7 Series - but it was not really checked in detail.

Back to your nav problem. If that happens with 2k11 too, it has to be something in the serendipity_options database table. Please paste structure and values here. (Just to say this before, it may have to todo with an unfinished db upgrade in one of your previous upgrades. We didn't have anybody having issues at here, so far.)
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian

User avatar
Don Chambers
Regular
Posts: 3633
Joined: Mon Feb 13, 2006 3:40 am
Location: Chicago, IL, USA
Contact:

Re: xkur - Can't change theme / style options

Post by Don Chambers » Tue Oct 29, 2013 3:06 am

I had the pleasure of helping Josh with his template these past few days.

In this thread, he mentions problems with both the xcur and 2k11 templates. In both templates, he identifies the same problem: that template options are not being saved.

We discovered very quickly that the sy9 "options" table did not exist.

Josh and I tried a number of solutions. The solution that was most effective was attempting a reinstall of s9y.

When Josh came to the forums, he had previously been running s9y 1.2. It was recommended that he upgrade to the latest - which was 1.7.2. Everything about that upgrade seemed to work as expected, but regardless of template, he could not save template options.

We tried a number of options. Finally, I decided to try the trick of forcing s9y to reinstall itself by modifying serendipity_config_local-inc.php - changing the currently installed version to an older version.

First we tried setting the previous version to something more recent:

Code: Select all

	$serendipity['versionInstalled']  = '1.7.2';
changing that to:

Code: Select all

	$serendipity['versionInstalled']  = '1.6'
No difference with that.

Then we change the previously installed version to several earlier versions - all the way back to 1.2, which is where he believed his problems began.

Nothing worked - I really believed he had database permission issues......

On one last chance, I suggested he change his previous installed version in serendipity_config_local.inc.php to 1.0 - because template options were introduced in ver. 1.1.

It worked!!!!!!!

Perhaps there is something that happens in those earlier upgrades that no longer exists in newer upgrades? I leave that to you database experts!!!!

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: xkur - Can't change theme / style options

Post by garvinhicking » Tue Oct 29, 2013 4:20 pm

Hi!

Sorry for the hassle, but glad you worked it all out :)

In case of missing/wrong database table,s the files in sql/db_update_XXX.sql can show, which tables are created/added. The whole database table structure is in the db.sql file.

I believe the most probable reason for the issue was that the 1.2 upgrade back in the dasya might not have been performed properly, and that carried through all the time?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/

Post Reply