Error running Phing with the build.xml file
Hello,
I have been trying without success to copies all english xml files to one place.
I uploaded to my root folder the build.xml file that I got from https://raw.githubusercontent.com/unaio/una/master/build.xml and the /test/ folder from the master repository.
When I type this command in UNA root folder:
php phing-latest.phar package_all_langs
I get this error:
Buildfile: /home/xxxxx/public_html/build.xml
[property] Loading /home/xxxxx/public_html/build.properties
[property] Unable to find property file: /home/xxxxx/public_html/build.properties... skipped
UNA > package_all_langs:
[property] Loading /home/xxxxx/public_html/build.properties
[property] Unable to find property file: /home/xxxxx/public_html/build.properties... skipped
UNA > package_lang:
[property] Loading /home/xxxxx/public_html/build.properties
[property] Unable to find property file: /home/xxxxx/public_html/build.properties... skipped
UNA > package_lang:
[php] Evaluating PHP expression: eval('include("/home/xxxxx/public_html/modules/boonex/antispam/install/config.php"); return $aConfig["name"];')
---
No /package/ folder with the language files is created in the root folder.
Note: This Phing command used to work fine in UNA 12.1.0.
I am running UNA 13-RC1 under Php 8.1
Please help.
Thanks
-
-
·
Alex T⚜️
- ·
Actually there is no real error in your output, but this command wont work with php 8, so please try to do it with php 7.4
-
·
Alex T⚜️
-
- · OneEagle
-
·
In reply to Alex T⚜️
- ·
Hi Alex, Thanks for your reply. I have switched back to php 7.4 and run the phing command. It works. Thank you so much.
After running it I will go back to php 8.1. Hopefully I will be remembering to switch back to php 7.4 whenever I need to run phing.
Why don't you update the build.xml content/code to be compatible with php 8.x? Thanks
-
-
·
Alex T⚜️
-
·
In reply to OneEagle
- ·
Usually there are other priorities, so it wasn't fixed yet, I've recorded it to miss in future versions:
-
·
Alex T⚜️
-
- · OneEagle
-
·
In reply to Alex T⚜️
- ·
Yes, I understand. Thank you for scheduling to future releases.