Ahhh, how exciting once again: a new version of Composr to kick the tires of!!
The last time I took the package for a complete test spin was ocPortal V3 beta IIRC, many moons ago.
This report surrounds the install process and with the exceptions noted in the report, I left everything else as default. My next report will be from a customized install for comparison purposes.
Database: mysql Ver 15.1 Distrib 10.6.11-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper mysqladmin Ver 9.1 Distrib 10.6.11-MariaDB, for debian-linux-gnu on x86_64
Web Server: Server version: Apache/2.4.52 (Ubuntu) Server built: 2023-01-23T18:34:42
tried using the same password for all accounts including database and was presented with an error
step #5 noted I used the root account for the database and wouldn't let me proceed further. Suggestion here: a link or some other mechanism to allow the user to return to step #4 easily. As it stands now, it's browser back button then page refresh which might freak out some users.
Image
2023-02-20_09-39.png
Created a database and user for the install and all went well from here on in.
Image
2023-02-20_09-53.png
All screens produced the following in the error log:
[Mon Feb 20 09:26:48.477960 2023] [php:error] [pid 247952] [client 192.168.152.200:39928] PHP Fatal error: Uncaught Error: Call to undefined function file_array_get() in /var/www/area11/install.php:3032\nStack trace:\n#0 /var/www/area11/install.php(155): handle_self_referencing_embedment()\n#1 {main}\n thrown in /var/www/area11/install.php on line 3032, referer:
Code (php)
[Mon Feb 20 09:33:23.936134 2023] [php:error] [pid 247887] [client 192.168.152.200:39938] PHP Fatal error: Uncaught Error: Call to undefined function file_array_get() in /var/www/area11/install.php:3032\nStack trace:\n#0 /var/www/area11/install.php(155): handle_self_referencing_embedment()\n#1 {main}\n thrown in /var/www/area11/install.php on line 3032, referer:
Code (php)
[Mon Feb 20 09:33:27.566443 2023] [php:error] [pid 245382] [client 192.168.152.200:39940] PHP Fatal error: Uncaught Error: Call to undefined function file_array_get() in /var/www/area11/install.php:3032\nStack trace:\n#0 /var/www/area11/install.php(155): handle_self_referencing_embedment()\n#1 {main}\n thrown in /var/www/area11/install.php on line 3032, referer:
Code (php)
[Mon Feb 20 09:41:11.079739 2023] [php:error] [pid 247891] [client 192.168.152.200:39990] PHP Fatal error: Uncaught Error: Call to undefined function file_array_get() in /var/www/area11/install.php:3032\nStack trace:\n#0 /var/www/area11/install.php(155): handle_self_referencing_embedment()\n#1 {main}\n thrown in /var/www/area11/install.php on line 3032, referer:
Code (php)
[Mon Feb 20 09:41:38.903104 2023] [php:error] [pid 247887] [client 192.168.152.200:39998] PHP Fatal error: Uncaught Error: Call to undefined function file_array_get() in /var/www/area11/install.php:3032\nStack trace:\n#0 /var/www/area11/install.php(155): handle_self_referencing_embedment()\n#1 {main}\n thrown in /var/www/area11/install.php on line 3032, referer:
Code (php)
[Mon Feb 20 09:42:13.341885 2023] [php:error] [pid 245387] [client 192.168.152.200:40006] PHP Fatal error: Uncaught Error: Call to undefined function file_array_get() in /var/www/area11/install.php:3032\nStack trace:\n#0 /var/www/area11/install.php(155): handle_self_referencing_embedment()\n#1 {main}\n thrown in /var/www/area11/install.php on line 3032, referer:
Code (php)
[Mon Feb 20 09:43:02.194045 2023] [php:error] [pid 247952] [client 192.168.152.200:40014] PHP Fatal error: Uncaught Error: Call to undefined function file_array_get() in /var/www/area11/install.php:3032\nStack trace:\n#0 /var/www/area11/install.php(155): handle_self_referencing_embedment()\n#1 {main}\n thrown in /var/www/area11/install.php on line 3032, referer:
Code (php)
[Mon Feb 20 09:44:10.765354 2023] [php:error] [pid 245382] [client 192.168.152.200:40022] PHP Fatal error: Uncaught Error: Call to undefined function file_array_get() in /var/www/area11/install.php:3032\nStack trace:\n#0 /var/www/area11/install.php(155): handle_self_referencing_embedment()\n#1 {main}\n thrown in /var/www/area11/install.php on line 3032, referer:
Code (php)
[Mon Feb 20 09:44:20.790517 2023] [php:error] [pid 245384] [client 192.168.152.200:40030] PHP Fatal error: Uncaught Error: Call to undefined function file_array_get() in /var/www/area11/install.php:3032\nStack trace:\n#0 /var/www/area11/install.php(155): handle_self_referencing_embedment()\n#1 {main}\n thrown in /var/www/area11/install.php on line 3032, referer:
Code (php)
[Mon Feb 20 09:44:32.049246 2023] [php:error] [pid 247901] [client 192.168.152.200:40040] PHP Fatal error: Uncaught Error: Call to undefined function file_array_get() in /var/www/area11/install.php:3032\nStack trace:\n#0 /var/www/area11/install.php(155): handle_self_referencing_embedment()\n#1 {main}\n thrown in /var/www/area11/install.php on line 3032, referer:
Code (php)
Moving to finalizing step #10 resulted in the following in the logs repeated at least 20 times:
Code
sh: 1: /usr/sbin/sendmail: not found
I should also note here that based on a previous install experience that didn't go so well (mostly due to my virtual machine setup), I manually created .htaccess in the installation root as it is not present and does cause the wizard to fail on the last step with out it producing the following:
PHP WARNING [2] fopen(.htaccess) [<a href='http://php.net/manual/en/function.fopen.php'>function.fopen.php</a>]: Failed to open stream: No such file or directory in sources/global3.php on line 377 (version: 11 alpha1, PHP version: 8.1.2-1ubuntu2.10, URL: http://area11.cato/adminzone/index.php?page=admin-setupwizard&type=step10)
General items of note:
this might be confusing for folks as the text does not match the options available
Image
2023-02-20_09-50.png
the prompt to run the setup wizard does not go away after apparent successful completion, present on all adminzone top level screens
Image
2023-02-20_09-55.png
sample of the aforementioned logged errors
Image
2023-02-20_10-14.png
All in all and excellent experience which also shows the strength and maturity of the Composr codebase. Looking forward to rollin' up the virtual sleeves and diggin' in!
Thank you for testing out v11 and presenting your findings! The corrupt files list can be ignored for now; it's because the files.bin checksums are not generated every time we commit changes for v11. So Composr thinks you have corrupted files.
file_array_get() is a special function that exists within the quick installer. Seems to potentially be missing elsewhere, such as the manual installer. I'll investigate. It's only supposed to exist within the quick installer, so that means the function is being called in error when it does not exist. Will investigate further.
the sendmail error was probably because Composr was trying to e-mail you those other errors. And you haven't yet set up SMTP yet as you don't have sendmail available.
Did the install fail to create .htaccess this time around? If so I'll look into it. It probably should copy recommended.htaccess into .htaccess when it does not already exist (and creating the file if it is not there). I'll look into possibly modifying that behaviour.
The accept user submissions and install test content settings are odd. Is this the Setup Wizard? I'll check into it.
Setup Wizard is supposed to be saving a hidden value upon completion to make that message go away. It does not seem to be happening, so I'll look into that.
I'll update you when these issues have been addressed so you can confirm whether or not the fixes work on your end.
Did the install fail to create .htaccess this time around? If so I'll look into it. It probably should copy recommended.htaccess into .htaccess when it does not already exist (and creating the file if it is not there). I'll look into possibly modifying that behaviour.
I jumped ahead and created it myself as the previous install in the busted virtual machine did not. I'm going to run two more installs today, one just changing the database info and admin passwords and the second I'll run as if I was setting up a site and customizing during install. That way we'll have a solid idea of what's happening and I'll also be able to rule out my virtual machine as the culprit.
The accept user submissions and install test content settings are odd. Is this the Setup Wizard? I'll check into it.
Correct, setup wizard. There used to be the two choices there, full guest and single site IIRC.
I'll update you when these issues have been addressed so you can confirm whether or not the fixes work on your end.
changed only the passwords and database information on screen #4 and let the rest of the installation proceed automagically which it did without error.
clicked “Go to my new website now” which resulted in the setup wizard starting as expected
upon clicking Proceed on the last screen, step 9 to 10, the page hangs for approx. 2 mins then produces the following:
An error has occurred
PHP WARNING [2] fopen(.htaccess) [<a href='http://php.net/manual/en/function.fopen.php'>function.fopen.php</a>]: Failed to open stream: No such file or directory in sources/global3.php on line 377 (version: 11 alpha1, PHP version: 8.1.2-1ubuntu2.10, URL: http://area11.cato/adminzone/index.php?page=admin-setupwizard&type=step10)
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 apologise 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 '/var/www/area11/sources/failure.php' Line 544 Function 'get_html_trace' Args File '/var/www/area11/sources/failure.php' Line 316 Function '_generic_exit' Args
'PHP WARNING [2] fopen(.htaccess) [<a href='http://php.net/manual/en/function.fopen.php'>function.fopen.php</a>]: Failed to open stream: No such file or directory in sources/global3.php on line 377 (version: 11 alpha1, PHP version: 8.1.2-1ubuntu2.10, URL: http://area11.cato/adminzone/index.php?page=admin-setupwizard&type=step10)'
'FATAL_SCREEN'
false
false
500 File '/var/www/area11/sources/global2.php' Line 1,424 Function '_composr_error_handler' Args
'warning'
2
'fopen(.htaccess) [<a href='http://php.net/manual/en/function.fopen.php'>function.fopen.php</a>]: Failed to open stream: No such file or directory'
'sources/global3.php'
377
4
'FATAL' Function 'composr_error_handler' Args
2
'fopen(/var/www/area11/.htaccess) [<a href='http://php.net/manual/en/function.fopen.php'>function.fopen.php</a>]: Failed to open stream: No such file or directory'
'sources/global3.php'
377 File '/var/www/area11/sources/global3.php' Line 377 Function 'fopen' Args
'/var/www/area11/.htaccess'
'rb' File '/var/www/area11/sources/two_factor.php' Line 116 Function 'cms_file_get_contents_safe' Args
'/var/www/area11/.htaccess'
1 File '/var/www/area11/sources/hooks/systems/config/maintenance_script_htaccess.php' Line 74 Function 'adjust_htaccess' Args File '/var/www/area11/sources/config2.php' Line 500 Function 'postsave_handler' Class 'Hook_config_maintenance_script_htaccess' Object {} Type '->' Args
'' File '/var/www/area11/sources/config.php' Line 452 Function 'set_option' Args
'maintenance_script_htaccess'
''
0 File '/var/www/area11/sources/config2.php' Line 423 Function 'get_option' Args
'maintenance_script_htaccess' File '/var/www/area11/adminzone/pages/modules/admin_setupwizard.php' Line 1,264 Function 'set_option' Args
'maintenance_script_htaccess'
'0' File '/var/www/area11/adminzone/pages/modules/admin_setupwizard.php' Line 160 Function 'step10' Class 'Module_admin_setupwizard' Object {"title":{"code_to_preexecute":{"tcpfunc_63f6301dd95a55.46787809_1":"$tpl_funcs['tcpfunc_63f6301dd95a55.46787809_1']=$KEEP_TPL_FUNCS['tcpfunc_63f6301dd95a55.46787809_1']=recall_named_function('63f6301dd95b21.77981109','$parameters,$cl',\"extract(\\$parameters,EXTR_PREFIX_ALL,'bound'); echo \\\"<h1 class=\\\\\\\"screen-title\\\",\\n\t(isset(\\$bound_CLASS)?(\\\" \\\".(empty(\\$bound_CLASS->pure_lang)?@htmlspecialchars(otp(isset(\\$bound_CLASS)?\\$bound_CLASS:null,\\\"SCREEN_TITLE:CLASS\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\$bound_CLASS)?\\$bound_CLASS:null,\\\"SCREEN_TITLE:CLASS\\\"))):''),\\n\t\\\"\\\\\\\"\\\",\\n\t((ecv_NOT(\\$cl,[],[ecv_GET(\\$cl,[],[\\\"name_set_elsewhere\\\"])])==\\\"1\\\")?(\\\" itemprop=\\\\\\\"name\\\\\\\"\\\"):''),\\n\t\\\">\\\\n\t\\\",\\n\t(isset(\\$bound_ID)?(\\\"\\\\n\t\t<a id=\\\\\\\"title--\\\".(empty(\\$bound_ID->pure_lang)?@htmlspecialchars(otp(isset(\\$bound_ID)?\\$bound_ID:null,\\\"SCREEN_TITLE:ID\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\$bound_ID)?\\$bound_ID:null,\\\"SCREEN_TITLE:ID\\\")).\\\"\\\\\\\"><\/a>\\\\n\t\\\"):''),\\n\t\\\"\\\\n\\\\n\t\\\",\\n\totp(isset(\\$bound_TITLE)?\\$bound_TITLE:null,\\\"SCREEN_TITLE:TITLE\\\"),\\n\t\\\"\\\\n\\\\n\t\\\",\\n\t(isset(\\$bound_AWARDS)?(\\\"\\\\n\t\t\\\".((otp(isset(\\$bound_AWARDS)?\\$bound_AWARDS:null,\\\"SCREEN_TITLE:AWARDS\\\")!='')?(\\\"\\\\n\t\t\t\\\".ecv(\\$cl,[],4,\\\"SET\\\",[\\\"AWARDS_TEXT\\\",\\\"\\\\n\t\t\t\t<h2>Award winner<\/h2>\\\\n\t\t\t\t<p class=\\\\\\\"lonely-label\\\\\\\">\\\".ecv(\\$cl,[],2,\\\"AWARDS_WON\\\",[otp(isset(\\$bound_AWARDS)?\\$bound_AWARDS:null,\\\"SCREEN_TITLE:AWARDS\\\")]).\\\"<\/p>\\\\n\t\t\t\t<ul>\\\\n\t\t\t\t\t\\\".closure_loop([\\\"AWARDS\\\",'vars'=>\\$parameters],[\\$parameters,\\$cl],\\nrecall_named_function('63f6301dd8ee53.04247629','\\$parameters,\\$cl',\\\"extract(\\\\\\$parameters,EXTR_PREFIX_ALL,'bound'); return \\\\\\\"\\\\\\\\n\t\t\t\t\t\t<li>\\\\\\\\n\t\t\t\t\t\t\t<strong>\\\\\\\".(empty(\\\\\\$bound_AWARD_TYPE->pure_lang)?@htmlspecialchars(otp(isset(\\\\\\$bound_AWARD_TYPE)?\\\\\\$bound_AWARD_TYPE:null,\\\\\\\"SCREEN_TITLE:AWARD_TYPE\\\\\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\\\\\$bound_AWARD_TYPE)?\\\\\\$bound_AWARD_TYPE:null,\\\\\\\"SCREEN_TITLE:AWARD_TYPE\\\\\\\")).\\\\\\\"<\/strong>\\\\\\\\n\t\t\t\t\t\t\t<span>\\\\\\\".ecv(\\\\\\$cl,[],2,\\\\\\\"AWARD_ON\\\\\\\",[ecv_DATE(\\\\\\$cl,[1],[\\\\\\\"1\\\\\\\",\\\\\\\"1\\\\\\\",\\\\\\\"1\\\\\\\",otp(isset(\\\\\\$bound_AWARD_TIMESTAMP)?\\\\\\$bound_AWARD_TIMESTAMP:null,\\\\\\\"SCREEN_TITLE:AWARD_TIMESTAMP\\\\\\\")])]).\\\\\\\"<\/span>\\\\\\\\n\t\t\t\t\t\t<\/li>\\\\\\\\n\t\t\t\t\t\\\\\\\";\\\")).\\\"\\\\n\t\t\t\t<\/ul>\\\\n\t\t\t\\\"],\\\"SCREEN_TITLE\\\").\\\"\\\\n\t\t\t<a href=\\\\\\\"\\\".ecv_PAGE_LINK(\\$cl,[1],[\\\"_SEARCH:awards\\\"]).\\\"\\\\\\\"><img data-cms-tooltip=\\\\\\\"{ contents: '\\\".ecv_GET(\\$cl,[2,8,1],[\\\"AWARDS_TEXT\\\"]).\\\"', delay: 0 }\\\\\\\" title=\\\\\\\"\\\\\\\" alt=\\\\\\\"Award winner\\\\\\\" width=\\\\\\\"19\\\\\\\" height=\\\\\\\"25\\\\\\\" src=\\\\\\\"http:\/\/area11.cato\/themes\/default\/images\/awarded.svg\\\\\\\" \/><\/a>\\\\n\t\t\\\"):'').\\\"\\\\n\t\\\"):''),\\n\t\\\"\\\\n<\/h1>\\\\n\\\\n\\\",\\n\t(isset(\\$bound_SUB)?(\\\"\\\\n\t<div class=\\\\\\\"title-tagline\\\\\\\">\\\\n\t\t\\\".otp(isset(\\$bound_SUB)?\\$bound_SUB:null,\\\"SCREEN_TITLE:SUB\\\").\\\"\\\\n\t<\/div>\\\\n\\\"):''),\\n\t\\\"\\\\n\\\";\");"},"seq_parts":[[["tcpfunc_63f6301dd95a55.46787809_1",{"_GUID":"847ffbe4823eca6d2d5eac42828ee552","AWARDS":[],"TITLE":{"code_to_preexecute":{"do_runtime_63f630a6daa8f4.09492793_6":"$tpl_funcs['do_runtime_63f630a6daa8f4.09492793_6']=\"echo ecv(\\$cl,[],2,\\\"SETUPWIZARD\\\",[]);\";\n"},"seq_parts":[[["do_runtime_63f630a6daa8f4.09492793_6",[],2,"SETUPWIZARD",""]]],"codename":":container","pure_lang":true,"cached_output":"Setup Wizard"},"SUB":null},1,"",""]]],"codename":"SCREEN_TITLE"}} Type '->' Args File '/var/www/area11/sources/zones.php' Line 785 Function 'run' Class 'Module_admin_setupwizard' Object {"title":{"code_to_preexecute":{"tcpfunc_63f6301dd95a55.46787809_1":"$tpl_funcs['tcpfunc_63f6301dd95a55.46787809_1']=$KEEP_TPL_FUNCS['tcpfunc_63f6301dd95a55.46787809_1']=recall_named_function('63f6301dd95b21.77981109','$parameters,$cl',\"extract(\\$parameters,EXTR_PREFIX_ALL,'bound'); echo \\\"<h1 class=\\\\\\\"screen-title\\\",\\n\t(isset(\\$bound_CLASS)?(\\\" \\\".(empty(\\$bound_CLASS->pure_lang)?@htmlspecialchars(otp(isset(\\$bound_CLASS)?\\$bound_CLASS:null,\\\"SCREEN_TITLE:CLASS\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\$bound_CLASS)?\\$bound_CLASS:null,\\\"SCREEN_TITLE:CLASS\\\"))):''),\\n\t\\\"\\\\\\\"\\\",\\n\t((ecv_NOT(\\$cl,[],[ecv_GET(\\$cl,[],[\\\"name_set_elsewhere\\\"])])==\\\"1\\\")?(\\\" itemprop=\\\\\\\"name\\\\\\\"\\\"):''),\\n\t\\\">\\\\n\t\\\",\\n\t(isset(\\$bound_ID)?(\\\"\\\\n\t\t<a id=\\\\\\\"title--\\\".(empty(\\$bound_ID->pure_lang)?@htmlspecialchars(otp(isset(\\$bound_ID)?\\$bound_ID:null,\\\"SCREEN_TITLE:ID\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\$bound_ID)?\\$bound_ID:null,\\\"SCREEN_TITLE:ID\\\")).\\\"\\\\\\\"><\/a>\\\\n\t\\\"):''),\\n\t\\\"\\\\n\\\\n\t\\\",\\n\totp(isset(\\$bound_TITLE)?\\$bound_TITLE:null,\\\"SCREEN_TITLE:TITLE\\\"),\\n\t\\\"\\\\n\\\\n\t\\\",\\n\t(isset(\\$bound_AWARDS)?(\\\"\\\\n\t\t\\\".((otp(isset(\\$bound_AWARDS)?\\$bound_AWARDS:null,\\\"SCREEN_TITLE:AWARDS\\\")!='')?(\\\"\\\\n\t\t\t\\\".ecv(\\$cl,[],4,\\\"SET\\\",[\\\"AWARDS_TEXT\\\",\\\"\\\\n\t\t\t\t<h2>Award winner<\/h2>\\\\n\t\t\t\t<p class=\\\\\\\"lonely-label\\\\\\\">\\\".ecv(\\$cl,[],2,\\\"AWARDS_WON\\\",[otp(isset(\\$bound_AWARDS)?\\$bound_AWARDS:null,\\\"SCREEN_TITLE:AWARDS\\\")]).\\\"<\/p>\\\\n\t\t\t\t<ul>\\\\n\t\t\t\t\t\\\".closure_loop([\\\"AWARDS\\\",'vars'=>\\$parameters],[\\$parameters,\\$cl],\\nrecall_named_function('63f6301dd8ee53.04247629','\\$parameters,\\$cl',\\\"extract(\\\\\\$parameters,EXTR_PREFIX_ALL,'bound'); return \\\\\\\"\\\\\\\\n\t\t\t\t\t\t<li>\\\\\\\\n\t\t\t\t\t\t\t<strong>\\\\\\\".(empty(\\\\\\$bound_AWARD_TYPE->pure_lang)?@htmlspecialchars(otp(isset(\\\\\\$bound_AWARD_TYPE)?\\\\\\$bound_AWARD_TYPE:null,\\\\\\\"SCREEN_TITLE:AWARD_TYPE\\\\\\\"),ENT_QUOTES | ENT_SUBSTITUTE,get_charset()):otp(isset(\\\\\\$bound_AWARD_TYPE)?\\\\\\$bound_AWARD_TYPE:null,\\\\\\\"SCREEN_TITLE:AWARD_TYPE\\\\\\\")).\\\\\\\"<\/strong>\\\\\\\\n\t\t\t\t\t\t\t<span>\\\\\\\".ecv(\\\\\\$cl,[],2,\\\\\\\"AWARD_ON\\\\\\\",[ecv_DATE(\\\\\\$cl,[1],[\\\\\\\"1\\\\\\\",\\\\\\\"1\\\\\\\",\\\\\\\"1\\\\\\\",otp(isset(\\\\\\$bound_AWARD_TIMESTAMP)?\\\\\\$bound_AWARD_TIMESTAMP:null,\\\\\\\"SCREEN_TITLE:AWARD_TIMESTAMP\\\\\\\")])]).\\\\\\\"<\/span>\\\\\\\\n\t\t\t\t\t\t<\/li>\\\\\\\\n\t\t\t\t\t\\\\\\\";\\\")).\\\"\\\\n\t\t\t\t<\/ul>\\\\n\t\t\t\\\"],\\\"SCREEN_TITLE\\\").\\\"\\\\n\t\t\t<a href=\\\\\\\"\\\".ecv_PAGE_LINK(\\$cl,[1],[\\\"_SEARCH:awards\\\"]).\\\"\\\\\\\"><img data-cms-tooltip=\\\\\\\"{ contents: '\\\".ecv_GET(\\$cl,[2,8,1],[\\\"AWARDS_TEXT\\\"]).\\\"', delay: 0 }\\\\\\\" title=\\\\\\\"\\\\\\\" alt=\\\\\\\"Award winner\\\\\\\" width=\\\\\\\"19\\\\\\\" height=\\\\\\\"25\\\\\\\" src=\\\\\\\"http:\/\/area11.cato\/themes\/default\/images\/awarded.svg\\\\\\\" \/><\/a>\\\\n\t\t\\\"):'').\\\"\\\\n\t\\\"):''),\\n\t\\\"\\\\n<\/h1>\\\\n\\\\n\\\",\\n\t(isset(\\$bound_SUB)?(\\\"\\\\n\t<div class=\\\\\\\"title-tagline\\\\\\\">\\\\n\t\t\\\".otp(isset(\\$bound_SUB)?\\$bound_SUB:null,\\\"SCREEN_TITLE:SUB\\\").\\\"\\\\n\t<\/div>\\\\n\\\"):''),\\n\t\\\"\\\\n\\\";\");"},"seq_parts":[[["tcpfunc_63f6301dd95a55.46787809_1",{"_GUID":"847ffbe4823eca6d2d5eac42828ee552","AWARDS":[],"TITLE":{"code_to_preexecute":{"do_runtime_63f630a6daa8f4.09492793_6":"$tpl_funcs['do_runtime_63f630a6daa8f4.09492793_6']=\"echo ecv(\\$cl,[],2,\\\"SETUPWIZARD\\\",[]);\";\n"},"seq_parts":[[["do_runtime_63f630a6daa8f4.09492793_6",[],2,"SETUPWIZARD",""]]],"codename":":container","pure_lang":true,"cached_output":"Setup Wizard"},"SUB":null},1,"",""]]],"codename":"SCREEN_TITLE"}} Type '->' Args File '/var/www/area11/sources/site.php' Line 1,480 Function 'load_module_page' Args
'adminzone/pages/modules/admin_setupwizard.php'
'admin_setupwizard' File '/var/www/area11/sources/site.php' Line 1,095 Function 'request_page' Args
'admin_setupwizard'
true
'adminzone'
NULL
false
true File '/var/www/area11/adminzone/index.php' Line 59 Function 'do_site' Args
no .htaccess created:
ls -al | grep .htaccess -rw-rw-r– 1 www-data www-data 9942 Feb 18 03:45 recommended.htaccess
directory permissions
drwxrwxr-x 28 www-data www-data 4096 Feb 22 10:06 area11
Second install
changed passwords and database settings
customized for “community” along with a couple of other choices
Setup Wizard worked AOK until the same last step error:
An error has occurred
PHP WARNING [2] fopen(.htaccess) [<a href='http://php.net/manual/en/function.fopen.php'>function.fopen.php</a>]: Failed to open stream: No such file or directory in sources/global3.php on line 377 (version: 11 alpha1, PHP version: 8.1.2-1ubuntu2.10, URL: http://area11.cato/adminzone/index.php?page=admin-setupwizard&type=step10)
Confirming that .htaccess was not copied/generated during install
ls -al | grep .htaccess -rw-rw-r– 1 www-data www-data 9942 Feb 18 03:45 recommended.htaccess
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 apologise 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
'/var/www/area11/sources/failure.php'
Line
544
Function
'get_html_trace'
Args
File
'/var/www/area11/sources/failure.php'
Line
316
Function
'_generic_exit'
Args
'PHP WARNING [2] fopen(.htaccess) [<a href='http://php.net/manual/en/function.fopen.php'>function.fopen.php</a>]: Failed to open stream: No such file or directory in sources/global3.php on line 377 (version: 11 alpha1, PHP version: 8.1.2-1ubuntu2.10, URL: http://area11.cato/adminzone/index.php?page=admin-setupwizard&type=step10)'
'FATAL_SCREEN'
false
false
500
File
'/var/www/area11/sources/global2.php'
Line
1,424
Function
'_composr_error_handler'
Args
'warning'
2
'fopen(.htaccess) [<a href='http://php.net/manual/en/function.fopen.php'>function.fopen.php</a>]: Failed to open stream: No such file or directory'
'sources/global3.php'
377
4
'FATAL'
Function
'composr_error_handler'
Args
2
'fopen(/var/www/area11/.htaccess) [<a href='http://php.net/manual/en/function.fopen.php'>function.fopen.php</a>]: Failed to open stream: No such file or directory'
I pulled the zip from the git repo on the 18th and launch the installer via web browser → I'm lazy so just open URL to doc root then click the installer link that accompanies the critical error page
Sounds good Patrick, thanx and will do, hopefully I'll have some time today to test!
Before I do though, one more post on this version just so you are aware as this one could be a show stopper. I ran a third install and this time along with selecting "community" in the setup wizard, I also added a couple of components as well as removed some, most notably the eCommerce module. The final step in the setup wizard produced the following:
Image
2023-02-23_10-10.png
Image
2023-02-23_10-12.png
Another interesting item here: one can't do anything else from this point forward. The top admin menu dropdowns do not work although one can click on the items displayed which will take you to the desired screen however nothing can be done here either. Any page that has a save or proceed button results in the following when clicked:
Image
2023-02-23_10-14.png
Clicking cancel results in nothing while none of the section rollup icons work either when clicked.
Here's a shot from the admin dashboard: Image
2023-02-23_10-21.png
The browser has appeared to stop loading but nothing changes. Image
2023-02-23_10-33.png
I've tried clearing caches both on Composr and browser but no change.
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 apologise 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.
Other than step #4, I left everything else at default. Process went smooth except for the following two items still remaining:
step #10 fails, no .htaccess. As a test, I left the browser page as it stood, did a touch .htaccess on the testing box, refreshed the browser page which in turn took me back to step #9. I clicked proceed and the wizard then completed successfully.
check boxen not matching descriptive text during setup wizard step 5
Can you give me stack traces of your errors with the missing Hook and the .htaccess error? Try putting &keep_fatalistic=1 in the URL when you first bring up the installer. That will help me better understand what's going on; right now I have no clue why either of those errors are happening.
Also which check box in the setup wizard is not matching the descriptive text?
'PHP WARNING [2] fopen(.htaccess) [<a href='http://php.net/manual/en/function.fopen.php'>function.fopen.php</a>]: Failed to open stream: No such file or directory in sources/global3.php on line 377 (version: 11 alpha1, PHP version: 8.1.2-1ubuntu2.10, URL: http://area11.cato/adminzone/index.php?page=admin-setupwizard&type=step10&keep_fatalistic=1)'
'FATAL_SCREEN'
false
false
500
File
'/var/www/area11/sources/global2.php'
Line
1,425
Function
'_composr_error_handler'
Args
'warning'
2
'fopen(.htaccess) [<a href='http://php.net/manual/en/function.fopen.php'>function.fopen.php</a>]: Failed to open stream: No such file or directory'
'sources/global3.php'
377
4
'FATAL'
Function
'composr_error_handler'
Args
2
'fopen(/var/www/area11/.htaccess) [<a href='http://php.net/manual/en/function.fopen.php'>function.fopen.php</a>]: Failed to open stream: No such file or directory'
Thanks again. I identified there was another place in the code trying to use .htaccess without first doing a check to see if it exists. Should be fixed now. If it still happens, do another keep_fatalistic for me and post a stack trace; there could always be even more places that need a check on that file.
As for the descriptive text issue… I made changes to that language which should have reflected in your install. Did you get the most recent git files? And did you clear the cache (you can run php decache.php in your Composr install directory as www-data, or run upgrader.php to clear the cache)? I cannot reproduce on my end. It should look like this now:
As far as the ecommerce issue, that's a complex bug. I will need to discuss it with Chris to see how to best resolve the issue. What's happening is there is a special field type for catalogues called "tax code". This belongs to the ecommerce addon. You uninstalled it, but the products catalogue still exists (and has a tax code field). When test content attempted to get installed, it failed because catalogues could not find the missing tax code field type.
Descriptive text, the issue is with the wording itself:
If you do not want to force users to join and do not want a separate welcome page, choose the ‘Single public zone’ (if applicable) and enable ‘Full guest access’.
The problem is there is no longer a "Single public zone" option to choose like V10 has, just "Full guest access"
The "single public zone" is still an option but only for certain set-ups, thus why I hoped to clarify it with the "(if applicable)" at the end. I don't seem to be conveying the message clearly enough, so I will consider different wording.
@Patrick I have tomorrow off. I'll also try to install v11 on a VPS, tonight. Prepare for forum posts. I don't use sendmail, I use postfix, so I'll see how that error impacts my install.
I want to recreate a site that I used to have. I was a very poor administrator, back them, and a terrible communicator. I learned a lot, since then, and I'm going to try it again. I'd like to use Composr. I have a question for you, though. And please, pardon my directness. In person, I'm about the most happy person you'll ever meet. I'll do anything for good people. But my focus is very intentional when I start a project. I just need to know something.
Are you committed to v11 Composr as lead?
Can you outline a roadmap for v11. Not a timeline, neccessacerily, but a roadmap of things that need to be done to make v11 safe for production use?
Sounds good. Any additional feedback and testing would be greatly appreciated. Note that Chris Graham is currently in the process of merging some things on GitLab.
Am I committed to v11 Composr? The short and unfortunate answer right now is no, at least not in the common sense of the word "committed". My priorities at this time include improving my financial situation as my expenses exceed my income. As such, I am job hunting, and will be losing a lot (more) of my limited free time for said job once I find one.
Chris and I will do as much as we can reasonably do regarding v11 development. But we are both very strapped for available time to commit to v11. As such, development is very slow at this time. Chris has been additionally working on a new approach / model for Composr development in hopes to encourage the general public to become Composr developers / contributors. But it is not ready yet.
Regarding a roadmap, you can check out the tracker at https://compo.sr/tracker . In the projects, select the Alpha Testing project. Now, a lot of the issues (especially features) are not necessary for v11 and will probably even be skipped for v11. But some of the ones categorized as bugs are in need of knocking out. Issues that will be skipped for v11 will generally have a Roadmap tag for a later version, such as v12. Additionally, Chris and I plan to postpone more of the features / issues not yet postponed… as our main focus is shifting to getting a first v11 beta out so the general public can begin testing. e.g. We are planning to hold off on most, if not all, additional feature ideas for a later time so we can work on getting v11 stable.
I have been exploring / playing around with v11 myself on a production server to a small degree. It is definitely not ready for general use. But this allows me to run v11 as a live (low importance) site for testing and find additional bugs or general issues.