Ticket #14 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

PHP segfault on importing OPML

Reported by: pierre-alain Owned by: pierre-alain
Priority: major Milestone: 0.1a2
Component: Core Version: 0.1a1
Keywords: php segfault import opml Cc:

Description (last modified by pierre-alain) (diff)

PHP seems to segfault (5.3.0 and 5.3.1) when importing an OPML file.
In results, the crontab is not written (so no refresh), and the user is not relocated.

The segfault appears in source:OWR/View.php@1c0909a054edb100b7e252e86d594206b287e73c#L75.

The crontab has to look like this (this is an example, adjust the value of refreshstream action following the minimum value of the field ttl of SQL table streams) :

# FOLLOWING LINES COME FROM OPENWEBREADER - PLEASE DO NOT EDIT, AUTOMATIC #
# http://domain.tld/PATH/TO/OpenWebReader/:managefavicons : OpenWebReader Cronjob for streams favicon adding/cleaning
1 1 * * * /PATH/TO/php /var/www/PATH/TO/OWR/OWR/cli.php 'do'='managefavicons' >> /var/www/PATH/TO/OpenWebReader/OWR/logs/cli.log
# http://domain.tld/PATH/TO/OpenWebReader/:checkstreamsavailability : OpenWebReader Cronjob for dead streams checking
1 * * * * /PATH/TO/php /var/www/PATH/TO/OWR/OWR/cli.php 'do'='checkstreamsavailability' >> /var/www/PATH/TO/OpenWebReader/OWR/logs/cli.log
# http://domain.tld/PATH/TO/OpenWebReader/:refreshstream : OpenWebReader Common Stream Update
*/60 * * * * /PATH/TO/php /var/www/PATH/TO/OpenWebReader/OWR/cli.php 'do'='refreshstream' >> /var/www/PATH/TO/OpenWebReader/OWR/logs/cli.log
# END OPENWEBREADER CRONTAB #

Change History

comment:1 Changed 8 years ago by pierre-alain

  • Description modified (diff)

comment:2 Changed 8 years ago by pierre-alain

  • Description modified (diff)

comment:3 Changed 8 years ago by pierre-alain

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.