Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-05-04 22:22:53

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

r2313: matching up a renamed file with an entry in txp's file list bug

If I have a file uploaded through txp that that has the name test.pdf, for example. If I then rename that file manually to test-new.pdf I get a missing notice in txp’s file condition column as it should. Then if I click edit on the file in txp and select the newly renamed file to match it to and hit save. I get the following error:

Undefined index: 0 in /path/to/install/textpattern/include/txp_file.php on line 257

This is caused by the status on the file losing its selection. I notice that the none of the status radio buttons are selected. When I reselect a status for the file the error goes away.

Offline

#2 2007-05-10 20:31:09

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: r2313: matching up a renamed file with an entry in txp's file list bug

No one else having this problem?

Offline

Board footer

Powered by FluxBB