#3628 - Wizard error

  • By
  • Added
  • 2 views
Identifier #3628
Issue type Major issue (breaks an entire feature)
Title Wizard error
Status Completed
Handling member Chris Graham
Addon setupwizard
Description When 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 information Applying the same steps on Windows, it works properly.

Using previous version (10.0.15) it works properly in any OS.
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".

Rating

Unrated