Ticket #156 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Invalid argument supplied for foreach() in control.php

Reported by: openmacnews Assigned to: bart
Priority: major Milestone: 0.9.5
Component: Control panel Version: 0.9.5
Keywords: Cc:

Description (Last modified by bart)

hi,

after a successful/functional install of eA r262 on OSX:

	eAccelerator 0.9.6-dev [shm:sysvipc sem:fcntl]
	PHP 5.2.0RC2-dev [ZE 2.2.0]
	Using apache2handler on Darwin server 8.7.0 Darwin Kernel Version 8.7.0:
	Fri May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power
Macintosh

nav'ing to:

	http://.../control.php

displays the Control Page as expected, but right under:

                             Cached keys

i see:

	Warning: Invalid argument supplied for foreach() in
	/webapps/sites/admin/control.php on line 165

                      Name 	Created 	Size 	ttl
richard


bart> I added a check to see it eAccelerator was initialised
properly, if not it return null instead of an empty array. The control
panel should check for this.

Change History

08/06/06 09:32:14 changed by unknownbrackets

  • milestone changed from 0.9.5 to 0.9.6.

I think this is caused by what I noted in ticket #159 (but also, control.php should check for null return values.)

-[Unknown]

08/06/06 09:33:57 changed by unknownbrackets

  • milestone changed from 0.9.6 to 0.9.5.

Darn, sorry, forgive the spam, that was an accident.

-[Unknown]

08/06/06 22:44:48 changed by bart

  • status changed from new to closed.
  • resolution set to fixed.
  • description changed.

Thanks for catching this one. Stupid me :)