How to fix troubel upload file

Please help. We are having problems with the upload form not appearing. I wonder why, thank you

OJS : 3.3.0.10
PHP : 7.3

error code

[Mon Oct 21 04:42:19.866083 2024] [fcgid:warn] [pid 568952] [client 103.106.72.6:53636] mod_fcgid: stderr: #4 /home/ojstes/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php(276): CategoryGridHandler->_rend in /home/ojstes/public_html/lib/pkp/controllers/grid/files/SubmissionFilesCategoryGridDataProvider.inc.php on line 131, referer:
[Mon Oct 21 04:42:19.866074 2024] [fcgid:warn] [pid 568952] [client 103.106.72.6:53636] mod_fcgid: stderr: #3 /home/ojstes/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php(453): CategoryGridHandler->_renderCategoryInternally(Object(Request), Object(SelectableSubmissionFileListCategoryGridRow)), referer:
[Mon Oct 21 04:42:19.866065 2024] [fcgid:warn] [pid 568952] [client 103.106.72.6:53636] mod_fcgid: stderr: #2 /home/ojstes/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php(473): CategoryGridHandler->getGridCategoryDataElements(Object(Request), 4), referer:
[Mon Oct 21 04:42:19.866056 2024] [fcgid:warn] [pid 568952] [client 103.106.72.6:53636] mod_fcgid: stderr: #1 /home/ojstes/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php(124): CategoryGridHandler->loadCategoryData(Object(Request), 4, Array), referer:
[Mon Oct 21 04:42:19.866046 2024] [fcgid:warn] [pid 568952] [client 103.106.72.6:53636] mod_fcgid: stderr: #0 /home/ojstes/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php(402): SubmissionFilesCategoryGridDataProvider->loadCategoryData(Object(Request), 4, Array), referer:
[Mon Oct 21 04:42:19.866036 2024] [fcgid:warn] [pid 568952] [client 103.106.72.6:53636] mod_fcgid: stderr: Stack trace:, referer:

Hi @mcahyoko,

That does’t include the full error message; please include more of the error log from the time that you encountered the problem.

Regards,
Alec Smecher
Public Knowledge Project Team

[Wed Oct 23 07:54:41.155022 2024] [fcgid:warn] [pid 793192] [client 103.106.72.6:52582] mod_fcgid: stderr: #5 /h in /home/ojstes/public_html/lib/pkp/controllers/grid/files/SubmissionFilesCategoryGridDataProvider.inc.php on line 131, referer: https://journal2.unusa.ac.id/index.php/IJMLST/workflow/index/5864/4
[Wed Oct 23 07:54:41.155013 2024] [fcgid:warn] [pid 793192] [client 103.106.72.6:52582] mod_fcgid: stderr: #4 /home/ojstes/public_html/lib/pkp/classes/core/PKPComponentRouter.inc.php(257): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array), referer: https://journal2.unusa.ac.id/index.php/IJMLST/workflow/index/5864/4
[Wed Oct 23 07:54:41.155004 2024] [fcgid:warn] [pid 793192] [client 103.106.72.6:52582] mod_fcgid: stderr: #3 /home/ojstes/public_html/lib/pkp/classes/core/PKPRouter.inc.php(395): ManageFinalDraftFilesGridHandler->updateFinalDraftFiles(Array, Object(Request)), referer: https://journal2.unusa.ac.id/index.php/IJMLST/workflow/index/5864/4
[Wed Oct 23 07:54:41.154995 2024] [fcgid:warn] [pid 793192] [client 103.106.72.6:52582] mod_fcgid: stderr: #2 /home/ojstes/public_html/lib/pkp/controllers/grid/files/final/ManageFinalDraftFilesGridHandler.inc.php(68): CategoryGridHandler->getGridCategoryDataElements(Object(Request), 4), referer: https://journal2.unusa.ac.id/index.php/IJMLST/workflow/index/5864/4
[Wed Oct 23 07:54:41.154986 2024] [fcgid:warn] [pid 793192] [client 103.106.72.6:52582] mod_fcgid: stderr: #1 /home/ojstes/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php(124): CategoryGridHandler->loadCategoryData(Object(Request), 4, Array), referer: https://journal2.unusa.ac.id/index.php/IJMLST/workflow/index/5864/4
[Wed Oct 23 07:54:41.154976 2024] [fcgid:warn] [pid 793192] [client 103.106.72.6:52582] mod_fcgid: stderr: #0 /home/ojstes/public_html/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php(402): SubmissionFilesCategoryGridDataProvider->loadCategoryData(Object(Request), 4, Array), referer: https://journal2.unusa.ac.id/index.php/IJMLST/workflow/index/5864/4
[Wed Oct 23 07:54:41.154968 2024] [fcgid:warn] [pid 793192] [client 103.106.72.6:52582] mod_fcgid: stderr: Stack trace:, referer: https://journal2.unusa.ac.id/index.php/IJMLST/workflow/index/5864/4

Hi @mcahyoko,

You still haven’t included the actual error message – only the stack trace that goes with it.

Regards,
Alec Smecher
Public Knowledge Project Team

Sorry, what error should I attach because when I inspected the response did not appear?

Hi @mcahyoko,

Your previous quotes from the PHP error log were good, but didn’t include all the information relevant to the error message. You just need to include a few more lines from the error log around the stack trace (the part that counts up from #0).

Regards,
Alec Smecher
Public Knowledge Project Team

Hi,

Can you disable the plugin Publon and Clam antivirus plugin.

After disabling please check now, whether authors can upload the files or not.

sorry, can you give an example?

sorry we don’t use that plugin

Hi @mcahyoko,

To pick an error message totally at random, here’s an example (from StackOverflow.com):

PHP Fatal error:  Uncaught Error: Call to undefined method stdClass::get_rest_controller() in /home/abc/domains/mydomain.com/public_html/wp-includes/rest-api.php:2209
Stack trace:
#0 /home/abc/domains/mydomain.com/public_html/wp-includes/rest-api.php(2245): rest_get_route_for_term(Object(WP_Term))
#1 /home/abc/domains/mydomain.com/public_html/wp-includes/rest-api.php(943): rest_get_queried_resource_route()
#2 /home/abc/domains/mydomain.com/public_html/wp-includes/class-wp-hook.php(285): rest_output_link_header()
#3 /home/abc/domains/mydomain.com/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#4 /home/abc/domains/mydomain.com/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#5 /home/abc/domains/mydomain.com/public_html/wp-includes/template-loader.php(13): do_action('template_redire...')
#6 /home/abc/domains/mydomain.com/public_html/wp-blog-header.php(19): require_once('/home/abc/domai...')
#7 /home/abc/domains/mydomain in /home/abc/domains/mydomain.com/public_html/wp-includes/rest-api.php on line 2209

As you can see, there’s a message (PHP Fatal error) followed by 8 lines of stack trace (#0 - #7).

Your error log is a little different, since messages containing multiple lines are logged bottom to top, but you can see a similar pattern in yours (stack trace lines #4, #3, #2, #1, #0 in your first post). What’s missing is the Fatal Error line (or similar), which will appear just before or after the #0 stack trace line.

Regards,
Alec Smecher
Public Knowledge Project Team

Sorry, I checked and it wasn’t there

Hi @mcahyoko,

It’ll be there; without the error message, it’ll be impossible to debug the problem you’re encountering. (If you’re not sure what part of the log to include, you could PM me with the whole thing.)

Regards,
Alec Smecher
Public Knowledge Project Team