Describe the issue or problem
I have an error in the image below, (If you click the notification button) my PDF file is not working, and I don’t see my articles in issue
Are you able to access your PHP error logs and report on errors found there? Those error messages usually provide more clues as to what the issue occurring is.
[17-Sep-2023 17:18:03 UTC] PHP Fatal error: Uncaught RuntimeException: Unexpected data in output buffer. Maybe you have characters before an opening <?php tag? in /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/lib/vendor/slim/slim/Slim/App.php:621
Stack trace: #0 /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/lib/vendor/slim/slim/Slim/App.php(317): Slim\App->finalize(Object(APIResponse)) #1 /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/classes/core/APIRouter.inc.php(115): Slim\App->run() #2 /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/classes/core/Dispatcher.inc.php(144): APIRouter->route(Object(Request)) #3 /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch(Object(Request)) #4 /home/u879676513/domains/uovl.uk/public_html/journal/index.php(68): PKPApplication->execute() #5 {main}
thrown in /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/lib/vendor/slim/slim/Slim/App.php on line 621
[17-Sep-2023 17:24:00 UTC] ojs2: 404 Not Found
Hello @rcgillis yes i add my doamin and my subdomain in allowed_hosts
But I get this other error repeated several times
[20-Sep-2023 22:02:55 UTC] PHP Fatal error: Uncaught RuntimeException: Unexpected data in output buffer. Maybe you have characters before an opening <?php tag? in /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/lib/vendor/slim/slim/Slim/App.php:621
Stack trace:
#0 /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/lib/vendor/slim/slim/Slim/App.php(317): Slim\App->finalize(Object(APIResponse))
#1 /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/classes/core/APIRouter.inc.php(115): Slim\App->run()
#2 /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/classes/core/Dispatcher.inc.php(144): APIRouter->route(Object(Request))
#3 /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch(Object(Request))
#4 /home/u879676513/domains/uovl.uk/public_html/journal/index.php(68): PKPApplication->execute()
#5 {main}
thrown in /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/lib/vendor/slim/slim/Slim/App.php on line 621
If you’re able to reproduce this error with a specific request, look at the page output and see what is displayed. Do you have any modifications or plugins that generate output where it shouldn’t be? Is it possible that you’ve introduced whitespace accidentally to the start of a .php script?
Regards,
Alec Smecher
Public Knowledge Project Team
Stack trace:
#0 /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/lib/vendor/slim/slim/Slim/App.php(317): Slim\App->finalize(Object(APIResponse))
#1 /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/classes/core/APIRouter.inc.php(115): Slim\App->run()
#2 /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/classes/core/Dispatcher.inc.php(144): APIRouter->route(Object(Request))
#3 /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/classes/core/PKPApplication.inc.php(362): Dispatcher->dispatch(Object(Request))
#4 /home/u879676513/domains/uovl.uk/public_html/journal/index.php(68): PKPApplication->execute()
#5 {main}
thrown in /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/lib/vendor/slim/slim/Slim/App.php on line 621
[23-Sep-2023 22:04:52 UTC] PHP Notice: Undefined index: certification in /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 194
[23-Sep-2023 22:04:52 UTC] PHP Notice: Undefined index: certification in /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 194
[23-Sep-2023 22:04:52 UTC] PHP Notice: Undefined index: certification in /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 194
[23-Sep-2023 22:04:52 UTC] PHP Notice: Undefined index: certification in /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 194
[23-Sep-2023 22:04:52 UTC] PHP Notice: Undefined index: certification in /home/u879676513/domains/uovl.uk/public_html/journal/lib/pkp/classes/plugins/PluginGalleryDAO.inc.php on line 194
[23-Sep-2023 22:05:08 UTC] PHP Warning: Declaration of AddThisSettingsForm::fetch($request) should be compatible with Form::fetch($request, $template = NULL, $display = false) in /home/u879676513/domains/uovl.uk/public_html/journal/plugins/generic/addThis/AddThisSettingsForm.inc.php on line 100
You’ve got spaces appearing before the PDF code starts in the PDF file, which causes the file to seem corrupted. Along with the error message above, I think this means that something has added whitespace to the top of a .php script.