#5662 - Failure on Setup Wizard step 3 when downloading non-bundled addons
| Identifier | #5662 |
|---|---|
| Issue type | Minor issue (breaks specific functionality) |
| Title | Failure on Setup Wizard step 3 when downloading non-bundled addons |
| Status | Completed |
| Tags |
Roadmap: v11 (custom) |
| Handling member | PDStig |
| Version | 11 alpha1 |
| Addon | setupwizard |
| Description | Entered all information for site and connections and when I got to configuration after install it stalled at step 3 |
| Steps to reproduce | Enter normal file installation, input data for user, maintenance and database stuff. All installs the files and structure without any errors after completion hit go to site to configure the site. Got to the screen where you step 3 and entered all data as needed and hit save. Immediately threw an error. No moving forward. |
| Additional information | File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/failure.php'
Line 544 Function 'get_html_trace' Args File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/failure.php' Line 395 Function '_generic_exit' Args Tempcode -> ... 'FATAL_SCREEN' false true 500 File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/global2.php' Line 1,581 Function '_generic_exit' Args Tempcode -> ... 'WARN_SCREEN' false true 500 NULL NULL File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/http.php' Line 1,118 Function 'warn_exit' Args Tempcode -> ... false true File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/http.php' Line 598 Function '_run' Class 'HttpDownloaderCurl' Object {"data":null,"download_mime_type":null,"download_size":null,"download_url":"https:\/\/composr.app\/site\/dload.php?id=290","download_mtime":null,"message":null,"message_b":null,"new_cookies":[],"filename":null,"charset":null,"headers":[],"generation_time":0,"implementation_used":"HttpDownloaderCurl"} Type '->' Args 'https://composr.app/site/dload.php?id=290' File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/http.php' Line 282 Function 'run' Class 'HttpDownloader' Object {"data":null,"download_mime_type":null,"download_size":null,"download_url":"https:\/\/composr.app\/site\/dload.php?id=290","download_mtime":null,"message":null,"message_b":null,"new_cookies":[],"filename":null,"charset":null,"headers":[],"generation_time":0,"implementation_used":"HttpDownloaderCurl"} Type '->' Args 'https://composr.app/site/dload.php?id=290' File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/global3.php' Line 500 Function '_cms_http_request' Args 'https://composr.app/site/dload.php?id=290' File '/homepages/*** HIDING INFO***/htdocs/rats-world.com/sources/uploads.php' Line 505 Function 'cms_http_request' Args 'https://composr.app/site/dload.php?id=290' File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/adminzone/pages/modules/admin_setupwizard.php' Line 617 Function 'get_url' Args 'url' 'file' 'imports/addons' 0 15 false '' '' true File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/adminzone/pages/modules/admin_setupwizard.php' Line 144 Function 'step4' Class 'Module_admin_setupwizard' Object {"title":{"code_to_preexecute":{"tcpfunc_660cdfe1243d50.36724845_1":"$tpl_funcs['tcpfunc_660cdfe1243d50.36724845_1']=$KEEP_TPL_FUNCS['tcpfunc_660cdfe1243d50.36724845_1']=recall_named_function('660cdfe1243e52.45715379','$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('660cdfe12134a4.12999664','\\$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=\\\\\\\"https:\/\/rats-world.com\/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_660cdfe1243d50.36724845_1",{"_GUID":"847ffbe4823eca6d2d5eac42828ee552","AWARDS":[],"TITLE":{"code_to_preexecute":{"do_runtime_660ce15e589914.30510062_6":"$tpl_funcs['do_runtime_660ce15e589914.30510062_6']=\"echo ecv(\\$cl,[],2,\\\"SETUPWIZARD\\\",[]);\";\n"},"seq_parts":[[["do_runtime_660ce15e589914.30510062_6",[],2,"SETUPWIZARD",""]]],"codename":":container","is_all_static":null,"metadata":null,"preprocessable_bits":null,"pure_lang":true,"preprocessed":null},"SUB":null},1,"",""]]],"codename":"SCREEN_TITLE","metadata":null,"preprocessable_bits":null,"pure_lang":null,"preprocessed":null}} Type '->' Args File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/zones.php' Line 785 Function 'run' Class 'Module_admin_setupwizard' Object {"title":{"code_to_preexecute":{"tcpfunc_660cdfe1243d50.36724845_1":"$tpl_funcs['tcpfunc_660cdfe1243d50.36724845_1']=$KEEP_TPL_FUNCS['tcpfunc_660cdfe1243d50.36724845_1']=recall_named_function('660cdfe1243e52.45715379','$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('660cdfe12134a4.12999664','\\$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=\\\\\\\"https:\/\/rats-world.com\/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_660cdfe1243d50.36724845_1",{"_GUID":"847ffbe4823eca6d2d5eac42828ee552","AWARDS":[],"TITLE":{"code_to_preexecute":{"do_runtime_660ce15e589914.30510062_6":"$tpl_funcs['do_runtime_660ce15e589914.30510062_6']=\"echo ecv(\\$cl,[],2,\\\"SETUPWIZARD\\\",[]);\";\n"},"seq_parts":[[["do_runtime_660ce15e589914.30510062_6",[],2,"SETUPWIZARD",""]]],"codename":":container","is_all_static":null,"metadata":null,"preprocessable_bits":null,"pure_lang":true,"preprocessed":null},"SUB":null},1,"",""]]],"codename":"SCREEN_TITLE","metadata":null,"preprocessable_bits":null,"pure_lang":null,"preprocessed":null}} Type '->' Args File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/sources/site.php' Line 1,486 Function 'load_module_page' Args 'adminzone/pages/modules/admin_setupwizard.php' 'admin_setupwizard' File '/homepages/22/(*** HIDING INFO***/htdocs/rats-world.com/sources/site.php' Line 1,101 Function 'request_page' Args 'admin_setupwizard' true 'adminzone' NULL false true File '/homepages/22/*** HIDING INFO***/htdocs/rats-world.com/adminzone/index.php' Line 59 Function 'do_site' Args Parameters y0bf6d1d2cd6ef2275cd7a5911a17b0c0 skip_3 0 csrf_token_preserve 1 http_referer https://rats-world.com/adminzone/index.php?page=admin_setupwizard&type=browse&came_from_installer=1&redirected=1 js_token 47f0c8addaac4 label_for__installprofile Install profile source_theme default installprofile community label_for__site_name Site name site_name rats-world.com require__site_name 1 label_for__description Description description label_for__site_scope Site scope site_scope defaultness require__site_scope 1 label_for__keywords Keywords keywords default, defaultness, celebration, community label_for__timezone Timezone timezone America/New_York require__timezone 1 label_for__google_analytics Google Analytics Web Property ID google_analytics label_for__include_cms_advert Include Composr logo tick_on_form__include_cms_advert 0 label_for__security_level Security level security_level medium require__security_level 1 url https://composr.app/site/dload.php?id=290 csrf_token 04a1a775d131e help / advice There is a tutorial which covers this feature. The site is closed, but you have special access. |
| 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".


Comments
(Click to enlarge)
(Click to enlarge)
The provider of the server, OVH, recently announced they're doing maintenance later this month in response to unwanted premature connection closures on the same data center which uses composr.app. I'm hoping their fix on April 24 will resolve this issue.
Do not have time to push a proper bugfix as I have a strict work cutoff of 12 AM EDT. This will be included in alpha2.
- composr.app's PHP-FPM was not spawning enough child processes to handle someone updating or downloading non-bundled addons. This was causing frequent timeouts and premature connection drops. I increased the pm.max_children setting for composr.app on the server.
- In Composr, a "partial file" status code in CURL was being treated as an error and resulting in failure. Instead of erroring immediately, it will now retry a couple of times fetching the remaining bytes before considering it an error / failure if it still doesn't have the full file.
- The downloads script (site/dload.php) was sometimes not returning the correct content length and range headers especially when CURL passes in a range (it uses 1TB instead of blank for the "to"... had to account for that; content length was also being set to the end range even if file size was not that big, which caused HTTP/2 stream errors).