Thank you both for being so responsive!
I’ve tried going from 2.2 to 3.3, but it resulted in an error I wasn’t able to fix, so I decided to give 2.2->3.0 a try. It also gave me an error, but once I uninstalled the welcome package which I didn’t use either way, the migration went successfully with a small problem. My application was loading, but when loading any website, resources like css and js were not accessible.
I’m on windows 10 Pro if it matters and using xampp
Actually I had a strange problem for code like this:
__resource_base_path = {f:uri.resource(path: '') -> f:format.json()
;
After the migration to 3.0. it was resulting in:
__resource_base_path = &https:\/\/some.web.page\/_Resources\/Static\/Packages\/Cleversoft.FslConfigurator\/&;
So i just added htmlentitiesDecode to the end and it was working just fine. Like so:
__resource_base_path = {f:uri.resource(path: '') -> f:format.json() -> f:format.htmlentitiesDecode()};
CSS and JS resources are still unaccessible and the error this time is 404, not 403:
GET http://some.web.page/_Resources/Persistent/0c11f0d703454a16bb6649b86db0c88bbc8e9535.css 404 (Not Found)
What I noticed is that it’s actually now creating a folder with the name “0c11f0d703454a16bb6649b86db0c88bbc8e9535” and putting the main.css in it, instead of creating a css file with that name.
However I decided to go for 3.1 and after updating composer.json and running composer update, I executed the first two commands from the upgrade instructions successfully:
./flow flow:cache:flush --force
./flow core:migrate
But the old error (same as as when I tried to go to 5.0 and 3.3) came back:
Notice: Uninitialized string offset: 0 in C:\xampp\htdocs\fsl\Packages\Framework\TYPO3.Flow\Classes\TYPO3\Flow\Reflection\ReflectionService.php line 1434
Type: TYPO3\Flow\Error\Exception
Code: 1
File:
C:\xampp\htdocs\fsl\Packages\Framework\TYPO3.Flow\Classes\TYPO3\Flow\Error\ErrorHandler.php Line: 81
Open Data/Logs/Exceptions/20180815133838dd7727.txt for a full stack
trace.
Type: TYPO3\Flow\Core\Booting\Exception\SubProcessException
Code: 1355480641
File: C:\xampp\htdocs\fsl\Packages\Framework\TYPO3.Flow\Classes\TYPO3\Flow\Core\Booting\Scripts.ph Line: 574
Open Data/Logs/Exceptions/20180815133833cc88ce.txt for a full stack trace.
Here`s the exception log:
Exception #1 in line 1434 of C:\xampp\htdocs\project\Packages\Framework\TYPO3.Flow\Classes\TYPO3\Flow\Reflection\ReflectionService.php: Notice: Uninitialized string offset: 0 in C:\xampp\htdocs\project\Packages\Framework\TYPO3.Flow\Classes\TYPO3\Flow\Reflection\ReflectionService.php line 1434
26 TYPO3\Flow\Error\ErrorHandler::handleError(8, "Uninitialized string offset: 0", "C:\xampp\htdocs\project\Packages\Framework\TYPO3.Flow\Classes\TYPO3\Flow\Reflection\ReflectionService.php", 1434, array|2|)
25 TYPO3\Flow\Reflection\ReflectionService::expandType(TYPO3\Flow\Reflection\ClassReflection, "")
24 TYPO3\Flow\Reflection\ReflectionService::expandType(TYPO3\Flow\Reflection\ClassReflection, "<type>")
23 TYPO3\Flow\Reflection\ReflectionService::convertParameterReflectionToArray(TYPO3\Flow\Reflection\ParameterReflection, TYPO3\Flow\Reflection\MethodReflection)
22 TYPO3\Flow\Reflection\ReflectionService::reflectClassMethodParameter("Cleversoft\project\ViewHelpers\FondsVolumeViewHelper", TYPO3\Flow\Reflection\MethodReflection, TYPO3\Flow\Reflection\ParameterReflection)
21 TYPO3\Flow\Reflection\ReflectionService::reflectClassMethod("Cleversoft\project\ViewHelpers\FondsVolumeViewHelper", TYPO3\Flow\Reflection\MethodReflection)
20 TYPO3\Flow\Reflection\ReflectionService::reflectClass("Cleversoft\project\ViewHelpers\FondsVolumeViewHelper")
19 TYPO3\Flow\Reflection\ReflectionService::TYPO3\Flow\Reflection\{closure}("Cleversoft\project\ViewHelpers\FondsVolumeViewHelper")
18 array_filter(array|896|, Closure)
17 TYPO3\Flow\Reflection\ReflectionService::reflectEmergedClasses()
16 TYPO3\Flow\Reflection\ReflectionService::buildReflectionData(array|8|)
15 TYPO3\Flow\Object\CompileTimeObjectManager::initialize(array|59|)
14 TYPO3\Flow\Core\Booting\Scripts::initializeObjectManagerCompileTimeFinalize(TYPO3\Flow\Core\Bootstrap)
13 call_user_func(array|2|, TYPO3\Flow\Core\Bootstrap)
12 TYPO3\Flow\Core\Booting\Step::__invoke(TYPO3\Flow\Core\Bootstrap)
11 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
10 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
9 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
8 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
7 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
6 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
5 TYPO3\Flow\Core\Booting\Sequence::invokeStep(TYPO3\Flow\Core\Booting\Step, TYPO3\Flow\Core\Bootstrap)
4 TYPO3\Flow\Core\Booting\Sequence::invoke(TYPO3\Flow\Core\Bootstrap)
3 TYPO3\Flow\Cli\CommandRequestHandler::boot("Compiletime")
2 TYPO3\Flow\Cli\CommandRequestHandler::handleRequest()
1 TYPO3\Flow\Core\Bootstrap::run()
Any idea what could be the problem?