CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Login problem on PHP 7

Print topic Send  topic

Author Message
enko


Posts: 66
Posted: 05/08/2020, 6:16 AM Quote message

Converting the codecharge code to PHP 7.4.3 I have problems accessing reserved pages.
I can't log in and I have the following warning:
Warning: Illegal string offset 'OnClick' in C:\wamp64\www\test1\login_events.php on line 6
Has anyone solved this problem and know how to help me? Regard
_________________
Italy - CodeCargeStudio (5.1.1.18992) - Dephi RIO - Lazarus (Free Pascal) - www.egsoft.it - www.egauto.it - www.egcourier.it - www.egestetica.it - Windows, Linux, Raspberry Apps.
View profile  Send private message
jsuarez2

Posts: 19
Posted: 07/16/2020, 8:03 PM Quote message

Show the line 6 of the code...

Jose - https://pe.tablago.com/
_________________
https://cl.tablago.com/
View profile  Send private message
enko


Posts: 66
Posted: 07/16/2020, 9:29 PM Quote message

$Login->Button_DoLogin->CCSEvents["OnClick"] = "Login_Button_DoLogin_OnClick";
_________________
Italy - CodeCargeStudio (5.1.1.18992) - Dephi RIO - Lazarus (Free Pascal) - www.egsoft.it - www.egauto.it - www.egcourier.it - www.egestetica.it - Windows, Linux, Raspberry Apps.
View profile  Send private message
ccsminer

Posts: 135
Posted: 07/17/2020, 3:32 PM Quote message

Enko -

Unfortunately, this is just one of many errors to be encountered.

Have decided to just be patient and wait while a version of CCS is developed which truely supports PHP 7.x

In the meantime, CCS serves us well for PHP 5.x applications.
View profile  Send private message
enko


Posts: 66
Posted: 07/21/2020, 1:29 AM Quote message

Thank you
I can confirm that using conv_fnames.php up to PHP 7.1.26 CCS projects works in all
_________________
Italy - CodeCargeStudio (5.1.1.18992) - Dephi RIO - Lazarus (Free Pascal) - www.egsoft.it - www.egauto.it - www.egcourier.it - www.egestetica.it - Windows, Linux, Raspberry Apps.
View profile  Send private message
popularanky

Posts: 53
Posted: 08/18/2020, 4:25 PM Quote message

Quote enko:
$Login->Button_DoLogin->CCSEvents["OnClick"] = "Login_Button_DoLogin_OnClick";

Just declare as array at the top of the code line 6

$Login->Button_DoLogin->CCSEvents = ["OnClick"];

just copy this.
i hope it helps


_________________
EKERE UBONG UBONG
IT Officer
CognitiveDrive
View profile  Send private message
abhay_nakhate

Posts: 1
Posted: 09/13/2020, 5:27 AM Quote message

There are change in Classes.php and .php file what we need to do is replace var $CCSEvents=""; to var $CCSEvents = array(); and & new to new. search in entire project and do this. then all the errors related to illegal offset get resolved.
This is because of this variable defined as string and used as array.
View profile  Send private message
clickryan


Posts: 49
Posted: 09/13/2020, 3:44 PM Quote message

what I do before running conv_fnames.php,

- I clear the .php page/file (not the _events.php)
- generate new .php
- run conv_fnames.php
- test the page
_________________
Codecharge Developer (PHP, ASP.net - C# or VB.net)
for help or inquiries please visit clickryan.com
View profile  Send private message

Add new topic Reply to 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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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