Closed (fixed)
Project:
Content Complete
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2009 at 21:40 UTC
Updated:
2 Sep 2009 at 10:40 UTC
$_GET['content_complete_fieldname'] is not set more often than it is. please add
error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);
to your settings.php to show all these PHP warnings (if your server is not already configured to do so) and test a bit around.
| Comment | File | Size | Author |
|---|---|---|---|
| content_complete-fix-undefined-index.patch | 655 bytes | eMPee584 |
Comments
Comment #1
pvhee commentedI guess you get the warning depending on your PHP version, because I've never seen this one (while always developing with the settings you suggest).
I've added your patch though, as it is a better way of checking for the field to be completed, thanks!
Comment #2
eMPee584 commentedthe problem does occur only seldomly, especially in situations where spam bots rape your site's forms. thx for committing ;)