Devam Ediyor

485740 php4 to php5 issue

We have just recompiled our server from php4 to php5 and getting an error:

Fatal error: Cannot use string offset as an array in /home/xxx/[url removed, login to view] on line 146

That file has the following code at that line:

return strtoupper($fMemb[ login ][ 0 ]).str_repeat("0", 6 - strlen($fMemb[ id ])).$fMemb[ id ];


The code above this line is below:


function sysGetProfileCode($fMemb = 1)


global $fMember;

if($fMemb == 1)


$fMemb = $fMember;


return strtoupper($fMemb[ login ][ 0 ]).str_repeat("0", 6 - strlen($fMemb[ id ])).$fMemb[ id ];

} // sysGetProfileCode


We need a fix to get this code working on the new PHP5.

Beceriler: Her şey Kabul, PHP

Daha fazlasını görün: use string offset, server issue, use string offset array, global error, string array, issue fix error, php5 login system, array string, lib code, php5, php4, global php5, fix php5, fix string php, lib php, code php4, php5 global, fix php4, system login php5, php5 code, php4 code, php4 php5

İşveren Hakkında:
( 53 değerlendirme ) Perth, Australia

Proje NO: #2231650



Details in PM.

0 gün içinde 15$ USD
(53 Değerlendirme)