#4627 - Can't install v11 after git

  • By
  • Added
  • 6 views
Identifier #4627
Issue type Minor issue (breaks specific functionality)
Title Can't install v11 after git
Status Completed
Handling member Chris Graham
Addon General / Uncategorised
Description After a clone of the v11 branch to a test server (shared), installation fails.
Steps to reproduce

-- [muchrgvj@server261 public_html]$ ls

cgi-bin

-- [muchrgvj@server261 public_html]$ git config --global core.compression 0

-- [muchrgvj@server261 public_html]$ git clone --branch v11 https://gitlab.com/composr-foundation/composr.git

Cloning into 'composr'...

remote: Enumerating objects: 1200, done.

remote: Counting objects: 100% (1200/1200), done.

remote: Compressing objects: 100% (785/785), done.

remote: Total 257872 (delta 614), reused 783 (delta 415), pack-reused 256672

Receiving objects: 100% (257872/257872), 455.73 MiB | 20.73 MiB/s, done.

Resolving deltas: 100% (216518/216518), done.

Updating files: 100% (16538/16538), done.

-- In cPanel, I moved all files up one level into public_html so that we're running in /home/muchrgvj/public_html

-- In a browser, go to the test server: https://muchness.farm/

-- In the browser, we get:

Critical error – bailing out

The top-level configuration file (_config.php) is missing. You probably have not yet installed, so run the installer.

Details here are intended only for the website/system-administrator, not for regular website users.

» If you are a regular website user, please let the website staff deal with this problem.

Depending on the error, and only if the website installation finished, you may need to edit the installation options (the _config.php file).

ocProducts maintains full documentation for all procedures and tools (including disaster recovery). These may be found on the Composr website. If you are unable to easily solve this problem, we may be contacted from our website and can help resolve it for you.

-- In error_log we have:

[26-Mar-2021 15:52:37 America/New_York] Composr critical error: The top-level configuration file (<kbd>_config.php</kbd>) is missing. You probably have not yet installed, so <a href="install.php">run the installer</a>.

-- [muchrgvj@server261 public_html]$ ls config*

config_editor.php

-- Let's run the installer in the browser: https://muchness.farm/install.php

Fatal error: Uncaught TypeError: Argument 9 passed to _do_tags_comcode() must be an object, null given, called in /home/muchrgvj/public_html/sources/comcode_compiler.php on line 1658 and defined in /home/muchrgvj/public_html/sources/comcode_renderer.php:638 Stack trace: #0 /home/muchrgvj/public_html/sources/comcode_compiler.php(1658): _do_tags_comcode('tt', Array, Object(Tempcode), true, '186368375', 184, 0, false, NULL, 'Your server has...', false, false, Array, NULL, false, false, false) #1 /home/muchrgvj/public_html/sources/comcode_renderer.php(323): __comcode_to_tempcode('Your server has...', 0, false, '186368375', NULL, 0, Array, NULL) #2 /home/muchrgvj/public_html/sources/comcode.php(229): _comcode_to_tempcode('Your server has...', 0, false, NULL, NULL, 0, Array, NULL) #3 /home/muchrgvj/public_html/install.php(1722): comcode_to_tempcode('Your server has...') #4 /home/muchrgvj/public_html/install.php(418): installer_health_checks() #5 /home/muchrgvj/public_html/install.php(170): step_1() #6 {main} thrown in /home/muchrgvj/public_html/sources/comcode_renderer.php on line 638

Fatal error: Uncaught Error: Call to undefined function get_option() in /home/muchrgvj/public_html/sources/hooks/systems/contentious_overrides/configured.php:46 Stack trace: #0 /home/muchrgvj/public_html/sources/tempcode_compiler.php(253): Hook_contentious_overrides_configured->compile_template('{$BROWSER,chrom...', 'no_cache', 'default', 'EN', '.css', '/css/') #1 /home/muchrgvj/public_html/sources/tempcode_compiler.php(1198): compile_template('{$BROWSER,chrom...', 'no_cache', 'default', 'EN', false, NULL, NULL, '.css', '/css/') #2 /home/muchrgvj/public_html/sources/tempcode_compiler.php(1152): template_to_tempcode('{$BROWSER,chrom...', 0, false, 'no_cache', 'default', 'EN', false, NULL, '.css', '/css/') #3 /home/muchrgvj/public_html/sources/minikernel.php(558): _do_template('default', '/css/', 'no_cache', 'no_cache', 'EN', '.css') #4 /home/muchrgvj/public_html/sources/minikernel.php(675): fatal_exit('PHP [1] Uncaugh...') #5 /home/muchrgvj/public_html/sources/minikernel.php(624): composr_error_handler(1, 'Uncaught TypeEr. in /home/muchrgvj/public_html/sources/hooks/systems/contentious_overrides/configured.php on line 46

-- In error_log we have:

[26-Mar-2021 19:55:14 UTC] PHP Fatal error: Uncaught TypeError: Argument 9 passed to _do_tags_comcode() must be an object, null given, called in /home/muchrgvj/public_html/sources/comcode_compiler.php on line 1658 and defined in /home/muchrgvj/public_html/sources/comcode_renderer.php:638

Stack trace:

#0 /home/muchrgvj/public_html/sources/comcode_compiler.php(1658): _do_tags_comcode('tt', Array, Object(Tempcode), true, '1281882387', 184, 0, false, NULL, 'Your server has...', false, false, Array, NULL, false, false, false)

#1 /home/muchrgvj/public_html/sources/comcode_renderer.php(323): __comcode_to_tempcode('Your server has...', 0, false, '1281882387', NULL, 0, Array, NULL)

#2 /home/muchrgvj/public_html/sources/comcode.php(229): _comcode_to_tempcode('Your server has...', 0, false, NULL, NULL, 0, Array, NULL)

#3 /home/muchrgvj/public_html/install.php(1722): comcode_to_tempcode('Your server has...')

#4 /home/muchrgvj/public_html/install.php(418): installer_health_checks()

#5 /home/muchrgvj/public_html/install.php(170): step_1()

#6 {main}

thrown in /home/muchrgvj/public_html/sources/comcode_renderer.php on line 638

[26-Mar-2021 19:55:45 UTC] PHP Fatal error: Uncaught TypeError: Argument 9 passed to _do_tags_comcode() must be an object, null given, called in /home/muchrgvj/public_html/sources/comcode_compiler.php on line 1658 and defined in /home/muchrgvj/public_html/sources/comcode_renderer.php:638

Stack trace:

#0 /home/muchrgvj/public_html/sources/comcode_compiler.php(1658): _do_tags_comcode('tt', Array, Object(Tempcode), true, '186368375', 184, 0, false, NULL, 'Your server has...', false, false, Array, NULL, false, false, false)

#1 /home/muchrgvj/public_html/sources/comcode_renderer.php(323): __comcode_to_tempcode('Your server has...', 0, false, '186368375', NULL, 0, Array, NULL)

#2 /home/muchrgvj/public_html/sources/comcode.php(229): _comcode_to_tempcode('Your server has...', 0, false, NULL, NULL, 0, Array, NULL)

#3 /home/muchrgvj/public_html/install.php(1722): comcode_to_tempcode('Your server has...')

#4 /home/muchrgvj/public_html/install.php(418): installer_health_checks()

#5 /home/muchrgvj/public_html/install.php(170): step_1()

#6 {main}

thrown in /home/muchrgvj/public_html/sources/comcode_renderer.php on line 638

-- _config.php still does not exist. Let's copy _config.php.template to _config.php

-- [muchrgvj@server261 public_html]$ ls _config*

_config.php

_config.php.template

-- Let's clear out the error.log: rm error.log

-- And go back in the browser to index.php

Browser's screen is blank after a reload of index.php

-- Let's load up install.php in the browser

-- The browser gives us this:

