HTTP ERROR 500 when running fpa-en.php

This Forum board is about discussions about the FPA tool.

Moderator: General Support Moderators

Post Reply
clafil
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Feb 13, 2024 11:09 am

HTTP ERROR 500 when running fpa-en.php

Post by clafil » Thu Feb 29, 2024 12:36 am

I downloaded ForumPostAssistant-FPA-v1.6.6-0-g997cd65.zipper from viewtopic.php?f=621&t=582860 and uploaded fpa-en.php to my Joomla 4 site root, but when I run it the HTTP ERROR 500 page immediately comes out.
Linux server with PHP 8.3
These are the first lines of the log:
29/02/2024 00:19:17 WARNING: [pool www.movimentofederalistaeuropeo.it] child 734 said into stderr: "[29-Feb-2024 00:19:17 Europe/Rome] PHP Fatal error: Uncaught TypeError: fseek(): Argument #1 ($stream) must be of type resource, false given in /web/htdocs/www.movimentofederalistaeuropeo.it/home ... en.php:947"
29/02/2024 00:19:17 WARNING: [pool www.movimentofederalistaeuropeo.it] child 734 said into stderr: "Stack trace:"
29/02/2024 00:19:17 WARNING: [pool www.movimentofederalistaeuropeo.it] child 734 said into stderr: "#0 /web/htdocs/www.movimentofederalistaeuropeo.it/home ... n.php(947): fseek()"
29/02/2024 00:19:17 WARNING: [pool www.movimentofederalistaeuropeo.it] child 734 said into stderr: "#1 {main}"
29/02/2024 00:19:17 WARNING: [pool www.movimentofederalistaeuropeo.it] child 734 said into stderr: " thrown in /web/htdocs/www.movimentofederalistaeuropeo.it/home/port/fpa-en.php on line 947"

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17446
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: HTTP ERROR 500 when running fpa-en.php

Post by toivo » Thu Feb 29, 2024 2:36 am

I just tested FPA v1.6.6 using PHP 8.3.2 and it worked all right in a localhost Wampserver test site.

clafil wrote:
Thu Feb 29, 2024 12:36 am
PHP Fatal error: Uncaught TypeError: fseek(): Argument #1 ($stream) must be of type resource, false given in /web/htdocs/www.movimentofederalistaeuropeo.it/home ... en.php:947"
This error occurs, if the FPA script is unable to open the PHP error log.

Check the location of the PHP error log from System - Information - System Information - PHP Information. Search for error_log on the page and make a note of the contents of error_log and error_log_mode, which should be 0644.

Contact the support team of your host to find out why the PHP error log could not be accessed.
Toivo Talikka, Global Moderator


Post Reply

Return to “Forum Post Assistant (FPA)”