I don't suppose there is a way to make the bind events correct when generating rather than editing every page. No issues with mysqli as written by CodeCharge.ĭataDoIt, this is good news. $Login->Button_DoLogin->CCSEvents = //Update CCS Just minor edits with illegal string offsets when CCS Just letting you folks know PHP7 isįine with CCS. Here's a quick publish of the Employee Directory sample project onto AWS There is also a function in Common, CCGetListValues where I changed $values = array() I did mass change '$CCSEvents = "" ' to '$CCSEvents = array() ' to get over this hump. I chased this warning down to array() variable initialized to "". PHP 7.1 throws many DEPRECATED messages but the one that kills CCS is Warning: Illegal string offset. $last_id = mysqli_insert_id($Component->DataSource->Link_ID) Since php 5.5/5.6 you should use MySQLi or PDO instead of old MySQL library, on CCS choose Improved MySQL Most of my software made with CCS 5 work on servers with php 7.0 but none with php 7.1/7.2 My project was originally created in CCS 4.3 and then upgraded to CCS 5.1 You have to make sure any hand coded PHP is compatible with both platforms and also be mindful of any case sensitive issues with PHP and MySql. My development machine is Windows 10, IIS, MySql, PHP 5 and the production server is Ubuntu Linux, Apache, MySql, PHP 7. Is it possible to update CCS to the latest version and update existing projects to run on PHP 7? I have a fairly large project working well with ccs 5.1 and php 5 and 7 on a Ubuntu 16 server You may say I'm a dreamer, but I'm not the only one.(J.Lennon) I would like to convert them to 5.1 working with PHP 7.1Ĭhange everything to another(what) RAD Software We have a big project with about 100 small and about 20 more complex 4.1/4.3 programs. MamboBROWN, do you have any suggestions for someone who has a large project in v 4.3 and needs to convert it to 5.1?Īnyone else with experience CCS and PHP 7.x? Quote - that's my reading of it, and I've done a little testing on PHP 7 and many of the 'old' code will work (mostly) but will raise DEPRECATED errors.Įric, would you be willing to share your functions? Took some time off forums and non-work related internet etc during January.) I include my own set of functions as a separate file and use them instead of the built in ones if I need to. Of course, the solution would be to update the PHP function templates that CCS uses to generate code but I don't know if that's going to happen. PHP 5.4.6) - that's my reading of it, and I've done a little testing on PHP 7 and many of the 'old' code will work (mostly) but will raise DEPRECATED errors. 5.2.x) will still run as expected under a newer version of PHP (i.e. When you mean "old fashion", are you saying that CCS generated code for older versions of PHP (i.e. Yes, is compatible like most of old php code,īut you will need to disable the E_DECRECATED alerts on php.ini or in php code (maybe on Common.php) that's because most of php code is "old fashion" and YesSoftware don't seem to want a real upgrade of the product,Īs an example all classes of CCs use the name of the class as constructor instead of _construct() method as php7 recommend you will have to replace a lot of the code. Is there a chance for a project to run on PHP 7?Īssuming that you have the current version of CCS and that you started building your project in PHP 7 the answer to your question is Yes. YesSoftware Forums -> CodeCharge Studio -> PHP Visual PHP Web Development Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |