Recent Topics

1 Aug 07, 2016 12:03    

Hello,

I just tried to do a fresh install of the latest B2E version (b2evolution-6.7.4-stable-2016-06-14.zip) on a windows7 64 bit computer, running latest apache, php (709) and mysql version.

For some (security????) reason, the install does not work.

Checking files...

Preparing to install /.htaccess in the base folder... (Force=no)
Verifying .htaccess support works by fetching: http://www.xyz.nl:443/blog/install/test/... ERROR!
http://www.xyz.nl:443/blog/install/test/index.html was not found as expected.

Checking that directory shows the refered to index.html is present.

Searching for the problem on internet, i did find an quite old b2e blog related to more or less the same issue using a much older php version etc. Describing some issue with a IMHO obscure PHP function. I do not know if it is related.

Whats ever IMHO it should just work or the B2E installer should at least show a correct failure message.

I hope some one can provide me with a workarround and even better someone can fix it.

SIncerely.

Louis

2 Aug 07, 2016 13:33

So you are installing locally on your machine and you have already created a database

3 Aug 07, 2016 15:00

The correct error message is:

Verifying .htaccess support works by fetching

and then

(test file) not found as expected.

If you open the index.html file, you will read:

Test successful.

If this page can be loaded, it means that the .htaccess that is being staged in this test folder
did NOT crash apache. This is good. This means we can use that .htaccess file in production.

So the problem in your case is that the .htaccess file crashed your webserver because there is something in it that your webhost doesn't like. b2evolution uses this test to verify that your webhost is compatible with b2evolution.

Who is your webhost please?

4 Aug 08, 2016 11:06

Hello,

Thanks for the reactions. Hereby some additional information

  • the webhost, thats me. The blog is running on my own server
  • I prepaired the DB schema on the server using the mysql wotkbench
  • and filled the blog folder with the content of the b2e zip
  • the rest of the install I try to do from a remote webbrowser (my desktop computer)
  • the index.html is there and does contain the indicated text
  • when simply adding the link towards the index.html testfile, in the webbrowser of my desktop computer, the content is properly shown
  • the sentence displayed from the installer ": http://www.xyz.nl:443/blog/install/test/... " is strange to me
  • yep the site is https protected
  • and that is 443 but
  • more logical would be to see something like https://www.xyz.nl/blog/install/test/...

Sincerely,

Louis

5 Aug 08, 2016 17:20

what is in $baseurl= in your conf/_basic_config.php file?

6 Aug 08, 2016 22:35

Hi, to respond to your question

basic_config.php ?????

  • I do not think I have that file
  • not in my php prog dir
  • not in the b2e dir
  • and alos not in the data dir (which would be rediculess)

I do have an php.ini

  • but that file does not contain an $baseurl statement
  • I never heart of that but apart from that which base should be there since php is used for multiple applications

Sincerely,

Louis

8 Aug 09, 2016 08:44

Hello,

I found the file under a slightly different name "_basic_config.php"

values are as follows

$baseurl = 'http://www.xyz.nl:443/blog/';
// Use the following if you want to use the current domain:
/*
if( isset($_SERVER['HTTP_HOST']) )
{   // This only works if HOSt provided by webserver (i-e DOES NOT WORK IN PHP CLI MODE)
    $baseurl = ( (isset($_SERVER['HTTPS']) && ( $_SERVER['HTTPS'] != 'off' ) ) ?'https://':'http://')
                            .$_SERVER['HTTP_HOST'].'/';
}
*/

Sincerely,

Louis

9 Aug 09, 2016 14:45

So if you want to use https, then you need to configure $baseurl = 'https://www.xyz.nl/blog/'; (with httpS)

11 Aug 16, 2016 21:26

Hello,

I just tryed to install the new release. More or less as expected, still the same problem

Preparing to install /.htaccess in the base folder... (Force=no)
Verifying .htaccess support works by fetching: https://www.xyz.nl/blog/install/test/... ERROR!
https://www.xyz.nl/blog/install/test/index.html was not found as expected

However after continueing the install, my very first impression is that b2e works never the less .....

Sincerely,
\
Louis


Form is loading...