View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
2175 | Composr | installer | public | 2016-02-09 13:28 | 2016-02-09 23:08 |
Reporter | PDStig | Assigned To | Chris Graham | ||
Priority | urgent | Severity | @80@ | ||
Status | resolved | Resolution | fixed | ||
Summary | 2175: Auto extraction installation of Composr beta 1 errors on step 5 with undefined function "get_option()" | ||||
Description | An error has occurred PHP [1] Call to undefined function get_option() Here is the stack trace: Below is a stack trace revealing the state the software 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 '/home/admin/web/lovinity.org/public_html/install.php(15019) : eval()\'d code' Line '226' Function 'get_html_trace' Args File '/home/admin/web/lovinity.org/public_html/install.php(15019) : eval()\'d code' Line '343' Function 'fatal_exit' Args 'PHP [1] Call to undefined function get_option()' File '/home/admin/web/lovinity.org/public_html/install.php(15019) : eval()\'d code' Line '293' Function 'composr_error_handler' Args 1 'Call to undefined function get_option()' '/home/admin/web/lovinity.org/public_html/install.php(15019) : eval()\'d code' 1191 Function 'catch_fatal_errors' Args | ||||
Steps To Reproduce | 1. Download the auto extracting installer of Composr beta1 2. Upload it to a VPS (ZET Servers) 3. Create a database 4. Proceed with install.php 5. install.php errors on step 5 with the above. | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Time estimation (hours) | |||||
Sponsorship open | |||||
|
Error also happens on manual installer |
|
What's the stack trace you get for the manual installer? I can't currently reproduce. |
|
In fact, that might not work. If you can put... function get_option() { debug_print_backtrace(); exit(); } at the bottom of install.php, and tell me what that says when it was previously doing the reported issue, that should help. Or if I can test directly on your server. |
|
Issue was when installing with an https:// base URL. This activated the cURL downloader code branch (more robust on https) which tried to access the config system for the proxy settings, but that was not yet initialised at that point in the installer. |
|
Ahh okay. Weird since it did the same on http. But at least it's fixed. Thanks! |
|
Not sure, maybe had a redirect to https on there, which would cause the downloader to use that anyway. |