reinstall old cakePHP v1.3.11 project

nitiphone2021

New member
Hi all friends,

As I want to install old cakePHP project from v1.3.11 in my virtualBox but when I run it fail

Do you have any idea how this error message?

I am not the writer of the project but I need to reinstall it

this is the requirement for the project

Ubuntu 16.04.7 LTS
Apache/2.4.18
PHP 5.6.40-47+ubuntu16.04.1+deb.sury.org+1
mysql 5.7.33
phpmyadmin 4.5.4
WiW9N28.png
 
Code:
Warning: Illegal string offset 'file' in /var/www/html/NlLaosF/cake/libs/debugger.php on line 632

Warning: Illegal string offset 'line' in /var/www/html/NlLaosF/cake/libs/debugger.php on line 632

Strict Standards: Non-static method Configure::read() should not be called statically in /var/www/html/NlLaosF/cake/basics.php on line 213

Strict Standards: Non-static method Configure::getInstance() should not be called statically in /var/www/html/NlLaosF/cake/libs/configure.php on line 156
Warning (2): fopen(../../app/webroot/lang/lang_en.php) [function.fopen]: failed to open stream: No such file or directory [APP/app_controller.php, line ??]
Warning: Illegal string offset 'file' in /var/www/html/NlLaosF/cake/libs/debugger.php on line 632

Warning: Illegal string offset 'line' in /var/www/html/NlLaosF/cake/libs/debugger.php on line 632
Warning (2): fwrite() expects parameter 1 to be resource, boolean given [APP/app_controller.php, line ??]
Warning: Illegal string offset 'file' in /var/www/html/NlLaosF/cake/libs/debugger.php on line 632

Warning: Illegal string offset 'line' in /var/www/html/NlLaosF/cake/libs/debugger.php on line 632
Warning (2): fclose() expects parameter 1 to be resource, boolean given [APP/app_controller.php, line ??]
Warning (2): require_once(../../app/webroot/lang/lang_en.php) [function.require-once]: failed to open stream: No such file or directory [APP/app_controller.php, line ??]
Fatal error: require_once() [function.require]: Failed opening required '../../app/webroot/lang/lang_en.php' (include_path='.:/usr/share/php:/var/www/html/NlLaosF:/var/www/html/NlLaosF/app/') in /var/www/html/NlLaosF/app/app_controller.php on line 0


This is the error
 
The fatal error says a file is missing. Is the file it's talking about where it should be?
 
error about not found this file lang_en.php
but as I checked the file in their
/var/www/html/NlLaosF/app/webroot/lang/lang_en.php

Do you have any idea about cakePHP that they config the routing path?
 
It looks like the code is running in the file /var/www/html/NlLaosF/app/app_controller.php

The relative path being checked for is ../../app/webroot/lang/lang_en.php

That is parsed to /var/www/html/app/webroot/lang/lang_en.php - that's what's gone wrong.
 
Back
Top