Error with kinetic an 1.7 rc3

Found a bug? Tell us!!
Jochen Hoff
Regular
Posts: 110
Joined: Sun Apr 08, 2007 3:42 pm
Location: Germany
Contact:

Re: Error with kinetic an 1.7 rc3

Post by Jochen Hoff »

i will do it. Is it possible, das automatic save and other plugins are also inaktive because spartacus dont want to update them?
Jochen Hoff
Regular
Posts: 110
Joined: Sun Apr 08, 2007 3:42 pm
Location: Germany
Contact:

Re: Error with kinetic an 1.7 rc3

Post by Jochen Hoff »

i will do it. Is it possible that other plugins like autosave also not updateted with spartacus?
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Error with kinetic an 1.7 rc3

Post by Timbalu »

What do you mean by "automatic save"?
No, I can not imagine a case (except non-updated plugin version numbers or a temporary hickup with sourceforge) which could cause spartacus to exclude files from being noted as "update available". If that is really the case we should truly investigate this issue in more depth.

Answer missmatch:
which version has autosave?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Error with kinetic an 1.7 rc3

Post by Don Chambers »

Hey guys, I was out of town for a few days. Sorry for the delay. I will patch Kinetic. There has been an update pending for quite some time anyway.
=Don=
Jochen Hoff
Regular
Posts: 110
Joined: Sun Apr 08, 2007 3:42 pm
Location: Germany
Contact:

Re: Error with kinetic an 1.7 rc3

Post by Jochen Hoff »

Timbalu wrote:What do you mean by "automatic save"?
No, I can not imagine a case (except non-updated plugin version numbers or a temporary hickup with sourceforge) which could cause spartacus to exclude files from being noted as "update available". If that is really the case we should truly investigate this issue in more depth.

Answer missmatch:
which version has autosave?
Einträge automatisch sichern
Sichert Einträge beim Schreiben automatisch im Hintergrund
version: 0.2.2
Jochen Hoff
Regular
Posts: 110
Joined: Sun Apr 08, 2007 3:42 pm
Location: Germany
Contact:

Re: Error with kinetic an 1.7 rc3

Post by Jochen Hoff »

Don Chambers wrote:Hey guys, I was out of town for a few days. Sorry for the delay. I will patch Kinetic. There has been an update pending for quite some time anyway.

No Problem. Don please have a look to my blog duckhome.de

Now there are only the headlines of the artikels shown. Before i update there was 250 Character to each of them, and this is also in the konfigurationfile of kinetic. But this has time.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Error with kinetic an 1.7 rc3

Post by Timbalu »

Plugin autosave 0.2.2 is the current version.

Which version had the error throwing contactform plugin before?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Jochen Hoff
Regular
Posts: 110
Joined: Sun Apr 08, 2007 3:42 pm
Location: Germany
Contact:

Re: Error with kinetic an 1.7 rc3

Post by Jochen Hoff »

Timbalu wrote:Plugin autosave 0.2.2 is the current version.

Which version had the error throwing contactform plugin before?
Excuse me. I dont know.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Error with kinetic an 1.7 rc3

Post by Timbalu »

Well, then we cannot investigate this greek tragedy ~ ;-)
If you ever experience such an issue again, please provide all necessary details to get an idea want happens.
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Jochen Hoff
Regular
Posts: 110
Joined: Sun Apr 08, 2007 3:42 pm
Location: Germany
Contact:

Re: Error with kinetic an 1.7 rc3

Post by Jochen Hoff »

Yes Sir i will do it. And the next days i will check my plugins versions with them on the Board, and upgrade to the new one. Thanks for youre massiv help and your time. Now i will play with my children and tomorrow is a new day and new powser.
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Error with kinetic an 1.7 rc3

Post by Timbalu »

I just noticed that you will need to add the parentesis to

Code: Select all

{eval var=$footer_totalPages-6 assign="paginationStartPage"}
in entries.tpl line 302 too.
Else you have this error:

Code: Select all

<b>Fatal error</b>:  Uncaught exception 'SmartyException' with message 'Unable to load template file '-6' in 'file:/home/duckhome.de/hosts/duckhome.de/tb/templates/kinetic/entries.tpl'' in /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php:127
Stack trace:
#0 /home/duckhome.de/hosts/duckhome.de/tb/templates_c/kinetic/32/e7/67/32e7671f04e9c8b36be4be5f46b2c9137ccea545.file.entries.tpl.php(569): Smarty_Internal_TemplateBase->fetch()
#1 /home/duckhome.de/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php(180): content_5147215d8c8db8_49507255(Object(Smarty_Internal_Template))
#2 /home/duckhome.de/hosts/duckhome.de/tb/include/functions_smarty.inc.php(73): Smarty_Internal_TemplateBase->fetch('file:/home/duck...', NULL, NULL, NULL, false)
#3 /home/duckhome.de/hosts/duckhome.de/tb/include/functions_entries.inc.php(1239): serendipity_smarty_fetch('ENTRIES', 'entries.tpl', true)
#4 /home/duckhome.de/hosts/duckhome.de/tb/include/genpage.inc.php(63 in <b>/hosts/duckhome.de/tb/bundled-libs/Smarty/libs/sysplugins/smarty_internal_templatebase.php</b> on line <b>127</b><br />
These two pagination issues (with eval) could easily get rewritten to normal assigns (see bulletproof).

And your feedburner script line (possibly in index.tpl) has an unparsed smarty var in the source code.

Code: Select all

<script src="http://feeds.feedburner.com/~s/Duckhome?i={$entrydata.url|escape:url}" type="text/javascript" charset="utf-8"></script>
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Error with kinetic an 1.7 rc3

Post by Don Chambers »

I think one or two of these issues are due to using an older copy of Kinetic. This pagination issue especially has already been corrected.
=Don=
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Error with kinetic an 1.7 rc3

Post by Don Chambers »

The previously mentioned issues are resolved. One I am not sure of relates to images. Kinetic stores image names in various extended property fields (in addition to any images that may be within the entry body or extended body). Displaying those images happens like this:

Code: Select all

{foreach from=$entries item="dategroup" name="dategroup_loop"}
    {foreach from=$dategroup.entries item="entry" name="entry_loop"}
		{capture assign='img'}{pickKey array="`$entry`" key="`$template_option.ep_photo_featured`" default='false'}{/capture}
		{if $img != 'false'}
			<a href="{$entry.link}"><img src="{$img}" alt="{$entry.title}" title="{$entry.title|truncate:48:"..."}" /></a>
		{/if}
.....
In that whole pickKey line, the values are all coming back 'false'. is this another of Smarty3's limitations?
=Don=
Timbalu
Regular
Posts: 4598
Joined: Sun May 02, 2004 3:04 pm

Re: Error with kinetic an 1.7 rc3

Post by Timbalu »

I can't say without knowing the rest....
Is pickKey a smarty registered function in config.inc? How does it look like?
Regards,
Ian

Serendipity Styx Edition and additional_plugins @ https://ophian.github.io/ @ https://github.com/ophian
Don Chambers
Regular
Posts: 3652
Joined: Mon Feb 13, 2006 2:40 am
Location: Chicago, IL, USA
Contact:

Re: Error with kinetic an 1.7 rc3

Post by Don Chambers »

Timbalu wrote:I can't say without knowing the rest....
Is pickKey a smarty registered function in config.inc? How does it look like?
Check out this thread about it.
=Don=
Post Reply