Hello,
The AllowOverride configuration was not put in .htaccess but in the /etc/apache2/apache2.conf file as follows:
<Directory /var/www/html/phpmyfaq/>
AllowOverride All
</Directory>
I still get error 500:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Looking in the logs, we have the following error following the addition of AllowOverride All in apache2:
/var/www/html/phpmyfaq/.htaccess: Invalid command 'Header', perhaps misspelled or defined by a module not included in the server configuration
Bye,
Virgile
Error updating phpmyfaq 3.2.10 to 4.0.0
Moderator: Thorsten
Re: Error updating phpmyfaq 3.2.10 to 4.0.0
For error 500, I corrected it by activating headers :
a2enmod headers
systemctl restart apache2
But the problem is still there.
Virgile.
a2enmod headers
systemctl restart apache2
But the problem is still there.
Virgile.
Re: Error updating phpmyfaq 3.2.10 to 4.0.0
For your information, the problem is also present in version 4.0.1.
I also tested the modifications you indicated, but the same problem occurred.
Virgile.
I also tested the modifications you indicated, but the same problem occurred.
Virgile.
Re: Error updating phpmyfaq 3.2.10 to 4.0.0
Hi,
it's not working even after you adjusted the RebaseBase path in the .htaccess file?
What do you get if you open https://hostname_server/phpmyfaq/api/v3.0/version
bye
Thorsten
it's not working even after you adjusted the RebaseBase path in the .htaccess file?
What do you get if you open https://hostname_server/phpmyfaq/api/v3.0/version
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Error updating phpmyfaq 3.2.10 to 4.0.0
Hi,
The RewriteBase in .htaccess has not changed anything.
The following link https://hostname_server/phpmyfaq/api/v3.0/version does not exist:
Not Found
The requested URL was not found on this server.
Bye,
Virgile.
The RewriteBase in .htaccess has not changed anything.
The following link https://hostname_server/phpmyfaq/api/v3.0/version does not exist:
Not Found
The requested URL was not found on this server.
Bye,
Virgile.
Re: Error updating phpmyfaq 3.2.10 to 4.0.0
Hi,
if
does not work, the rewriting does not work at all.
It looks like you have to debug the Apache log: https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html
bye
Thorsten
if
Code: Select all
https://hostname_server/phpmyfaq/api/v3.0/version
It looks like you have to debug the Apache log: https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Error updating phpmyfaq 3.2.10 to 4.0.0
Hello,
I finally found the problem!
While searching, I saw that Rewrite was not activated. I ran the commands:
a2enmod rewrite
systemctl restart apache2.service
and ran the update script.
However, I have a problem with the nav bar of the site, which is not readable : Bye,
Virgile.
I finally found the problem!
While searching, I saw that Rewrite was not activated. I ran the commands:
a2enmod rewrite
systemctl restart apache2.service
and ran the update script.
However, I have a problem with the nav bar of the site, which is not readable : Bye,
Virgile.
You do not have the required permissions to view the files attached to this post.
Re: Error updating phpmyfaq 3.2.10 to 4.0.0
Hi Virgile,
awesome news!
About the navigation, it looks like some caching as it seems the logo is still PNG and it should be a SVG with 4.0.
bye
Thorsten
awesome news!
About the navigation, it looks like some caching as it seems the logo is still PNG and it should be a SVG with 4.0.
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Error updating phpmyfaq 3.2.10 to 4.0.0
Hi,
You're right!
Thx for you help.
Virgile.
You're right!
Thx for you help.
Virgile.
Re: Error updating phpmyfaq 3.2.10 to 4.0.0
Hi,
so now it's working?
bye
Thorsten
so now it's working?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist