View Issue Details

IDProjectCategoryView StatusLast Update
4627Composr alpha bug reportsGeneral / Uncategorisedpublic2021-03-28 03:09
ReporterMalatesa Assigned ToChris Graham  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Summary4627: Can't install v11 after git
DescriptionAfter 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 install.php.

-- [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 InformationI 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.
TagsNo tags attached.
Attach Tags
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2021-03-27 03:49

administrator   ~7035

Thanks. Fixed these issues.

Malatesa

2021-03-27 08:21

reporter   ~7036

-- Updating v11 branch on test server with: git pull

-- Launching index.php yields:
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.

-- Launching install.php yields...
An error has occurred

PHP [1] Uncaught Error: Call to undefined function ocp_is_escaped() in /home/muchrgvj/public_html/sources/tempcode.php:2752 Stack trace: #0 /home/muchrgvj/public_html/sources/symbols.php(369): apply_tempcode_substitutions('<img class="ico...', Array) #1 /home/muchrgvj/public_html/sources/tempcode.php(2540) : eval()'d code(12): ecv('EN', Array, 4, 'INCLUDE', Array, 'INSTALLER_STEP_...') 2 /home/muchrgvj/public_html/sources/tempcode.php(2412): {closure}(Array, 'EN', '') 3 /home/muchrgvj/public_html/sources/tempcode.php(181): Tempcode->evaluate() 4 /home/muchrgvj/public_html/sources/tempcode.php(2540) : eval()'d code(34): otp(Object(Tempcode), 'INSTALLER_HTML_...') 5 /home/muchrgvj/public_html/sources/tempcode.php(2506): {closure}(Array, 'EN', '') 6 /home/muchrgvj/public_html/install.php(246): Tempcode->evaluate_echo() 7 {main} thrown
Here is the stack trace:

Below is a stack trace revealing the state Composr was in when the error occurred. If this represents a bug in the unmodified software, you may want to check Composr website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologize for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.
File '/home/muchrgvj/public_html/sources/minikernel.php'
Line '546'
Function 'get_html_trace'
Args
File '/home/muchrgvj/public_html/sources/minikernel.php'
Line '675'
Function 'fatal_exit'
Args

'PHP [1] Uncaught Error: Call to undefined function ocp_is_escaped() in /home/muchrgvj/public_html/sources/tempcode.php:2752 Stack trace: #0 /home/muchrgvj/public_html/sources/symbols.php(369): apply_tempcode_substitutions(\'<img class="ico...\', Array) #1 /home/muchrgvj/public_html/sources/tempcode.php(2540) : eval()\'d code(12): ecv(\'EN\', Array, 4, \'INCLUDE\', Array, \'INSTALLER_STEP_...\') 2 /home/muchrgvj/public_html/sources/tempcode.php(2412): {closure}(Array, \'EN\', \'\') 3 /home/muchrgvj/public_html/sources/tempcode.php(181): Tempcode->evaluate() 4 /home/muchrgvj/public_html/sources/tempcode.php(2540) : eval()\'d code(34): otp(Object(Tempcode), \'INSTALLER_HTML_...\') 5 /home/muchrgvj/public_html/sources/tempcode.php(2506): {closure}(Array, \'EN\', \'\') 6 /home/muchrgvj/public_html/install.php(246): Tempcode->evaluate_echo() 7 {main} thrown'
File '/home/muchrgvj/public_html/sources/minikernel.php'
Line '624'
Function 'composr_error_handler'
Args

1

'Uncaught Error: Call to undefined function ocp_is_escaped() in /home/muchrgvj/public_html/sources/tempcode.php:2752 Stack trace: #0 /home/muchrgvj/public_html/sources/symbols.php(369): apply_tempcode_substitutions(\'<img class="ico...\', Array) #1 /home/muchrgvj/public_html/sources/tempcode.php(2540) : eval()\'d code(12): ecv(\'EN\', Array, 4, \'INCLUDE\', Array, \'INSTALLER_STEP_...\') 2 /home/muchrgvj/public_html/sources/tempcode.php(2412): {closure}(Array, \'EN\', \'\') 3 /home/muchrgvj/public_html/sources/tempcode.php(181): Tempcode->evaluate() 4 /home/muchrgvj/public_html/sources/tempcode.php(2540) : eval()\'d code(34): otp(Object(Tempcode), \'INSTALLER_HTML_...\') 5 /home/muchrgvj/public_html/sources/tempcode.php(2506): {closure}(Array, \'EN\', \'\') 6 /home/muchrgvj/public_html/install.php(246): Tempcode->evaluate_echo() 7 {main} thrown'

'/home/muchrgvj/public_html/sources/tempcode.php'

2752
Function 'catch_fatal_errors'
Args

Version 11 alpha1
Composr, created by ocProducts

-- error_log says:
[27-Mar-2021 08:19:25 UTC] PHP Fatal error: Uncaught Error: Call to undefined function ocp_is_escaped() in /home/muchrgvj/public_html/sources/tempcode.php:2752
Stack trace:
#0 /home/muchrgvj/public_html/sources/symbols.php(369): apply_tempcode_substitutions('<img class="ico...', Array)
#1 /home/muchrgvj/public_html/sources/tempcode.php(2540) : eval()'d code(12): ecv('EN', Array, 4, 'INCLUDE', Array, 'INSTALLER_STEP_...')
2 /home/muchrgvj/public_html/sources/tempcode.php(2412): {closure}(Array, 'EN', '')
3 /home/muchrgvj/public_html/sources/tempcode.php(181): Tempcode->evaluate()
4 /home/muchrgvj/public_html/sources/tempcode.php(2540) : eval()'d code(34): otp(Object(Tempcode), 'INSTALLER_HTML_...')
5 /home/muchrgvj/public_html/sources/tempcode.php(2506): {closure}(Array, 'EN', '')
6 /home/muchrgvj/public_html/install.php(246): Tempcode->evaluate_echo()
7 {main}
  thrown in /home/muchrgvj/public_html/sources/tempcode.php on line 2752

https://compo.sr

Chris Graham

2021-03-28 03:09

administrator   ~7037

Thanks. Fixed.

Issue History

Date Modified Username Field Change
2021-03-26 20:11 Malatesa New Issue
2021-03-27 03:49 Chris Graham Assigned To => Chris Graham
2021-03-27 03:49 Chris Graham Status Not Assigned => Resolved
2021-03-27 03:49 Chris Graham Resolution open => fixed
2021-03-27 03:49 Chris Graham Note Added: 0007035
2021-03-27 08:21 Malatesa Status Resolved => Not Assigned
2021-03-27 08:21 Malatesa Resolution fixed => reopened
2021-03-27 08:21 Malatesa Note Added: 0007036
2021-03-28 03:09 Chris Graham Note Added: 0007037
2021-03-28 03:09 Chris Graham Status Not Assigned => Resolved
2021-03-28 03:09 Chris Graham Resolution reopened => fixed
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised