opencats / OpenCATS

Applicant Tracking System (maintained code base)
http://www.opencats.org
Other
476 stars 236 forks source link

RSS feed is broken due to syntax error #560

Closed riiwjohnson closed 2 years ago

riiwjohnson commented 2 years ago

Expected behavior and actual behavior.

Steps to reproduce the problem.

Open the /rss URL on a fresh install after adding a job order.

What version of opencats are you running?

0.9.6

Release or downloaded from Git?

Release

WAMP or LAMP?

LAMP

What version of PHP and MySQL are you running

7.4.25 / MariaDB 10.3.17

attach appropriate error logs. Please attach [apache/mysql] error/access logs as needed.

[Tue Jan 18 21:34:21.322406 2022] [php7:warn] [pid 53737] [client 192.168.98.104:50621] PHP Warning:  include_once(): Failed opening 'LEGACY_ROOT/lib/CATSUtility.php' for inclusion (include_path='.:/usr/share/php') in /var/www/oc/rss/index.php on line 37
[Tue Jan 18 21:34:21.322432 2022] [php7:error] [pid 53737] [client 192.168.98.104:50621] PHP Fatal error:  Uncaught Error: Class 'CATSUtility' not found in /var/www/oc/rss/index.php:38\nStack trace:\n#0 {main}\n  thrown in /var/www/oc/rss/index.php on line 38
riiwjohnson commented 2 years ago

The line include_once('config.php'); is missing and needs inserted above the include_once(LEGACY_ROOT . '/lib/CATSUtility.php'); line. in the rss/index.php file