Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-10-27 18:39:36

shayne
Member
From: Toronto
Registered: 2005-02-22
Posts: 34
Website

Notice: Undefined index: 0 in .../txp_file.php on line 240

I am getting the following error message. It appears twice in the files area. Everything seems to be working, this just suddenly appeared. Please help!!

Notice: Undefined index: 0 in /home/together/public_html/textpattern/include/txp_file.php on line 240

Notice: Undefined index: 0 in /home/together/public_html/textpattern/include/txp_file.php on line 240

Diagnostics:

Textpattern version: 4.0.5 (r2466)
Last Update: 2007-07-23 16:56:49/2007-09-12 16:05:39
Document root: /home/public_html
$path_to_site: /home/public_html
Textpattern path: /home/public_html/textpattern
Permanent link mode: section_title
Temporary directory path: /home/public_html/textpattern/tmp
PHP version: 5.2.9
GD Image Library: version bundled (2.0.34 compatible), supported formats: GIF, JPG, PNG
Server Local Time: 2009-10-27 14:36:46
MySQL: 5.0.81-community
Locale: English_United States.1252
Server: WebServerX
PHP Server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Linux 2.6.9-89.0.11.ELsmp
Active plugins: glx_admin_image-4.0.1, mcw_templates-0.2, pap_contact_cleaner-0.1, ras_delete_expired-4.0.4.4, rdt_dynamenus-0.9, rss_admin_db_manager-4.0.2, rss_admin_show_adv_opts-0.3, rss_suparchive-0.18, smd_lib-0.21b, smd_slimbox-0.24, wet_slimpattern-0.1, zem_contact_lang-4.0.3.03, zem_contact_reborn-4.0.3.17, cbs_category_list-0.9, tru_podcast-1.1

Offline

#2 2009-10-27 19:38:05

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Notice: Undefined index: 0 in .../txp_file.php on line 240

Upgrade your Txp install. Not so much for this issue, as for security issues. But I think it will also fix this. (At the same time, it may well get you other notices you’ll need to track down.)

Other approach, which you may want to do anyway, is to disable error reporting on your live site. There is PHP error reporting and Txp error reporting; I think you’re seeing these due to your PHP setting.


Code is topiary

Offline

#3 2009-10-27 19:47:19

shayne
Member
From: Toronto
Registered: 2005-02-22
Posts: 34
Website

Re: Notice: Undefined index: 0 in .../txp_file.php on line 240

Thanks for the quick reply, upgrading might be an option, but is there any idea why it would suddenly appear?

Offline

#4 2009-10-27 20:37:22

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Notice: Undefined index: 0 in .../txp_file.php on line 240

shayne wrote:

Thanks for the quick reply, upgrading might be an option, but is there any idea why it would suddenly appear?

Maybe your web host has changed your PHP configuration (probably not); maybe it’s the status of one or more of your files. Any showing “missing”?


Code is topiary

Offline

#5 2009-10-27 20:39:01

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Notice: Undefined index: 0 in .../txp_file.php on line 240

BTW, these are “notices”, not errors, so if you can live with the message in the Files panel there’s not a real problem. Again, you should upgrade if at all possible.


Code is topiary

Offline

#6 2009-10-27 21:34:35

shayne
Member
From: Toronto
Registered: 2005-02-22
Posts: 34
Website

Re: Notice: Undefined index: 0 in .../txp_file.php on line 240

PROBLEM SOLVED – I will be upgrading soon…the status (Live Hidden Pending) of two files on the page was just missing or not set, I edited the files and set them to hidden and the messages went away.

Thank you for your help!

Offline

Board footer

Powered by FluxBB