install error: Can't retrieve web page

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
HerrimanCoder
Posts: 8
Joined: 24 Mar 2024, 00:48

install error: Can't retrieve web page

Post by HerrimanCoder »

It seems I'm 99% of the way to a successful Mantis 2.26.1 installation on WAMP:

- localhost
- Windows 10
- PHP installed, etc

Here's what I get after attempting install:
mantis1.png
mantis1.png (114.52 KiB) Viewed 11654 times
You see the error: Can't retrieve web page at 'https://localhost/ProgrammingProjects/E ... /MantisBT/'.

I don't understand why it doesn't like my URL. If I copy/paste that URL into a browser, I'm right back at the installer page. Obviously it's finding it.

Please help. Thanks in advance.
atrol
Site Admin
Posts: 8549
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: install error: Can't retrieve web page

Post by atrol »

How is allow_url_fopen set in your PHP configuration?
Please use Search before posting and read the Manual
Timo
Posts: 1
Joined: 13 Oct 2024, 13:08

Re: install error: Can't retrieve web page

Post by Timo »

Hello @ all,

i have the same Issue.

I installed Mantis Bugtracker as a new installation on an Ubuntu Server. If i enter the URL http://mantis in my Browser the Mantis installation GUI is shown.

After i filled all the needed Information i get the same Error Message

I already checked the "allow_url_fopen" set in PHP configuration. It is set to "on"

This is a frech installation not an Upgrade
SRinke
Posts: 1
Joined: 21 Nov 2024, 10:13

Re: install error: Can't retrieve web page

Post by SRinke »

Hi.

I have the same problem on new Debian Server Verson 6.1.0-26, PHP 8.2.24 on Apache/2.4.62 (Debian) with mysql Ver 15.1 Distrib 10.11.6-MariaDB.

During installation I get "Checking URL to installation BAD"
"Can't retrieve web page at 'https://...."

I tried to install stable 2.27.0 and nightly build master (2.28.0-dev) .
"sudo chmod -R 0777 *" doesn't help.

"allow_url_fopen" is set to "on", but "file_get_contents" doesn't succeed on HTTPS.

I tried to debug the code, but there are more questions than answers.

It seems that function "gpc_get_string" never returns values.

Another strange thing is that "cURL" returns "Moved Permanently. The document has moved here."

Any tipps or ideas?

Thanks in advance!
Stefan
Post Reply