Comments (6)
@wdebusschere Thanks, I've found what is causing the problem. Sadly, I lost many hours trying to install rector, in the hope that it would fix the problem by itself, but it turns out, it does not fix that. So I resorted in fixing the code with a nasty regexp.
Find: , \$fields([^,)]+)
Replace with: , isset($fields$1) ? $fields$1 : null
Ahaha. rector does a super job to remove those isset() ternary with ??
, but for now, all the code base uses this pattern.
from symphonycms.
Thanks @bauhouse for all those tests !
I think you are running with all errors (which is a good thing) but I something test (sadly) without the notices.
I assume you are getting the error when loading the installer (i.e. the install process has not yet begun?)
from symphonycms.
@nitriques, I am having the same error that @bauhouse is experiencing when running on Ubuntu 18.04, PHP 7.4.3, MySQL 5.7.26. This is on the installer page. Same exact error.
from symphonycms.
Thanks @bzerangue for reporting.
from symphonycms.
I also have this error with PHP 7.3.15 for the installer.
There are 2 errors in the log:
2020-04-01T10:20:39+00:00 5e846a > Notice: ErrorHandler 8: Undefined index: user on line 355 of file /Users/xxx/Sites/symphonycms3/install/lib/class.installerpage.php
2020-04-01T10:20:39+00:00 5e846a > Notice: ErrorHandler 8: Use of undefined constant SYMPHONY_URL - assumed 'SYMPHONY_URL' on line 193 of file /Users/xxx/Sites/symphonycms3/symphony/lib/core/class.exceptionrenderer.php
from symphonycms.
dump of the fields
array(10) { ["admin"]=> array(2) { ["max_upload_size"]=> string(7) "5242880" ["upload_blacklist"]=> string(32) "/\.(?:php[34567s]?|phtml|pht)$/i" } ["symphony"]=> array(12) { ["admin-path"]=> string(8) "symphony" ["pagination_maximum_rows"]=> string(2) "20" ["association_maximum_rows"]=> string(1) "5" ["lang"]=> string(2) "en" ["pages_table_nest_children"]=> string(2) "no" ["version"]=> string(5) "3.0.0" ["cookie_prefix"]=> string(4) "sym-" ["session_gc_divisor"]=> string(2) "10" ["session_strict_domain"]=> string(3) "yes" ["cell_truncation_length"]=> string(2) "75" ["enable_xsrf"]=> string(3) "yes" ["error_reporting_all"]=> string(2) "no" } ["log"]=> array(3) { ["archive"]=> string(1) "1" ["maxsize"]=> string(8) "10485760" ["filter"]=> int(24575) } ["database"]=> array(12) { ["host"]=> string(9) "localhost" ["port"]=> string(4) "3306" ["user"]=> NULL ["password"]=> NULL ["db"]=> NULL ["driver"]=> string(5) "mysql" ["charset"]=> string(7) "utf8mb4" ["collate"]=> string(18) "utf8mb4_unicode_ci" ["engine"]=> string(6) "InnoDB" ["tbl_prefix"]=> string(4) "sym_" ["query_caching"]=> string(2) "on" ["query_logging"]=> string(2) "on" } ["public"]=> array(1) { ["display_event_xml_in_source"]=> string(2) "no" } ["general"]=> array(2) { ["sitename"]=> string(12) "Symphony CMS" ["useragent"]=> string(14) "Symphony/3.0.0" } ["file"]=> array(1) { ["write_mode"]=> string(4) "0644" } ["directory"]=> array(1) { ["write_mode"]=> string(4) "0755" } ["region"]=> array(4) { ["time_format"]=> string(5) "g:i a" ["date_format"]=> string(5) "m/d/Y" ["datetime_separator"]=> string(1) " " ["timezone"]=> NULL } ["cache_driver"]=> array(1) { ["default"]=> string(8) "database" } }
from symphonycms.
Related Issues (20)
- Unable to upload any media HOT 4
- Fatal Error: DatabaseException - SELECT SQL_CACHE- The query cache is deprecated as of MySQL 5.7.20, and is removed in MySQL 8.0. HOT 6
- Symphony Deprecated Warning: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated HOT 2
- After successful, bare install of 3.0.0, clicking on Preferences -> Trying to access array offset on value of type null error
- Index column size too large. The maximum column size is 767 bytes
- call_user_func() expects parameter 1
- XSS vulnerability HOT 1
- vendor directory missing from 3.0.0 branch HOT 4
- Handle creation is broken in 2.7 HOT 4
- Error updating from 2.6.11 > 2.7.10 HOT 2
- XXE Vulnerability HOT 1
- Another Error updating Symphony 2.7.10 —> 3.0.0 in PHP 7+
- Login button touching password field
- Entries list .actions has no padding - missing body class .page-index
- Spaces missing in different PHP version HOT 3
- A htaccess file in root directory before Symphony CMS install
- Future of Symphony CMS HOT 13
- MySQL v8 Errors HOT 1
- The website is down HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from symphonycms.