Events Made Easy › Forums › Bug fixed or feature request implemented › Many "unidentified index" php errors
- This topic has 6 replies, 2 voices, and was last updated 14 years, 2 months ago by Franky.
-
AuthorPosts
-
Thu 12 Aug 2010 at 02:43 #42004AnonymousInactive
I just installed events manager extended and I must say I am VERY excited. However, there are quite a few “unidentified index” php errors on every page. I am running off of WP 3.0. here are some of the errors:
Notice: Undefined index: event_id in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 1937
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 36]
SELECT event_id, event_name, DATE_FORMAT(event_start_date, ‘%Y-%m-%e’) AS ‘event_date’, DATE_FORMAT(event_start_date, ‘%e’) AS ‘event_day’, DATE_FORMAT(event_start_date, ‘%m’) AS ‘event_month’, DATE_FORMAT(event_start_date, ‘%Y’) AS ‘event_year’, DATE_FORMAT(event_start_time, ‘%k’) AS ‘event_hh’, DATE_FORMAT(event_start_time, ‘%i’) AS ‘event_mm’, DATE_FORMAT(event_start_time, ‘%h:%i%p’) AS ‘event_start_12h_time’, DATE_FORMAT(event_start_time, ‘%H:%i’) AS ‘event_start_24h_time’, DATE_FORMAT(event_end_date, ‘%Y-%m-%e’) AS ‘event_end_date’, DATE_FORMAT(event_end_date, ‘%e’) AS ‘event_end_day’, DATE_FORMAT(event_end_date, ‘%m’) AS ‘event_end_month’, DATE_FORMAT(event_end_date, ‘%Y’) AS ‘event_end_year’, DATE_FORMAT(event_end_time, ‘%k’) AS ‘event_end_hh’, DATE_FORMAT(event_end_time, ‘%i’) AS ‘event_end_mm’, DATE_FORMAT(event_end_time, ‘%h:%i%p’) AS ‘event_end_12h_time’, DATE_FORMAT(event_end_time, ‘%H:%i’) AS ‘event_end_24h_time’, event_start_date, event_end_date, event_start_time, event_end_time, event_notes, event_rsvp, event_seats, recurrence_id, location_id, event_contactperson_id, event_category_id, event_attributes, event_page_title_format, event_single_event_format, event_contactperson_email_body, event_respondent_email_body FROM wp_dbem_events WHERE event_id =
Notice: Undefined index: location_name in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 899
Notice: Undefined index: location_address in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 900
Notice: Undefined index: location_town in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 901
Notice: Undefined index: location_latitude in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 902
Notice: Undefined index: location_longitude in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 903
Notice: Undefined variable: recurrence_YES in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 1244
Notice: Use of undefined constant php – assumed ‘php’ in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 1395
Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID ” is invalid in _(dir)_/wp-content/plugins/events-manager-extended/dbem_locations.php on line 322
Notice: Undefined index: action in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 10
Notice: Undefined index: action2 in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 11
Notice: Undefined index: event_id in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 12
Notice: Undefined index: recurrence_id in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 13
Notice: Undefined index: scope in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 14
Notice: Undefined index: offset in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 15
Notice: Undefined index: order in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 16
Notice: Undefined index: events in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 17
Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID ” is invalid in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 758
Notice: date_default_timezone_set() [function.date-default-timezone-set]: Timezone ID ” is invalid in _(dir)_/wp-content/plugins/events-manager-extended/dbem_events.php on line 758
Thu 12 Aug 2010 at 12:39 #44253FrankyKeymasterwow … I never thought about activating php notice level yet. These are NOT errors, but notices, and the fact that you see them is either that you’re debugging it (which is good) or have error_level too high in php.ini. I hope it is the first 🙂
Either way: they should not happen, and I’m still in the progress of cleaning up the code.
You can always check out trunk for my latest changes, and I’ll take these notices in account as well …
Thu 12 Aug 2010 at 13:09 #44254FrankyKeymasterbtw: what are your php.ini settings causing you to see all these? Do you have safe_mode on or so?
Thu 12 Aug 2010 at 13:22 #44255AnonymousInactiveHere are my php.ini settings. I have not yet looked at all my debugging statuses (I don’t remember enabling it but it is certainly likely that I could have). I will do that later tonight.
session.save_path = /data/tmp
upload_tmp_dir = /data/tmp
asp_tags = On
safe_mode = Off
upload_max_filesize = 25M
post_max_size = 25M
output_buffering = 1024
mime_magic.magicfile = /usr/share/misc/file/magic.mime
include_path = .:/usr/services/vux/lib/php
disable_functions = shell_exec,passthru,exec,system,pcntl_exec
allow_url_include = 0
allow_url_fopen = 0
extension_dir = /usr/services/vux/php5/lib/php/extensions
zend_extension = /usr/services/vux/php5/lib/php/extensions/ioncube_loader_lin_5.2_real.so
zend_extension = /usr/services/vux/php5/lib/php/extensions/ZendOptimizer_real.so
register_globals = Off
memory_limit = 64M
Unfortunately I don’t have time right now to dig further into this, but I will certainly spend some time on it later tonight.
Thanks for the help
Thu 12 Aug 2010 at 13:57 #44256FrankyKeymasterI needed to add “disable_functions=error_reporting” to php.ini before I saw any of these warnings … but I have them now, and will adapt 🙂
Thu 12 Aug 2010 at 16:07 #44257FrankyKeymasterIt seems you have
define(‘WP_DEBUG’, true);
in your wp-config.php file. Bad idea, but good errors 🙂
I committed lots of fixes to trunk for these. But for now: put WP_DEBUG to false and you can continue, or if you want to help debugging the trunk version, checkout the svn version into a dir of choice:
svn co http://plugins.svn.wordpress.org/events-manager-extended/trunk
Sat 2 Oct 2010 at 12:42 #44258FrankyKeymasterThis has now all been cleaned in the trunk version.
-
AuthorPosts
- The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.