Menu

#2138 Running php 5.1.3 , getting several errors .

invalid
nobody
5
2014-08-19
2006-05-04
Kevin
No

When trying to update a INT type field , im getting the
following errors .

Warning: urldecode() expects parameter 1 to be string,
array given in
/var/www/vhcs2/gui/tools/pma/pma/tbl_replace.php on
line 181

Warning: urldecode() expects parameter 1 to be string,
array given in
/var/www/vhcs2/gui/tools/pma/pma/tbl_replace.php on
line 181

Warning: preg_match() expects parameter 2 to be string,
array given in
/var/www/vhcs2/gui/tools/pma/pma/tbl_replace.php on
line 163

Warning: preg_match() expects parameter 2 to be string,
array given in
/var/www/vhcs2/gui/tools/pma/pma/tbl_replace.php on
line 165

Warning: urldecode() expects parameter 1 to be string,
array given in
/var/www/vhcs2/gui/tools/pma/pma/tbl_replace.php on
line 181

Warning: urldecode() expects parameter 1 to be string,
array given in
/var/www/vhcs2/gui/tools/pma/pma/tbl_replace.php on
line 181

Warning: preg_match() expects parameter 2 to be string,
array given in
/var/www/vhcs2/gui/tools/pma/pma/tbl_replace.php on
line 163

Warning: preg_match() expects parameter 2 to be string,
array given in
/var/www/vhcs2/gui/tools/pma/pma/tbl_replace.php on
line 165

Warning: preg_match() expects parameter 2 to be string,
array given in
/var/www/vhcs2/gui/tools/pma/pma/tbl_replace.php on
line 163

Warning: preg_match() expects parameter 2 to be string,
array given in
/var/www/vhcs2/gui/tools/pma/pma/tbl_replace.php on
line 165

Warning: Cannot modify header information - headers
already sent by (output started at
/var/www/vhcs2/gui/tools/pma/pma/tbl_replace.php:181)
in
/var/www/vhcs2/gui/tools/pma/pma/libraries/ob.lib.php
on line 61

Warning: Cannot modify header information - headers
already sent by (output started at
/var/www/vhcs2/gui/tools/pma/pma/tbl_replace.php:181)
in
/var/www/vhcs2/gui/tools/pma/pma/libraries/header_http.inc.php
on line 13

Warning: Cannot modify header information - headers
already sent by (output started at
/var/www/vhcs2/gui/tools/pma/pma/tbl_replace.php:181)
in
/var/www/vhcs2/gui/tools/pma/pma/libraries/header_http.inc.php
on line 14

Warning: Cannot modify header information - headers
already sent by (output started at
/var/www/vhcs2/gui/tools/pma/pma/tbl_replace.php:181)
in
/var/www/vhcs2/gui/tools/pma/pma/libraries/header_http.inc.php
on line 15

Warning: Cannot modify header information - headers
already sent by (output started at
/var/www/vhcs2/gui/tools/pma/pma/tbl_replace.php:181)
in
/var/www/vhcs2/gui/tools/pma/pma/libraries/header_http.inc.php
on line 16

Warning: Cannot modify header information - headers
already sent by (output started at
/var/www/vhcs2/gui/tools/pma/pma/tbl_replace.php:181)
in
/var/www/vhcs2/gui/tools/pma/pma/libraries/header_http.inc.php
on line 19

---------------------------

Error

SQL query: Edit

UPDATE `domain` SET `domain_name` = 'xxxxxxxxxxxxxxx',
`domain_gid` = '2008',
`domain_uid` = '2008',
`domain_admin_id` = Array(
'Array'
),
`domain_created_id` = '2',
`domain_created` = 'Array',
`domain_last_modified` = '50',
`domain_mailacc_limit` = '-1',
`domain_ftpacc_limit` = '1',
`domain_traffic_limit` = '20000',
`domain_sqld_limit` = '20',
`domain_sqlu_limit` = '20',
`domain_status` = 'ok',
`domain_alias_limit` = Array(
'19'
),
`domain_subd_limit` = '-1',
`domain_ip_id` = '9',
`domain_disk_limit` = Array(
'150'
),
`domain_disk_usage` = '58048',
`domain_php` = 'yes',
`domain_cgi` = 'Array' WHERE `domain`.`domain_id` =8
LIMIT 1

MySQL said: Documentation
#1064 - You have an error in your SQL syntax; check the
manual that corresponds to your MySQL server version
for the right syntax to use near '('Array'),
`domain_created_id` = '2', `domain_created` = 'Array',
`domain_last_m' at line 1

Discussion

  • Jonathan Ballet

    Jonathan Ballet - 2006-05-04

    Logged In: YES
    user_id=918234

    The problem seems to be solved with php 5.1.4.

     
  • Kevin

    Kevin - 2006-05-04

    Logged In: YES
    user_id=1516621

    yes thanks multani. ive upgraded to the most recent php
    snapshot , and the problem is now resolved .. odd one
    though...

     
  • Isaac Bennetch

    Isaac Bennetch - 2006-05-04

    Logged In: YES
    user_id=835650

    It's a PHP bug with 5.1.3 (http://bugs.php.net/bug.php?
    id=37276).

    See this forum thread for more info:
    https://sourceforge.net/forum/forum.php?
    thread_id=1491016&forum_id=72909

    As you've already discovered, upgrading to 5.1.4 is the
    proper fix :-)

     
  • Michal Čihař

    Michal Čihař - 2006-05-05
    • status: open --> closed-invalid
     
  • Michal Čihař

    Michal Čihař - 2006-05-05

    Logged In: YES
    user_id=192186

    PHP 5.1.3 is broken, please upgrade.

     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-invalid --> invalid
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.