CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Upgrade to 5.1.1.18992 (PHP) Issues

Print topic Send  topic

Author Message
djgjohn

Posts: 50
Posted: 03/04/2020, 7:36 PM Quote message

To be able to sell an app via Envato I need to offer a PHP 7.2+ version. I develop for PHP 5 at present.

I have read the couple of topics/posts that discuss issues with PHP 7.

If I upgrade to latest CCS 5.1.1.18992 (PHP) can I continue to build for PHP5? What happens to those projects?

If I install the latest version on my laptop and start a PHP 7 project, can I copy over files from a PHP 5 project and have them work?

Thanks
View profile  Send private message
cleverton

Posts: 11
Posted: 03/05/2020, 10:22 AM Quote message

Hello,
I use CCS with PHP 7.0.33, migrated from version 5.3 and had no problems.
_________________
CCS user group on WhatsApp: http://bit.ly/2Ztc5QR
Github: https://github.com/codecharge
View profile  Send private message
Oper


Posts: 1193
Posted: 03/05/2020, 11:59 AM Quote message

Just Make Backup
in My Case i just Keep old project in Version 4
and new Project in Version 5
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
djgjohn

Posts: 50
Posted: 03/05/2020, 3:58 PM Quote message

With respect - this doesn't answer my questions.

Oper: CCS4 to CCS5 was easier from what I understand, a conversion process was applied to each project opened in CCS5. The PHP version used was not as big an issue, but I could be wrong.

cleverton: Does CCS latest version run conversion on PHP5 project to operate on PHP7? How did you "migrate" to PHP 7?

Please reply with more information.
View profile  Send private message
laneoc

Posts: 147
Posted: 03/18/2020, 10:44 AM Quote message

I am following this thread as I, too, need to migrate my app from PHP 5.x to 7.x.

Does anyone have experiences to share?

Do I just load the update for CCS and go? Recompile and go? Lots of manual changes?

Thanks for sharing.


_________________
Lane
View profile  Send private message
djgjohn

Posts: 50
Posted: 03/18/2020, 6:20 PM Quote message

Good luck Lane :-/
View profile  Send private message
laneoc

Posts: 147
Posted: 03/26/2020, 12:34 PM Quote message

I'm seeking advice about upgrading my CCS to version 5.1.1.18992.exe.

My app was developed in CCS_5.1.1.18990. I'm using PHP 5.6.4 now.

Does 5.1.1.18992.exe build code good for PHP 5.6.4? Or is it just for PHP 7.x?

Also -- what app code changes should I expect to do? I know it depends on various things, but any advice offered is appreciated.

Lane
_________________
Lane
View profile  Send private message
djgjohn

Posts: 50
Posted: 03/26/2020, 5:44 PM Quote message

Lane, I made no progress with this. When I get back to the project I will have to install the new version on another machine eg,. Laptop and play around and see what happens.

It is my understanding that once you upgrade to the latest version you need to convert all projects to PHP 7 but I am not sure how that works.
View profile  Send private message
ccsminer

Posts: 135
Posted: 04/06/2020, 10:03 AM Quote message

A few things to note after upgrading your projects in PHP 7:

"A lot of extensions are not ready yet for PHP 7.
If you have functions like “ereg” and “mysql” buried deep inside their code base, they are gonna strike a Backward Compatibility wall as these functions are deprecated and, it is going to be a real pain in the behind to upgrade."

Unless you're doing something custom, using "mysql" calls directly should be minimal.
View profile  Send private message
coyote999

Posts: 21
Posted: 04/22/2020, 2:18 AM Quote message

There is a conversion script to make CCS projects run under PHP >=7.1

https://github.com/barakravid/codecharge_php7fix?fbclid...Z-ase3GHv_-4meQ

I'm not sure, why YesSoftware doesn't implement a minor update with this workaround.
Many developers need to use PHP 7.x now.
View profile  Send private message
djgjohn

Posts: 50
Posted: 04/22/2020, 5:47 PM Quote message

Thanks Cyote999,

I have received this previously, the problem is - I have no idea how to run it. Would like to know how that is done.
View profile  Send private message
coyote999

Posts: 21
Posted: 04/23/2020, 2:46 AM Quote message

Just publish your project locally, open the command line tool (windows) go to your htdocs directory and run php conv_fnames.php

(conv_fnames.php must be copied into your publishing dir)
View profile  Send private message
djgjohn

Posts: 50
Posted: 04/23/2020, 6:57 PM Quote message

Finally!

Thanks coyote999 - that's exactly what I and others like me needed to know.

I appreciate the time you have taken to supply this information. I'll give it a go in the next few days and see what happens.
View profile  Send private message
ccsminer

Posts: 135
Posted: 04/29/2020, 6:14 PM Quote message

How did it work for you?

Quote djgjohn:
Finally!

Thanks coyote999 - that's exactly what I and others like me needed to know.

I appreciate the time you have taken to supply this information. I'll give it a go in the next few days and see what happens.
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.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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