Ticket #999 (closed Bugs: fixed)

Opened 2 years ago

Last modified 2 years ago

Undefined variables?

Reported by: vgster Assigned to: RobThomas
Priority: 9 Milestone:
Component: Other Module Version: SVN-HEAD
Keywords: Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

What are you wanting to do with undefined variable notices in PHP? Do you want a list of the ones that are recorded or do you just want to ignore them?

Change History

07/03/06 19:12:12 changed by vgster

Notice: Undefined variable: extens in /srv/www/htdocs/admin/modules/findmefollow/functions.inc.php on line 17

Notice: Undefined variable: extens in /srv/www/htdocs/admin/modules/gabcast/functions.inc.php on line 28

07/03/06 19:13:24 changed by vgster

Notice: Undefined variable: thisItem in /srv/www/htdocs/admin/modules/timeconditions/page.timeconditions.php on line 143

Notice: Undefined offset: 3 in /srv/www/htdocs/admin/modules/timeconditions/page.timeconditions.php on line 143

Notice: Undefined offset: 2 in /srv/www/htdocs/admin/modules/timeconditions/page.timeconditions.php on line 143

Notice: Undefined offset: 1 in /srv/www/htdocs/admin/modules/timeconditions/page.timeconditions.php on line 143

Notice: Undefined offset: 1 in /srv/www/htdocs/admin/modules/timeconditions/page.timeconditions.php on line 222

Notice: Undefined offset: 1 in /srv/www/htdocs/admin/modules/timeconditions/page.timeconditions.php on line 310

Notice: Undefined offset: 1 in /srv/www/htdocs/admin/modules/timeconditions/page.timeconditions.php on line 352

Notice: Undefined variable: extens in /srv/www/htdocs/admin/modules/findmefollow/functions.inc.php on line 17

Notice: Undefined variable: extens in /srv/www/htdocs/admin/modules/gabcast/functions.inc.php on line 28

Notice: Undefined variable: extens in /srv/www/htdocs/admin/modules/findmefollow/functions.inc.php on line 17

Notice: Undefined variable: extens in /srv/www/htdocs/admin/modules/gabcast/functions.inc.php on line 28

Notice: Undefined offset: 1 in /srv/www/htdocs/admin/modules/timeconditions/page.timeconditions.php on line 151

Notice: Undefined offset: 1 in /srv/www/htdocs/admin/modules/timeconditions/page.timeconditions.php on line 152

Notice: Undefined offset: 1 in /srv/www/htdocs/admin/modules/timeconditions/page.timeconditions.php on line 153

From the time conditions module.

07/03/06 19:15:10 changed by vgster

Notice: Undefined variable: register in /srv/www/htdocs/admin/modules/core/functions.inc.php on line 1496

In trunks where no register was set on the trunk.

07/03/06 19:17:05 changed by vgster

Notice: Undefined variable: register in /srv/www/htdocs/admin/modules/core/functions.inc.php on line 1496

When creating a pinset.

07/03/06 19:18:21 changed by vgster

Notice: Undefined index: PHP_SELF in /srv/www/htdocs/admin/modules/findmefollow/page.findmefollow.php on line 142

In followme

07/03/06 19:19:45 changed by vgster

Notice: Undefined variable: configpageinits in /srv/www/htdocs/admin/config.php on line 148

In API

07/03/06 19:21:35 changed by vgster

Notice: Undefined variable: res in /srv/www/htdocs/admin/modules/manager/functions.inc.php on line 79

Notice: Undefined index: read in /srv/www/htdocs/admin/modules/manager/functions.inc.php on line 79

Notice: Undefined index: write in /srv/www/htdocs/admin/modules/manager/functions.inc.php on line 94

Also in API

07/03/06 19:22:45 changed by vgster

Notice: Undefined variable: extdisplay in /srv/www/htdocs/admin/modules/backup/page.backup.php on line 103

In backup

07/03/06 19:23:40 changed by vgster

Notice: Undefined variable: Weekdays in /srv/www/htdocs/admin/modules/backup/schedule_functions.php on line 507

Notice: Undefined index: file in /srv/www/htdocs/admin/modules/backup/page.backup.php on line 172

also in backup

07/03/06 19:24:44 changed by vgster

Notice: Undefined variable: customers in /srv/www/htdocs/admin/modules/customerdb/functions.inc.php on line 10

Notice: Undefined variable: extdisplay in /srv/www/htdocs/admin/modules/customerdb/page.customerdb.php on line 134

Notice: Undefined variable: extdisplay in /srv/www/htdocs/admin/modules/customerdb/page.customerdb.php on line 148
>

Notice: Undefined variable: extdisplay in /srv/www/htdocs/admin/modules/customerdb/page.customerdb.php on line 143

Notice: Undefined variable: extdisplay in /srv/www/htdocs/admin/modules/customerdb/page.customerdb.php on line 186

In customer DB

07/03/06 19:25:48 changed by vgster

Notice: Undefined variable: inventorys in /srv/www/htdocs/admin/modules/inventorydb/functions.inc.php on line 10

Notice: Undefined variable: extdisplay in /srv/www/htdocs/admin/modules/inventorydb/page.inventorydb.php on line 142

Notice: Undefined variable: extdisplay in /srv/www/htdocs/admin/modules/inventorydb/page.inventorydb.php on line 156
>

Notice: Undefined variable: extdisplay in /srv/www/htdocs/admin/modules/inventorydb/page.inventorydb.php on line 151

In Inventory

07/03/06 19:26:42 changed by vgster

Notice: Undefined variable: modsUpdate in /srv/www/htdocs/admin/page.modules.php on line 259

Notice: Undefined variable: modsDisabled in /srv/www/htdocs/admin/page.modules.php on line 303

Notice: Undefined variable: modsNotinstalled in /srv/www/htdocs/admin/page.modules.php on line 326

Notice: Undefined variable: modsBroken in /srv/www/htdocs/admin/page.modules.php on line 345

In offline modules and

Notice: Undefined variable: modsOnlineUpdate in /srv/www/htdocs/admin/page.modules.php on line 193

Notice: Undefined variable: modsOnlineOnly in /srv/www/htdocs/admin/page.modules.php on line 215

in Online modules

07/03/06 19:27:22 changed by vgster

Notice: Undefined variable: extdisplay in /srv/www/htdocs/admin/modules/printextensions/page.printextensions.php on line 60

Notice: Undefined variable: set_users in /srv/www/htdocs/admin/modules/printextensions/page.printextensions.php on line 70

in print users

07/03/06 19:29:10 changed by vgster

In ARI

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of parse_conf(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /srv/www/htdocs/admin/functions.php on line 1465

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of parse_conf(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /srv/www/htdocs/admin/functions.php on line 1465

07/04/06 11:11:46 changed by vgster

PHP Notice:  Undefined variable: amp_conf in /srv/www/htdocs/admin/featurecodes.class.php on line 66

PHP Notice:  Undefined variable: modulename in /srv/www/htdocs/admin/modules/pinsets/install.php on line 10

generated by imstall.amp

07/04/06 16:34:33 changed by vgster

Notice: Undefined offset: 1 in /srv/www/htdocs/admin/common/php-asmanager.php on line 731

Notice: Undefined variable: numbers in /srv/www/htdocs/admin/modules/phonebook/functions.inc.php on line 26

Notice: Undefined variable: numbers in /srv/www/htdocs/admin/modules/phonebook/functions.inc.php on line 29

In phonebook

07/04/06 19:34:54 changed by vgster

Notice: Undefined index: action in /srv/www/htdocs/admin/modules/cidlookup/functions.inc.php on line 48

Notice: Undefined variable: thisItem in /srv/www/htdocs/admin/modules/cidlookup/page.cidlookup.php on line 114

Notice: Undefined variable: thisItem in /srv/www/htdocs/admin/modules/cidlookup/page.cidlookup.php on line 104

Notice: Undefined variable: thisItem in /srv/www/htdocs/admin/modules/cidlookup/page.cidlookup.php on line 105

Notice: Undefined variable: thisItem in /srv/www/htdocs/admin/modules/cidlookup/page.cidlookup.php on line 106

Notice: Undefined variable: thisItem in /srv/www/htdocs/admin/modules/cidlookup/page.cidlookup.php on line 107

Notice: Undefined variable: thisItem in /srv/www/htdocs/admin/modules/cidlookup/page.cidlookup.php on line 108

In callerid lookup

07/10/06 11:11:53 changed by vgster

PHP Notice:  Undefined index:  sourcetype in /srv/www/htdocs/admin/modules/cidlookup/functions.inc.php on line 127
PHP Warning:  Missing argument 1 for extension::extension() in /srv/www/htdocs/admin/extensions.class.php on line 284

Seen after running install_amp

07/26/06 18:59:14 changed by vgster

One ones in ARI can be removed by changing allow_call_time_pass_reference to On in php.ini.

09/17/06 02:17:47 changed by vgster

OK, few more

Notice: Undefined variable: numbers in /var/www/localhost/htdocs/admin/modules/blacklist/functions.inc.php on line 175
Notice: Undefined variable: devinfo_hardware in /var/www/localhost/htdocs/admin/modules/core/functions.inc.php on line 2567
Notice: Undefined index: vmcontext in /var/www/localhost/htdocs/admin/modules/voicemail/functions.inc.php on line 139
Notice: Undefined variable: numbers in /var/www/localhost/htdocs/admin/modules/phonebook/functions.inc.php on line 35
Notice: Undefined index: name in /var/www/localhost/htdocs/admin/modules/backup/page.backup.php on line 27
Notice: Undefined variable: customerInfo in /var/www/localhost/htdocs/admin/modules/customerdb/page.customerdb.php on line 123
Notice: Undefined variable: extdisplay in /var/www/localhost/htdocs/admin/modules/inventorydb/page.inventorydb.php on line 142
Notice: Undefined variable: extdisplay in /var/www/localhost/htdocs/admin/modules/inventorydb/page.inventorydb.php on line 156
>
Notice: Undefined variable: extdisplay in /var/www/localhost/htdocs/admin/modules/inventorydb/page.inventorydb.php on line 151
Notice: Undefined variable: extdisplay in /var/www/localhost/htdocs/admin/modules/printextensions/page.printextensions.php on line 60
Notice: Undefined variable: set_users in /var/www/localhost/htdocs/admin/modules/printextensions/page.printextensions.php on line 70
Notice: Undefined variable: extens in /var/www/localhost/htdocs/admin/modules/gabcast/functions.inc.php on line 38

09/17/06 02:22:48 changed by vgster

More

{{{Notice: Undefined variable: name in /var/www/localhost/htdocs/admin/modules/core/functions.inc.php on line 2321 Notice: Undefined variable: directdid in /var/www/localhost/htdocs/admin/modules/core/functions.inc.php on line 2324 Notice: Undefined variable: didalert in /var/www/localhost/htdocs/admin/modules/core/functions.inc.php on line 2325 Notice: Undefined variable: outboundcid in /var/www/localhost/htdocs/admin/modules/core/functions.inc.php on line 2326

Notice: Undefined variable: record_in in /var/www/localhost/htdocs/admin/modules/core/functions.inc.php on line 2329 Notice: Undefined variable: record_out in /var/www/localhost/htdocs/admin/modules/core/functions.inc.php on line 2330 Notice: Undefined variable: faxexten in /var/www/localhost/htdocs/admin/modules/core/functions.inc.php on line 2334 Notice: Undefined variable: faxemail in /var/www/localhost/htdocs/admin/modules/core/functions.inc.php on line 2335 Notice: Undefined variable: answer in /var/www/localhost/htdocs/admin/modules/core/functions.inc.php on line 2336 Notice: Undefined variable: devinfo_emergency_cid in /var/www/localhost/htdocs/admin/modules/core/functions.inc.php on line 2564 Notice: Undefined variable: vmoptions in /var/www/localhost/htdocs/admin/modules/voicemail/functions.inc.php on line 122 Notice: Undefined index: vmcontext in /var/www/localhost/htdocs/admin/modules/voicemail/functions.inc.php on line 139 Notice: Undefined variable: incontext in /var/www/localhost/htdocs/admin/modules/voicemail/functions.inc.php on line 139 Notice: Undefined variable: vmpwd in /var/www/localhost/htdocs/admin/modules/voicemail/functions.inc.php on line 158 Notice: Undefined variable: email in /var/www/localhost/htdocs/admin/modules/voicemail/functions.inc.php on line 159 Notice: Undefined variable: pager in /var/www/localhost/htdocs/admin/modules/voicemail/functions.inc.php on line 160 Notice: Undefined variable: vmops_attach in /var/www/localhost/htdocs/admin/modules/voicemail/functions.inc.php on line 161 Notice: Undefined variable: vmops_saycid in /var/www/localhost/htdocs/admin/modules/voicemail/functions.inc.php on line 162 Notice: Undefined variable: vmops_envelope in /var/www/localhost/htdocs/admin/modules/voicemail/functions.inc.php on line 163 Notice: Undefined variable: vmops_delete in /var/www/localhost/htdocs/admin/modules/voicemail/functions.inc.php on line 164 }}}

09/17/06 02:24:39 changed by vgster

Notice: Undefined variable: ringing in /var/www/localhost/htdocs/admin/modules/core/functions.inc.php on line 497

09/17/06 02:26:01 changed by vgster

Notice: Undefined variable: path_to_dir in /var/www/localhost/htdocs/admin/modules/music/page.music.php on line 112

09/17/06 02:26:45 changed by vgster

Notice: Undefined variable: addtocdr in /var/www/localhost/htdocs/admin/modules/pinsets/functions.inc.php on line 149

09/18/06 03:27:30 changed by vgster

Come on biatch don't stop now.

09/29/06 11:35:20 changed by vgster

Add

Notice: Undefined index: lang in /var/www/localhost/htdocs/admin/header.php on line 32

10/18/06 00:19:09 changed by RobThomas

  • owner set to RobThomas.
  • status changed from new to assigned.

OK.. I've fixed a pile of them today, and it's pretty much clean as of r2762. (Fixed modules aren't yet published)

10/18/06 01:02:32 changed by vgster

  • status changed from assigned to closed.
  • resolution set to fixed.

I'll start a new one if I find any more.

Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads