Hello board,
we are running phpMyFAQ 3.1.10 on Debian 11 (MariaDB 10.5, PHP 8.1, Apache 2.4.54)
Everything is working great so far except when creating News.
We create a news by navigating to (logged in user)-> Administration -> Content -> News -> we hit the Create News button
Then we insert minimal content and hit "add news".
When returning to the dashboard the news are created, but the automatically created link zu access the news is wrong.
There is a "https//" inserted which makes no sense there and makes the link unaccessable, i.e.:
https://https//phpmyfaq.johndoe.com/index.php?action=news&newsid=8&newslang=de++
We cannot find an error in our config and the FAQ-section just works great.
Any help is appreciated and thanks in advance!
[SOLVED] Problem with link creation in news section
Moderator: Thorsten
[SOLVED] Problem with link creation in news section
Last edited by myfaqer on Wed Feb 15, 2023 4:05 pm, edited 1 time in total.
Re: Problem with link creation in news section
Hi,
it's a known bug, phpMyFAQ 3.1.11 will be out soon to fix it.
bye
Thorsten
it's a known bug, phpMyFAQ 3.1.11 will be out soon to fix it.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Problem with link creation in news section
Thanks Thorsten, we stay tuned!
Re: Problem with link creation in news section
Hey once again,
do you refer to this..?
https://github.com/thorsten/phpMyFAQ/issues/2306
I tried to change the line in index.php to
Strings::htmlspecialchars($faqConfig->getDefaultUrl())
to get a quick workaround, but it does still not work...
do you refer to this..?
https://github.com/thorsten/phpMyFAQ/issues/2306
I tried to change the line in index.php to
Strings::htmlspecialchars($faqConfig->getDefaultUrl())
to get a quick workaround, but it does still not work...
Re: Problem with link creation in news section
Hi,
there are some more fixes on this issue.
bye
Thorsten
there are some more fixes on this issue.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Problem with link creation in news section
Hi Thorsten,
we recently updated to 3.1.11.
The problem with the link generation is gone, thanks a lot!
But another problem still persists - when I click on a freshly created minimal News (just topic, minimal text and "activated") it is just shown as:
test
<!DOCTYPE html> <html> <head> </head> <body> <p>Hallo!</p> <p> </p> <p>Testnews</p> </body> </html>
Über diese Nachricht
Letzte Änderung: 14.02.2023 11:07
Verfasser: Michael
News
Kommentieren nicht möglich
This problem does not accur in a 3.1.0-install but in all new and old news in 3.1.10 and .11
Relating HTML source code in page looks a little bit strange though...
<header>
<h3>test</h3>
</header>
<!DOCTYPE html>

<html>

<head>

</head>

<body>

<p>Hallo!</p>

<p> </p>

<p>Testnews</p>

</body>

</html>
</article>
Thanks in advance,
Michael
we recently updated to 3.1.11.
The problem with the link generation is gone, thanks a lot!
But another problem still persists - when I click on a freshly created minimal News (just topic, minimal text and "activated") it is just shown as:
test
<!DOCTYPE html> <html> <head> </head> <body> <p>Hallo!</p> <p> </p> <p>Testnews</p> </body> </html>
Über diese Nachricht
Letzte Änderung: 14.02.2023 11:07
Verfasser: Michael
News
Kommentieren nicht möglich
This problem does not accur in a 3.1.0-install but in all new and old news in 3.1.10 and .11
Relating HTML source code in page looks a little bit strange though...
<header>
<h3>test</h3>
</header>
<!DOCTYPE html>

<html>

<head>

</head>

<body>

<p>Hallo!</p>

<p> </p>

<p>Testnews</p>

</body>

</html>
</article>
Thanks in advance,
Michael
Re: Problem with link creation in news section
Hi,
yes, 3.1.12 is already in the works, sorry for that. Here's the fix: https://github.com/thorsten/phpMyFAQ/co ... 30af3436ee
bye
Thorsten
yes, 3.1.12 is already in the works, sorry for that. Here's the fix: https://github.com/thorsten/phpMyFAQ/co ... 30af3436ee
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Problem with link creation in news section
Hi,
thanks for your quick reply!
Edited the file and works instantly.
Now we are ready to roll, thank you very much!
thanks for your quick reply!
Edited the file and works instantly.
Now we are ready to roll, thank you very much!