Search after ID not working after change from http to https

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
cobra98
Posts: 20
Joined: Mon Feb 05, 2007 2:46 pm

Search after ID not working after change from http to https

Post by cobra98 »

We can search for Text, this works correct, but if you search for a ID
it goes to the old http:// instead of the https:// link ...
Where do we have to change this?

it goes to
zB http://intranet/swap?solution_id=1037
Searching for text goes to:
https://intranet/swap/index.php?action=search

Do I have to change all php Files from:
"'Location: http://'.$_SERVER['SERVER_NAME']"
to
"'Location: https://'.$_SERVER['SERVER_NAME']"?

http is only redirecting now ... now phpmyfaq installed ...
its now on https ;-)
cobra98
Posts: 20
Joined: Mon Feb 05, 2007 2:46 pm

Post by cobra98 »

Changed from
http://'.$_SERVER['SERVER_NAME']"
to
https://'.$_SERVER['SERVER_NAME']"

with Info Rapid & Search ;-)
working ...
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

yes, but this is a bug. We'll fix it for the next versions!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

this is fixed in CVS now and the fix will be part of the 1.6.10 release.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cobra98
Posts: 20
Joined: Mon Feb 05, 2007 2:46 pm

Post by cobra98 »

i updated to 1.6.10 cvs and IDs didn't work ...
i had to change
'Location: http:
to
'Location: https:

everywhere with info rapid and search

then it worked ;-)
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

did you use the CVS snapshot or the anonymous CVS access? Which CVS ID do you have in the file inc/functions.php?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
cobra98
Posts: 20
Joined: Mon Feb 05, 2007 2:46 pm

Post by cobra98 »

i used the cvs snapshot
Id from functions:
* $Id: functions.php,v 1.65.2.58.2.55 2007/01/14 11:08:53 matteo Exp $
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

the snapshot with the fix will be available tomorrow. Sorry for this.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply