- 19 Jan 2024, 12:07
#5489
Hi,
I'm planning to use a XML feed for presenting vacancies on the website.
When I use [domainname]/xml on a hosted server I get a Server 500 error.
Working on a local Xampp with PHP7.2.0 I get the following errors:
Warning: Use of undefined constant LEGACY_ROOT - assumed 'LEGACY_ROOT' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\Cats\xml\index.php on line 37
Warning: include_once(LEGACY_ROOT/lib/CATSUtility.php): failed to open stream: No such file or directory in C:\xampp\htdocs\Cats\xml\index.php on line 37
Warning: include_once(): Failed opening 'LEGACY_ROOT/lib/CATSUtility.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\Cats\xml\index.php on line 37
Fatal error: Uncaught Error: Class 'CATSUtility' not found in C:\xampp\htdocs\Cats\xml\index.php:38 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Cats\xml\index.php on line 38
I used the XML feed before with 0.9.2 version without any problems so I hope it's a small issue.
With kind regards,
Manuel
I'm planning to use a XML feed for presenting vacancies on the website.
When I use [domainname]/xml on a hosted server I get a Server 500 error.
Working on a local Xampp with PHP7.2.0 I get the following errors:
Warning: Use of undefined constant LEGACY_ROOT - assumed 'LEGACY_ROOT' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\Cats\xml\index.php on line 37
Warning: include_once(LEGACY_ROOT/lib/CATSUtility.php): failed to open stream: No such file or directory in C:\xampp\htdocs\Cats\xml\index.php on line 37
Warning: include_once(): Failed opening 'LEGACY_ROOT/lib/CATSUtility.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\Cats\xml\index.php on line 37
Fatal error: Uncaught Error: Class 'CATSUtility' not found in C:\xampp\htdocs\Cats\xml\index.php:38 Stack trace: #0 {main} thrown in C:\xampp\htdocs\Cats\xml\index.php on line 38
I used the XML feed before with 0.9.2 version without any problems so I hope it's a small issue.
With kind regards,
Manuel