[FX.php List] Warning: Cannot use a scalar value as an array in

Kim Hawksworth Kim.Hawksworth at osumc.edu
Tue Nov 1 22:21:32 MST 2005


I¹m trying to upgrade FX.php from a version dated August 2004 to version
4.0.  The new version is giving the following error message when performing
a find:

Warning: Cannot use a scalar value as an array in
/Library/WebServer/Documents/pagers/pager_browse_staff.php on line 82


The code in question on line 82 is as follows:

foreach ($stf_pager_results['data'] as $recordKey =>$recordData) {

In addition to this error, pop-up menus in forms are not showing any values
from their respective valueLists in the database.   It¹s almost like FX.php
is not able to find the database.

The server is running Mac OS 10.4.3 server.  The database is running FMPro
6.0 with v4 of the web companion.  Everything works fine with the older
version of FX.php.  Any ideas why it breaks with version 4.0?  Does 4.0 only
work with FMPro7?

Any help would be greatly appreciated.

-- 
Kim D. Hawksworth, R.Ph., Web Manager
Department of Pharmacy
The Ohio State University Health System

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.iviking.org/pipermail/fx.php_list/attachments/20051102/36066d0c/attachment.html


More information about the FX.php_List mailing list