Coder Social home page Coder Social logo

Comments (6)

nitriques avatar nitriques commented on June 20, 2024 2

@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.

nitriques avatar nitriques commented on June 20, 2024

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.

bzerangue avatar bzerangue commented on June 20, 2024

@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.

nitriques avatar nitriques commented on June 20, 2024

Thanks @bzerangue for reporting.

from symphonycms.

wdebusschere avatar wdebusschere commented on June 20, 2024

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.

wdebusschere avatar wdebusschere commented on June 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.