[Freerealty] foreach() Error when I add a new listing
Patrick Fleming developer FreeRealty
pat at rwcinc.net
Sat Jun 4 08:32:50 MST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Huh,
I never even caught that... error output is set pretty low :)
You might want to check the update section in admin.php as well, looks
like I did the same thing there ~ 207 (the demo is slightly different
than the packaged code, I haven't updated it yet)
Gayatri Software wrote:
> Hi,
>
> I am a new user of Free Realty.
> I just downloaded the script and installed it.
>
> When I added new listing it gave "Invalid argument for foreach()
> admin.phpline 338"
>
> To fix this I had to remove the quotes from this line in admin.php (line
> num: 287)
> $$key = $value; (initially it was $$key = "$value";)
>
> Please note that $features is an array and hence assigning it with double
> quotes will make it a string (a string called "Array")
> and hence foreach will give an error.
>
> I just thought you guys should know...
>
> BTW excellent script....much more user friendly than the original.
Glad you like it... are you refering to Jon's code when you say "original"?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCocmhGzHR7DxVKWIRAjL0AJ4ml8b+P3rvCTZXbpQ7Wy6RjVk8/ACfWoBo
iuRoBLLs7AI6AdJIIKFhzeI=
=slaz
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pat.vcf
Type: text/x-vcard
Size: 219 bytes
Desc: not available
Url : http://lists.rwcinc.net/pipermail/freerealty/attachments/20050604/d770388f/pat.vcf
More information about the FreeRealty
mailing list