View Issue Details

IDProjectCategoryView StatusLast Update
0003628Composrsetupwizardpublic2018-06-20 19:15
ReporterdavidbhlmAssigned ToChris Graham 
Severity@80@ 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0003628: Wizard error
DescriptionWhen accessing to http://SITE:PORT/composr/install.php I'm receiving the following error (see attached screenshot)


```
8

'Undefined index: scheme'

'/home/bitnami/composr-10.0.16-0/apps/composr/htdocs/sources/files2.php'

1002

array ( 'url' => 'http://127.0.0.1:18080/composr/uploads/index.html', 'byte_limit' => 1, 'trigger_error' => false, 'no_redirect' => true, 'ua' => 'Composr', 'post_params' => NULL, 'cookies' => NULL, 'accept' => NULL, 'accept_charset' => NULL, 'accept_language' => NULL, 'write_to_file' => NULL, 'referer' => NULL, 'auth' => NULL, 'timeout' => 6.0, 'raw_post' => false, 'files' => NULL, 'extra_headers' => NULL, 'http_verb' => NULL, 'raw_content_type' => 'application/xml', 'DOWNLOAD_LEVEL' => 1, 'HTTP_DOWNLOAD_MIME_TYPE' => NULL, 'HTTP_CHARSET' => NULL, 'HTTP_DOWNLOAD_SIZE' => 0, 'HTTP_DOWNLOAD_URL' => 'http://127.0.0.1:18080/composr/uploads/index.html', 'HTTP_DOWNLOAD_MTIME' => NULL, 'HTTP_MESSAGE' => NULL, 'HTTP_MESSAGE_B' => NULL, 'HTTP_NEW_COOKIES' => array ( ), 'HTTP_FILENAME' => NULL, 'HTTP_HEADERS' => array ( ), 'has_ctype_xdigit' => true, 'url_parts' => array ( 'host' => '27.0.0.1', 'port' => 18080, 'path' => '/composr/uploads/index.html', ), 'connect_to' => '27.0.0.1', 'base_url_parsed' => array ( 'scheme' => 'http', 'host' => '127.0.0.1', 'port' => 18080, 'path' => '/composr', ), 'config_ip_forwarding' => '', 'do_ip_forwarding' => false, )
```

As you can see, `scheme` if undefined. Also, it is weird how the first IP number sometimes is lost : `'connect_to' => '27.0.0.1'`

I'm using:

- Apache 2.4.33
- PHP 7.0.30
- MySQL 5.7.22
Steps To Reproduce- Download manual extractor (https://compo.sr/site/dload.php?id=467)
- Unzip this in your webdir
- Access to http://SITE:PORT/composr/install.php
Additional InformationApplying the same steps on Windows, it works properly.

Using previous version (10.0.15) it works properly in any OS.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

davidbhlm

2018-06-19 13:39

reporter  

wizard-1.png (553,321 bytes)

Chris Graham

2018-06-20 01:27

administrator   ~0005739

Thanks, I'll take a look.

Chris Graham

2018-06-20 17:26

administrator   ~0005742

Bug with handling IP address based URLs, only happens if intl extension is installed. Caused by a subtle error in our new Punycode support.

Fixed in https://github.com/ocproducts/composr/commit/1294e8108db482069cae24855eda29f72e8da212

Guest

2018-06-20 19:15

viewer   ~0005743

Working properly. Thanks

Issue History

Date Modified Username Field Change
2018-06-19 13:39 davidbhlm New Issue
2018-06-19 13:39 davidbhlm File Added: wizard-1.png
2018-06-20 01:27 Chris Graham Note Added: 0005739
2018-06-20 17:26 Chris Graham Note Added: 0005742
2018-06-20 17:26 Chris Graham Status non-assigned => resolved
2018-06-20 17:26 Chris Graham Resolution open => fixed
2018-06-20 17:26 Chris Graham Assigned To => Chris Graham
2018-06-20 19:15 Guest Note Added: 0005743