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
Logged In: YES
user_id=918234
The problem seems to be solved with php 5.1.4.
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...
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 :-)
Logged In: YES
user_id=192186
PHP 5.1.3 is broken, please upgrade.