2004-04-10 16:56:33

kusor
Member
epsilon
From: Spain
Website

Re: [ORPHAN] ppc_navigation_aid

Not at all, akvalley; TXP design makes really easy to share these small utilities

I hope to improve it adding alternate links, first and last, and making the prev and next links to work with sections and categories also.

Anyway, I’m going test it strongly before to launch next version ;-).

Ah!, about my problem updating plugins code: a bad firefox cache configuration. Things which happen when you’ve got more than one computer.

Offline

 

2004-04-11 16:56:54

ramanan
Plugin Author
iota
Real name: Ramanan Sivaranjan
From: Toronto
Website

Re: [ORPHAN] ppc_navigation_aid

Hey Kusor,

Under Gamma 1.18 this plugin gives me the following error:

8: Undefined variable: title in /tmp/pluginsi0zXxi at line 39
Backtrace:
<b>Fatal error</b>: Call to undefined function: debug_backtrace() in <b>/homepages/25/d89689749/htdocs/txp/textpattern/lib/txplib_misc.php</b> on line <b>94</b>

Any ideas? I’m going to look into it now.

Ram.

Last edited by ramanan (2004-04-11 16:59:21)

Offline

 

2004-04-11 17:02:01

Dean
Founder
êta
Real name: Dean Allen
From: Languedoc
Website

Re: [ORPHAN] ppc_navigation_aid

Try commenting out the set_error_handler line at the top of /lib/txplib_misc.php


text*

Offline

 

2004-04-11 21:55:38

ramanan
Plugin Author
iota
Real name: Ramanan Sivaranjan
From: Toronto
Website

Re: [ORPHAN] ppc_navigation_aid

Dean, that was the problem. Thanks for the quick response.

Offline

 

2004-04-12 07:51:05

kusor
Member
epsilon
From: Spain
Website

Re: [ORPHAN] ppc_navigation_aid

Since TXP works fine for PHP versions older than 4.3 – I’ve got it working properly on a PHP 4.2.2 production environment – seems logical to enclose that call to debug_backtrace in an if sentence, like

if(function_exists("debug_backtrace")){ ... }

I think that isn’t too complex to maintain compatibility with 4.2 versions, until a new TXP cool feature needs to break it.

Anyway, I’m going to check for defined, non empty variables for all plugins I develop from now. Hope a new revision of the plugin today.

Offline

 

2004-04-12 09:01:52

Dean
Founder
êta
Real name: Dean Allen
From: Languedoc
Website

Re: [ORPHAN] ppc_navigation_aid

True enough: that call to debug_backtrace is just something I use for dev – it shouldn’t have made it to release.


text*

Offline

 

2006-06-21 14:45:05

man-d
Member
epsilon
From: Montréal
Website

Re: [ORPHAN] ppc_navigation_aid

Thank you for this plugin


man-d

Offline

 

Powered by FluxBB