CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Illegal string offset 'BeforeShow'

Print topic Send  topic

Author Message
beshoo

Posts: 68
Posted: 04/16/2017, 1:14 PM

when i use table grade with CSS colore events ,an error appear :
Warning: Illegal string offset 'BeforeShowRow' in F:\xampp\htdocs\instaAdmin\users_events.php on line 7

and if i use beforeshow event i got
Warning: Illegal string offset 'BeforeShow' in F:\xampp\htdocs\instaAdmin\users_events.php on line 6


now the code in line 6 and 7 is

function BindEvents()
{
global $users1;
$users1->time_balance->CCSEvents["BeforeShow"] = "users1_time_balance_BeforeShow";
$users1->CCSEvents["BeforeShowRow"] = "users1_BeforeShowRow";
}


i am using latest CCS virsion and php7


Please advice
_________________
_________________
beshoo Love PHP and CC 4.2
View profile  Send private message
eratech


Posts: 513
Posted: 05/07/2017, 3:43 AM

Beshoo

The lines above are just binding the functions that run the code (eg: users1_BeforeShow) so look in the functions. If you are changing styles in rows then perhaps you haven't got enough items in the Styles?

Usually the property is "Row;AltRow" and CCS sees that as 2 styles. Maybe you have none and it's erroring on that?

Cheers
Eric
_________________
CCS 3/4/5 ASP Classic, VB.NET, PHP
Melbourne, Victoria, Australia
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.