e-dimensionz / todoyu-php8.x Goto Github PK
View Code? Open in Web Editor NEWTodoyu massive migration to PHP8.x
License: BSD 3-Clause "New" or "Revised" License
Todoyu massive migration to PHP8.x
License: BSD 3-Clause "New" or "Revised" License
First let me say thank you for porting todoyu to PHP 8.x.
Then let me be the first to help with error reports:
PHP 8.0 with latest Todoyu-PHP8.x
The listing of the "Stundenblatt" (see screenshot below) yields the following error:
bcc1716661 :: 2024-03-15 16:01:30 - L:3 - U:admin [ext/daytracks/model/TodoyuDaytracksHistoryManager.class.php:210] :: PHP ERROR: [2] Undefined array key "total"
regards - Ines
Working with Todoyu-8 from 2024-01-19 on localhost as a hostname is troublesome with regards to JavaScript things.
Apache 2.4 on Linux with PHP 8.1 as well as 7.4, Firefox 124.0.1.
Also tested in vivaldi:
Vivaldi 6.6.3271.50 (Stable channel) stable (64-bit)
Revision 4351c8911001bc858e577e90b5d79b6050abb51b
OS Linux
JavaScript V8 12.2.281.23
As I suspect, that most have the same reason, I'll start with the most annoying one:
If I try to add a new Project. nothing happens. In fact most interface icons and popup menus are missing or at least not working.
Todoyu PHP-8:
Todoyu PHP-7, some older Version from June 2022 or before:
From the Browser Console:
InvalidCharacterError: String contains an invalid character [content-script.js:901](moz-extension://d04842b4-1928-4845-be57-8f5fae8a8dc1/content-script.js)
loadMediaSessionsShim moz-extension://d04842b4-1928-4845-be57-8f5fae8a8dc1/content-script.js:901
HAS_EXTENDED_CREATE_ELEMENT_SYNTAX https://10.30.1.121/todoyu-8/lib/js/prototype.js:2075
<anonymous> https://10.30.1.121/todoyu-8/lib/js/prototype.js:2081
<anonymous> https://10.30.1.121/todoyu-8/lib/js/prototype.js:3435
Uncaught TypeError: $(...) is null
getActive https://10.30.1.121/todoyu-8/cache/js/74f76fd6a8.Tabs-de_DE.js:305
getActiveKey https://10.30.1.121/todoyu-8/cache/js/74f76fd6a8.Tabs-de_DE.js:318
getActiveProjectID https://10.30.1.121/todoyu-8/cache/js/c6feed76b9.ProjectTaskTree-de_DE.js:423
getProjectID https://10.30.1.121/todoyu-8/cache/js/c6feed76b9.TaskTree-de_DE.js:265
initSortable https://10.30.1.121/todoyu-8/cache/js/c6feed76b9.TaskTree-de_DE.js:56
init https://10.30.1.121/todoyu-8/cache/js/c6feed76b9.TaskTree-de_DE.js:45
<anonymous> https://10.30.1.121/todoyu-8/index.php?ext=project:954
handleEvent https://10.30.1.121/todoyu-8/lib/js/prototype.js:6648
createResponderForCustomEvent https://10.30.1.121/todoyu-8/lib/js/prototype.js:6747
fireEvent_DOM https://10.30.1.121/todoyu-8/lib/js/prototype.js:6607
fire https://10.30.1.121/todoyu-8/lib/js/prototype.js:6596
_methodized https://10.30.1.121/todoyu-8/lib/js/prototype.js:456
fireContentLoadedEvent https://10.30.1.121/todoyu-8/lib/js/prototype.js:6782
EventListener.handleEvent* https://10.30.1.121/todoyu-8/lib/js/prototype.js:6804
<anonymous> https://10.30.1.121/todoyu-8/lib/js/prototype.js:6811
[74f76fd6a8.Tabs-de_DE.js:305:10](https://10.30.1.121/todoyu-8/cache/js/74f76fd6a8.Tabs-de_DE.js)
getActive https://10.30.1.121/todoyu-8/cache/js/74f76fd6a8.Tabs-de_DE.js:305
getActiveKey https://10.30.1.121/todoyu-8/cache/js/74f76fd6a8.Tabs-de_DE.js:318
getActiveProjectID https://10.30.1.121/todoyu-8/cache/js/c6feed76b9.ProjectTaskTree-de_DE.js:423
getProjectID https://10.30.1.121/todoyu-8/cache/js/c6feed76b9.TaskTree-de_DE.js:265
initSortable https://10.30.1.121/todoyu-8/cache/js/c6feed76b9.TaskTree-de_DE.js:56
init https://10.30.1.121/todoyu-8/cache/js/c6feed76b9.TaskTree-de_DE.js:45
<anonymous> https://10.30.1.121/todoyu-8/index.php?ext=project:954
handleEvent https://10.30.1.121/todoyu-8/lib/js/prototype.js:6648
createResponderForCustomEvent https://10.30.1.121/todoyu-8/lib/js/prototype.js:6747
fireEvent_DOM https://10.30.1.121/todoyu-8/lib/js/prototype.js:6607
fire https://10.30.1.121/todoyu-8/lib/js/prototype.js:6596
_methodized https://10.30.1.121/todoyu-8/lib/js/prototype.js:456
fireContentLoadedEvent https://10.30.1.121/todoyu-8/lib/js/prototype.js:6782
(Async: EventListener.handleEvent)
<anonymous> https://10.30.1.121/todoyu-8/lib/js/prototype.js:6804
<anonymous> https://10.30.1.121/todoyu-8/lib/js/prototype.js:6811
The older one for PHP7 works fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.