[pmwiki-devel] New Recipe Code Problem: HTMLHeadFmt.

Craige Leeder craige at internetadvisor.ca
Mon Nov 20 14:40:15 CST 2006


Well, I fixed the JS not outputting correctly. For somereason I have to 
add it to the HTMLHeaderFmt array in the function. I don't know why, but 
I tried it everywhere else, and got the same results.

If anybody wants though, take a look at these lines:

         /* PHP error here to look at:
         Warning: Cannot use a scalar value as an array in 
/homepages/20/d88928485/htdocs/theleederboard/pmwiki/cookbook/googlemaps.php 
on line 91
         */
         $ParsedArgs['location'] = array('lon' => $ll[0],
                                         'lat' => $ll[1]);

and tell my why I'm getting the error. I've never seen the error before 
in 3 years of  working with PHP.



More information about the pmwiki-devel mailing list