Errors

Help
Chuck
2012-03-28
2013-04-25
  • Chuck
    Chuck
    2012-03-28

    New install IIS 7.0 Server 2008 RC2 PHP 5.4.

    Im moving my sites to a new server and this is what i get when i move my page.  Havent noticed any other problems yet.
    Warning: strlen() expects parameter 1 to be string, array given in C:\inetpub\wwwroot\rumble\phpqrcode\qrimage.php on line 69

    This makes the qr not create.  This is a fresh install of qrcode and php.  Any settings i need to enable for IIS to get it to work?

    Also this is the error in php error log.  It makes like 1000 lines of errors

    PHP Warning:  gzuncompress() : data error in C:\inetpub\wwwroot\rumble\phpqrcode\qrspec.php on line 550
    PHP Notice:  Undefined offset: 27 in C:\inetpub\wwwroot\rumble\phpqrcode\qrencode.php on line 387
    PHP Notice:  Undefined offset: 27 in C:\inetpub\wwwroot\rumble\phpqrcode\qrencode.php on line 387
    PHP Notice:  Undefined offset: 27 in C:\inetpub\wwwroot\rumble\phpqrcode\qrencode.php on line 387
    PHP Notice:  Undefined offset: 26 in C:\inetpub\wwwroot\rumble\phpqrcode\qrencode.php on line 387
    PHP Notice:  Undefined offset: 27 in C:\inetpub\wwwroot\rumble\phpqrcode\qrencode.php on line 387

     
  • Chuck
    Chuck
    2012-03-28

    oh this my my code for the image

    QRcode::png(http://www.google.com/index.php?client='.$code, $code.'-mob-code.png','L', 25, 2);