Fatal error: Uncaught TypeError: Argument 9 passed to _do_tags_comcode() must be an object, null given, called in /home/muchrgvj/public_html/sources/comcode_compiler.php on line 1658 and defined in /home/muchrgvj/public_html/sources/comcode_renderer.php:638 Stack trace: #0 /home/muchrgvj/public_html/sources/comcode_compiler.php(1658): _do_tags_comcode('tt', Array, Object(Tempcode), true, '454609425', 184, 0, false, NULL, 'Your server has...', false, false, Array, NULL, false, false, false) #1 /home/muchrgvj/public_html/sources/comcode_renderer.php(323): __comcode_to_tempcode('Your server has...', 0, false, '454609425', NULL, 0, Array, NULL) #2 /home/muchrgvj/public_html/sources/comcode.php(229): _comcode_to_tempcode('Your server has...', 0, false, NULL, NULL, 0, Array, NULL) #3 /home/muchrgvj/public_html/install.php(1722): comcode_to_tempcode('Your server has...') #4 /home/muchrgvj/public_html/install.php(418): installer_health_checks() #5 /home/muchrgvj/public_html/install.php(170): step_1() #6 {main} thrown in /home/muchrgvj/public_html/sources/comcode_renderer.php on line 638

Fatal error: Uncaught Error: Call to undefined function get_option() in /home/muchrgvj/public_html/sources/hooks/systems/contentious_overrides/configured.php:46 Stack trace: #0 /home/muchrgvj/public_html/sources/tempcode_compiler.php(253): Hook_contentious_overrides_configured->compile_template('{$BROWSER,chrom...', 'no_cache', 'default', 'EN', '.css', '/css/') #1 /home/muchrgvj/public_html/sources/tempcode_compiler.php(1198): compile_template('{$BROWSER,chrom...', 'no_cache', 'default', 'EN', false, NULL, NULL, '.css', '/css/') #2 /home/muchrgvj/public_html/sources/tempcode_compiler.php(1152): template_to_tempcode('{$BROWSER,chrom...', 0, false, 'no_cache', 'default', 'EN', false, NULL, '.css', '/css/') #3 /home/muchrgvj/public_html/sources/minikernel.php(558): _do_template('default', '/css/', 'no_cache', 'no_cache', 'EN', '.css') #4 /home/muchrgvj/public_html/sources/minikernel.php(675): fatal_exit('PHP [1] Uncaugh...') #5 /home/muchrgvj/public_html/sources/minikernel.php(624): composr_error_handler(1, 'Uncaught TypeEr. in /home/muchrgvj/public_html/sources/hooks/systems/contentious_overrides/configured.php on line 46

-- error.log gives us this:

[26-Mar-2021 20:07:48 UTC] PHP Fatal error: Uncaught TypeError: Argument 9 passed to _do_tags_comcode() must be an object, null given, called in /home/muchrgvj/public_html/sources/comcode_compiler.php on line 1658 and defined in /home/muchrgvj/public_html/sources/comcode_renderer.php:638

Stack trace:

#0 /home/muchrgvj/public_html/sources/comcode_compiler.php(1658): _do_tags_comcode('tt', Array, Object(Tempcode), true, '1736382113', 184, 0, false, NULL, 'Your server has...', false, false, Array, NULL, false, false, false)

#1 /home/muchrgvj/public_html/sources/comcode_renderer.php(323): __comcode_to_tempcode('Your server has...', 0, false, '1736382113', NULL, 0, Array, NULL)

#2 /home/muchrgvj/public_html/sources/comcode.php(229): _comcode_to_tempcode('Your server has...', 0, false, NULL, NULL, 0, Array, NULL)

#3 /home/muchrgvj/public_html/install.php(1722): comcode_to_tempcode('Your server has...')

#4 /home/muchrgvj/public_html/install.php(418): installer_health_checks()

#5 /home/muchrgvj/public_html/install.php(170): step_1()

#6 {main}

thrown in /home/muchrgvj/public_html/sources/comcode_renderer.php on line 638

Additional information I have also edited _config.php and added the database/user information, and the other items that would be normal for a composr installation, but the same errors exist.
Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated