Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 500 #2

Closed
wezlol opened this issue Feb 12, 2024 · 11 comments
Closed

Error 500 #2

wezlol opened this issue Feb 12, 2024 · 11 comments

Comments

@wezlol
Copy link

wezlol commented Feb 12, 2024

Issue: When I visit some topics of my forum I get a blank screen and 'HTTP ERROR 500'.
Example url: https://m4tr1x.online/forum/showthread.php?tid=68&pid=114

Extra information: Other threads/pages work fine.
Example url: https://m4tr1x.online/forum/showthread.php?tid=103

Admin CP>Configuration>Plugins>
image

Checking whether the cURL extension is loaded...PASS
Checking for the existence of the curl_init() function...PASS
Checking for the successful functioning of single-page, HTTP (non-secure) cURL downloads...PASS
Checking for the successful functioning of single-page, HTTPS (secure) cURL downloads...PASS

from: lkt-curl-functionality-checker.php

Hosting from: https://infinityfree.net/

image

edited with more information

@wezlol
Copy link
Author

wezlol commented Feb 12, 2024

update: I am using a free host / asking the host now

@lairdshaw
Copy link
Collaborator

update: I am using a free host / asking the host now

No worries, let us know if/when you can identify the error more specifically.

@wezlol
Copy link
Author

wezlol commented Feb 13, 2024

I've contacted the host and was able to repair another plugin that displayed the 500 error. However, with this plugin I get these errors:
image
When I click on it I get: (/forum/admin/index.php?module=tools-recount_rebuild)
HTTP ERROR 500

including all threads containing these links

@lairdshaw
Copy link
Collaborator

Unfortunately, without the exact error message, there's not enough to go on (but it does appear that the 500 error is being caused by Link Tools). Can you ask your host to look in the server logs and share with you the error message that accompanies the 500 return?

@lairdshaw
Copy link
Collaborator

4x PASS in the test php.

Just to follow up on this, I presume you mean lkt-curl-functionality-checker.php rather than test.php.

You should have gotten six passes rather than just four. Can you confirm that you only got four instead of six?

@lairdshaw
Copy link
Collaborator

@wezlol please let us know where you're at with this. If you don't respond, I'll assume that this issue can be closed.

@wezlol
Copy link
Author

wezlol commented Mar 7, 2024

I am getting this:

Checking whether the cURL extension is loaded...PASS

Checking for the existence of the curl_init() function...PASS

Checking for the successful functioning of single-page, HTTP (non-secure) cURL downloads...PASS

Checking for the successful functioning of single-page, HTTPS (secure) cURL downloads...PASS

Checking for the successful functioning of multi-page, HTTP (non-secure) cURL downloads...

--

edit: I am changing my SSL certificate now to see if that works
edit2: didnt help

@wezlol
Copy link
Author

wezlol commented Mar 7, 2024

I have enabled PHP debugging and got this:
Fatal error: Uncaught Error: Call to undefined function curl_multi_exec() in /home/vol14_5/epizy.com/epiz_33699107/m4tr1x.2kool4u.net/htdocs/forum/inc/plugins/linktools.php:1665 Stack trace: #0 /home/vol14_5/epizy.com/epiz_33699107/m4tr1x.2kool4u.net/htdocs/forum/inc/plugins/linktools.php(2485): lkt_get_url_redirs(Array, Array, Array, false, true, true, true) #1 /home/vol14_5/epizy.com/epiz_33699107/m4tr1x.2kool4u.net/htdocs/forum/inc/plugins/linktools.php(3033): lkt_get_url_term_redirs(Array, NULL) #2 /home/vol14_5/epizy.com/epiz_33699107/m4tr1x.2kool4u.net/htdocs/forum/inc/plugins/linktools.php(3150): lkt_get_and_store_terms(30, 489) #3 /home/vol14_5/epizy.com/epiz_33699107/m4tr1x.2kool4u.net/htdocs/forum/inc/class_plugins.php(142): lkt_hookin__admin_tools_recount_rebuild('') #4 /home/vol14_5/epizy.com/epiz_33699107/m4tr1x.2kool4u.net/htdocs/forum/admin/modules/tools/recount_rebuild.php(19): pluginSystem->run_hooks(Array) #5 /home/vol14_5/epizy.com/epiz_33699107/m4tr1x.2kool4u.net/htdocs/forum/admin/index.php(830): require('/home/vol14_5/e...') #6 {main} thrown in /home/vol14_5/epizy.com/epiz_33699107/m4tr1x.2kool4u.net/htdocs/forum/inc/plugins/linktools.php on line 1665

@lairdshaw
Copy link
Collaborator

The problem is that the curl_multi_exec() function is not available. This is a built-in PHP function, and is part of the Client URL Library (cURL). Other cURL PHP functions seem to be available given that the first four tests pass, so, presumably, your web host has selectively disabled this one. Check with them to see whether they'll enable it for you.

@lairdshaw
Copy link
Collaborator

@wezlol, again: please let us know where you're at with this. If you don't respond, I'll assume that this issue can be closed.

@lairdshaw
Copy link
Collaborator

Closing due to lack of response. Feel free to reopen again if/when you return, @wezlol.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants