View Issue Details

IDProjectCategoryView StatusLast Update
2175Composrinstallerpublic2016-02-09 23:08
ReporterPDStig Assigned ToChris Graham  
PriorityurgentSeverity@80@ 
Status resolvedResolutionfixed 
Summary2175: Auto extraction installation of Composr beta 1 errors on step 5 with undefined function "get_option()"
DescriptionAn 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 Reproduce1. 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.
TagsNo tags attached.
Attach Tags
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

PDStig

2016-02-09 14:06

administrator   ~3318

Error also happens on manual installer

Chris Graham

2016-02-09 21:09

administrator   ~3321

What's the stack trace you get for the manual installer? I can't currently reproduce.

Chris Graham

2016-02-09 21:12

administrator   ~3322

Last edited: 2016-02-09 21:12

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.

Chris Graham

2016-02-09 23:04

administrator   ~3324

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.

PDStig

2016-02-09 23:06

administrator   ~3325

Ahh okay. Weird since it did the same on http. But at least it's fixed. Thanks!

Chris Graham

2016-02-09 23:08

administrator   ~3326

Not sure, maybe had a redirect to https on there, which would cause the downloader to use that anyway.

Issue History

Date Modified Username Field Change