agile toolkit 4.3 installation error - atk4

I have downloaded the new version(4.3) but when I go to the
http://localhost/agiletoolkit/
this error is shown:
Parse error: syntax error, unexpected '[' in phar://D:/wamp/www/agiletoolkit/agiletoolkit-sandbox.phar/lib/AgileToolkit/Installer.php on line 73
could you please help me how to install the new version?
Thanks

New ATK 4.3 version mostly use new PHP array notation [1,2,3] instead of old array(1,2,3) which is available only if you use PHP 5.4 and up.
So, please upgrade your PHP installation to at least 5.4 and then try again.

Related

How can I install cakephp2 in 2022?

can anyone tell me how can I install cakephp 2 in 2022 I tried many ways to install it I also have its zip file which I extract it and when I tried to run it it shows.
Fatal Error
Error: Cannot use 'String' as class name as it is reserved
File: E:\xampp\htdocs\cakephp2.3\lib\Cake\Utility\String.php
Line: 27
Notice: If you want to customize this error message, create app\View\Errors\fatal_error.ctp
CakePHP 2 needs php5
since Version 2.8 you can use php70
php71 is possible but you need to install mcrypt seperatly.
Its possible to run a CakePHP 2.8 on php72 with some core hacks. But i wouldn't recommend this.
I got my answer we can download its zip file from github and copy its file in htdocs folder and run it without an issue. By the way I downloaded cakephp 2.10. and it is also running in xampp with php version 8. If in your system it is not running then try to use xampp with php version 7.

Getting Undefined subroutine utf8::SWASHNEW called at Bugzilla/Util.pm line 109

I am trying to install Bugzilla. For that Strawberry perl, Microsoft IIS, MySQL are installed with latest versions. Followed guidelines given on Bugzilla installation page for windows.
Whenever I run checksetup.pl, all necessary perl modules related to Bugzilla are installed correctly. Only three optional modules were not installed (perl-ldap, mod_perl and Apache-SizeLimit). And then it is showing an error:
Undefined subroutine utf8::SWASHNEW called at Bugzilla/Util.pm line 109.
Move back to Strawberry Perl 5.28.2.1 from 5.30.0.1
I had same problem. This fixed.
I managed to fix this by applying the first of the following patch
(use
locate Safe.pm
to find the offending file)
DISCLAIMER - AT YOUR OWN RISK
Perl on github, patch for bug 17291

Postgresql 9.6 error with php7

I've set DB-postgresql 9.6 and php7 (in open server). In general error:
Error
As i understand problem with version php. because postgresql works with php 5.5
How i can correct this? In advance thank you.

CakePhp 2.6.3 Not Working on PHP 7

Fatal error: Uncaught Error: Class 'String' not found in /var/www/html/hrportal/lib/Cake/Utility/Debugger.php:340
Stack trace: 0 /var/www/html/hrportal/lib/Cake/Utility/Debugger.php(742): Debugger::trace(Array)1 /var/www/html/hrportal/lib/Cake/Error/ErrorHandler.php(229): Debugger->outputError(Array) /var/www/html/hrportal/app/Controller/AppController.php(72): ErrorHandler::handleError(8, 'Undefined index...', '/var/www/html/h...', 72, Array) 3 /var/www/html/hrportal/lib/Cake/Event/CakeEventManager.php(243): AppController->beforeFilter(Object(CakeEvent)) 4 /var/www/html/hrportal/lib/Cake/Controller/Controller.php(676): CakeEventManager->dispatch(Object(CakeEvent)) 5 /var/www/html/hrportal/lib/Cake/Error/ExceptionRenderer.php(154): Controller->startupProcess() 6 /var/www/html/hrportal/lib/Cake/Error/ExceptionRenderer.php(92): ExceptionRenderer->_getController(Object(FatalErrorException)) 7 /var/www/html/hrportal/lib/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->__construct(Object(FatalErrorException)) 8 in /var/www/html/hrportal/lib/Cake/Utility/Debugger.php on line340
This error is coming as i have upgraded my system to PHP 7.0.
I have CakePHP application , that was working on 5.5.9 Perfectly ,
Now this error is coming please help .
CakePHP 2.6 is not compatible with PHP 7
https://book.cakephp.org/2.0/en/installation.html
try cakephp 2.9 release if you don't want to use 3.x
According to Cakephp 2.x documentation. Below are the PHP
Requirements for Cakephp 2.x
PHP 5.3.0 or greater (CakePHP version 2.6 and below support PHP 5.2.8
and above). CakePHP version 2.8.0 and above support PHP 7. To use PHP
above 7.1 you may need to install mcrypt via PECL. See Security for
more information.
For PHP 7 you have to use 2.9.x

cakephp 3 installation issue - unexpected T_OBJECT_OPERATOR in config/bootstrap.php on line 107

I have php 5.4.42 on Linux with Apache and mysql. All the required extensions are loaded and I did a fresh install of cakephp 3 using the command
composer create-project --prefer-dist cakephp/app c3
It installed everything but when I open the URL in browser, it shows me an error in the browser
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in c3/config/bootstrap.php on line 107
Got the solution from cakephp github. My php version is not correct. Issue is that command line on linux (php -v) shows version as 5.4.42 but correct version is shown only using phpinfo() on a webpage and there it shows 5.3.29

Resources