Error in page dashbord admin

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

What application are you using?
OJS 3.3.0.13

Additional information
I have an error in the dashboard, but the error disappears quickly

Help please :pray: :pray: :pray:

Hi @ILYASS_SABER,

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.

-Roger
PKP Team

Hi @rcgillis
thanks for your reply

image

Hello @rcgillis
can you help me please :pray:

Did you configure the allowed_hosts variable in config.inc.php ? See e.g. Server host www.domain.com not allowed!

Hello @mpbraendle @rcgillis
I have another error
see bellow error_log

[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

@mpbraendle @rcgillis
Can you help me please ?

Is the problem with an upgrade?
@rcgillis @mpbraendle

Hi @ILYASS_SABER,

I’m not sure… did you try what was suggested around configuring the allowed_hosts? If so, what was the result?

-Roger
PKP Team

Hello @rcgillis yes i add my doamin and my subdomain in allowed_hosts

But I get this other error repeated several times :point_down: :point_down: :point_down:

[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

Hi @ILYASS_SABER,

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