- Posts: 23
Question [SOLVED] redirection port is lost after upgrade 2.0.0 beta5
- Forssux
- Topic Author
- Offline
- New Member
I'm running webtrees on a QNAP and Qapache
The problem is that the default webserver uses a very old php therefore I resorted to Qapache .
However Qapache listens on port 88.
The beta 2.05 seems to work but only if I manually add the portnumber..
How can I change this behavior?
example http://192.168.1.5:88/webtrees/index.php?route=%2Fwebtrees%2Ftree%2FForssman%2Fmy-page seems to work
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Forssux
- Topic Author
- Offline
- New Member
- Posts: 23
base_url="http://192.168.1.5:88/webtrees/"
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
Can you describe "not working".
What do you see?
What do you expect to see?
etc.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Forssux
- Topic Author
- Offline
- New Member
- Posts: 23
What I expected to see is a working beta.
I had installed the first 2.0 a long time ago..I manually overwriten with 2.05.
I copied the /data directory to a safe plave
I also made sure I had the original media and config-ini-php
Kind regards
Guy Forssman
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
Start at the beginning.
You type in a URL - presumably with a port number.
Does the site automatically redirect to a page without it?
Do you click on a link to get this error page?
Does the error page appear after you submit a form?
etc.
If you can activate the developer tools in your browser (e.g. ctrl-shift-I in firefox/chrome) and look at the sequence of requests, that might be helpful.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Forssux
- Topic Author
- Offline
- New Member
- Posts: 23
I used the same credentials as in the 2.01 installation.
I renamed the directory via putty to webtreesOLD and unzipped the 2.05 .
Then I can start to fill in setup data, but as soon as I create a administrator I can't reach the site.
Here is my config.ini.php
; <?php return; ?> DO NOT DELETE THIS LINE
dbtype="mysql"
dbhost="127.0.0.1"
dbport="3306"
dbuser="webtrees2"
dbpass="secret"
dbname="webtrees2"
tblpfx="wt_"
base_url="http://192.168.1.5:88/webtrees/index.php"
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
base_url="http://192.168.1.5:88/webtrees"
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Forssux
- Topic Author
- Offline
- New Member
- Posts: 23
enter: 192.168.1.5:88/webtrees
result: http://192.168.1.5/webtrees/tree/Forssman/my-page the portnumber is gone..
insert port 88: http://192.168.1.5:88/webtrees/tree/Forssman/my-page
result: Not Found
The requested URL /webtrees/tree/Forssman/my-page was not found on this server.
What is the best way to Restore with a existing database and media folder?
Please Log in or Create an account to join the conversation.
- Forssux
- Topic Author
- Offline
- New Member
- Posts: 23
I managed to copy the current 1715 to the new Qapache and that works.
I also noticed that there are a lot less files in the new 2.05 is this normal?
Please Log in or Create an account to join the conversation.
- xmlf
- Offline
- Junior Member
It should be the same problem as this one.
www.webtrees.net/index.php/en/forum/3-he...ees-2-0-0-beta-5-zip
In addition,the PHP version of QNAP Firmware 4.4.1 is already 7.3.7.
Wang Family Website of Suining County, China
www.snwsjz.com
A family tree website that is customized, more humanized and convenient for users.
Please Log in or Create an account to join the conversation.
- Forssux
- Topic Author
- Offline
- New Member
- Posts: 23
It should be the same problem as this one.
www.webtrees.net/index.php/en/forum/3-he...ees-2-0-0-beta-5-zip
Indeed from the moment I make an administrator in the Wizard I get the blank page..
I copied the 1.7.15 version from the qnap/web directory ( php 5.6.38 apache 2437) to the qapache directory htdocs (PHP Version 7.2.21 apache 2.4.39) and that works
As I didn't see /opt/Qapache I did a ln- sf /share/CACHEDEV1_DAT
Then I changed ;Production Value:Off into Production Value:on in the /opt/Qapache/etcphp.ini file to see eventual errors
You mentioned that the PHP version of QNAP 4.4.1 is php 7.3.7 helas I have a older QNAP than you apparently I run a TS-869L and the latest firmware there is 4.3.4.1129 php is following phpinfo PHP Version 5.6.38.
That's the reason I was running Qapache as it has more recent versions of apache and php ( forum.qnap.com/viewtopic.php?t=143802 )
As the stable version is running Qapache I'm inclined to think that something is not correct with the 2.0.0.5 beta version
Does somebody has suggestions to make it work?
Kind regards
Guy
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
It might take me a day to create a fix.
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- fisharebest
- Offline
- Administrator
I have tested it:
with/without port numbers
with/without subfolders
with/without pretty urls
with/without https
Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net
Please Log in or Create an account to join the conversation.
- Forssux
- Topic Author
- Offline
- New Member
- Posts: 23
Please Log in or Create an account to join the conversation.