Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » [archive] ajw_admin_workflow

#13 2005-09-08 15:50:50

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: [archive] ajw_admin_workflow

<blockquote> > tomatoe wrote:

> Great Plugin, use it currently on my site, but with upgrade to RC5, the edit article screen now shows an error

Notice: Undefined variable: confirm in /txp/textpattern/lib/txplib_misc.php(429) : eval()’d code on line 70

toggling this plugin off makes the error disappear ….

However, the Plugin functions fine. I can still change the author of articles.

Does anyone know if it’s ok to just ignore this error? or anyone to debug?

Thanks !!!
</blockquote>

I’m getting this error too in 4.0.1:

<code>Notice: Undefined variable: out in /textpattern/lib/txplib_misc.php(429) : eval()’d code on line 75</code>

Unfortunately, the plugin now also doesn’t work. When I click on the Transfer link, noting appears…

Any other with this problem?


Regards,

Joey

Offline

#14 2005-09-08 15:57:09

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: [archive] ajw_admin_workflow

That’s because you have no other users besides yourself defined for your site. I’ll work on a bugfix to prevent the Notice in the future, but in this case if you’ve got no one to pass the article off to, it obviously won’t show you anyone.

Offline

#15 2005-09-08 16:04:08

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: [archive] ajw_admin_workflow

Update yer versions (v0.1.3)

Offline

#16 2005-09-08 16:20:08

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: [archive] ajw_admin_workflow

Thanks Andrew for the info and the fix :) Working good now:)


Regards,

Joey

Offline

#17 2005-10-31 02:16:25

blumie607
Member
Registered: 2004-03-08
Posts: 175
Website

Re: [archive] ajw_admin_workflow

Can you make this work with Freelancers also? So that if the ownership is transferred to a freelancer, they can edit the article?

Thanks


bludrop studios .::. Creative Expression

Offline

#18 2005-11-08 05:18:40

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: [archive] ajw_admin_workflow

It shouldn’t have anything to do with permission level; as long as the user has authored the article and is able to edit articles, that user will be able to transfer the ownership. This should be determined by your site’s preferences, located within (for now, at least) admin_config.php. Check to see that you haven’t restricted Freelancers from editing or publishing.

Offline

#19 2005-11-08 05:22:28

blumie607
Member
Registered: 2004-03-08
Posts: 175
Website

Re: [archive] ajw_admin_workflow

Yes, I finally realized that I should check admin_config.php (I thought it died already, but I guess not quite yet…). I did and I edited permissions and it works.

Thanks for your response, though.


bludrop studios .::. Creative Expression

Offline

#20 2005-12-09 22:54:13

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: [archive] ajw_admin_workflow

Andrew, I’m getting the following error on a 4.02 site….

Notice: Undefined index: view in /users/home/farrah/web/public/textpattern/lib/txplib_misc.php(455) : eval()’d code on line 24

any clues as to how I can make it go bye bye?

Thanks! Jamie

Offline

#21 2005-12-10 17:22:26

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: [archive] ajw_admin_workflow

Are you sure that is related to this plugin? There is a $view variable used in this plugin, but it is initialized properly so will never throw a notice.

Offline

#22 2005-12-10 17:23:46

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: [archive] ajw_admin_workflow

Also, if you are sure it is being caused by ajw_admin_workflow, can you tell me how to reproduce it?

Offline

#23 2005-12-10 18:16:59

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: [archive] ajw_admin_workflow

I just started getting it on after installing the plugin on a site i am slowly turning over to a client. I installed it yesterday and started getting the error/warning. I only get it for the page refresh just after transfering ownership of the article. I seems to effect nothing. As soon as the transfer is complete and I refresh the screen or leave and come back to the article that was transfered the error/warning goes away. The transfers complete just fine – as far as I can tell. The client has said nothing to me as yet so I am assuming that they are going through fine. It’s really not a critical thing. I just thought I should alert the person in charge (you) :)

Thanks!
Jamie

Offline

#24 2005-12-10 18:39:41

Andrew
Plugin Author
Registered: 2004-02-23
Posts: 730

Re: [archive] ajw_admin_workflow

I’ve attempted with all error reporting cranked up on both v4.0.2 and the development versions of Textpattern to reproduce the error, without luck. Perhaps another plugin also uses $_GET['view'] and is unsetting the value?

The textpattern lib gps() function does an isset() check to prevent the possibility of an undefined index notice. Also, there is only one place in which the $view variable is referenced in ajw_admin_workflow, and it directly follows the variable initialization:

   $view = gps('view');
  [...]
if ($view!='html' && $view!='preview') {

So I really don’t see how it’s possible. What other admin plugins do you have active? Do any of them use the ‘view’ querystring variable?

Offline

  1. Index
  2. » Archives
  3. » [archive] ajw_admin_workflow

Board footer

Powered by FluxBB