|
|
|
Re: Multiple issues on the registration page |
Tue, 03 July 2018 03:12 |
|
Coretext03 wrote:Cuz I got the error "You cannot use links until you have posted more than 2 messages." error.) But its part of the logs so I'm not sure I can just remove them.
This is a setting in Admin Control Panel -> Global Settings Manager -> 'Messages Before Allowing Links'.
Coretext03 wrote:I've manually copied and pasted the fixed code and rebooted the server, but still says "Array". (If there is a better, another way to implement the fix instead of copying/pasting please let me know.
After changing templates, you need to rebuild them in Admin Control Panel -> Theme Manager.
Coretext03 wrote:Then I attempted to register
...
Call to undefined function json_decode()
This is a PHP and not a FUDforum problem. See solution at https://stackoverflow.com/questions/18239405/php-fatal-error-call-to-undefi ned-function-json-decode
|
|
Re: Multiple issues on the registration page |
Mon, 02 July 2018 19:22 |
|
Quote:Fix for (1) is at https://sourceforge.net/p/fudforum/code/6171/
I've manually copied and pasted the fixed code and rebooted the server, but still says "Array". (If there is a better, another way to implement the fix instead of copying/pasting please let me know. I'm still newish to how this forum works.)
Quote:For (2) we need more details, please check your web server's log.
The following is the output of "tail httpd-error.log" when I've implemented the captcha fix and rebooted the server.
[Mon Jul 02 15:38:03.851774 2018] [core:notice] [pid 4785] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Mon Jul 02 15:38:48.288384 2018] [mpm_prefork:notice] [pid 4785] AH00169: caught SIGTERM, shutting down
[Mon Jul 02 15:39:56.222643 2018] [mpm_prefork:notice] [pid 801] AH00163: Apache/2.4.33 (FreeBSD) OpenSSL/1.0.2k-freebsd PHP/5.6.35 configured -- resuming normal operations
[Mon Jul 02 15:39:56.228434 2018] [core:notice] [pid 801] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Mon Jul 02 15:42:03.880133 2018] [:error] [pid 873] [client 41.210.155.141:25546] script '/usr/local/www/apache24/data/wp-login.php' not found or unable to stat
[Mon Jul 02 15:43:09.192295 2018] [:error] [pid 869] [client 89.229.244.30:50607] script '/usr/local/www/apache24/data/wp-login.php' not found or unable to stat
[Mon Jul 02 15:44:33.173176 2018] [:error] [pid 871] [client 173.244.44.51:49340] PHP Notice: Array to string conversion in /usr/local/www/apache24/data/theme/default/register.php on line 3108, referer: https://urlredacted.org/index.php?t=pre_reg&
[Mon Jul 02 15:44:36.918194 2018] [:error] [pid 870] [client 177.96.181.251:55359] script '/usr/local/www/apache24/data/wp-login.php' not found or unable to stat
[Mon Jul 02 15:47:42.907076 2018] [:error] [pid 886] [client 40.77.167.130:15263] PHP Fatal error: Call to undefined function utf8_encode() in /usr/local/www/apache24/FUDforum/include/fpdf.inc on line 241
[Mon Jul 02 15:47:48.928394 2018] [:error] [pid 885] [client 40.77.167.130:18368] PHP Fatal error: Call to undefined function utf8_encode() in /usr/local/www/apache24/FUDforum/include/fpdf.inc on line 241
Then I attempted to register(which failed), and here is the new error. (I've disabled the captcha in order to attempt the registration.)
[Mon Jul 02 15:53:12.917301 2018] [:error] [pid 884] [client 173.244.44.51:49454] PHP Fatal error: Call to undefined function json_decode() in /usr/local/www/apache24/FUDforum/plugins/stopforumspam.plugin on line 18, referer: https://urlredacted.org/index.php?t=register&®_coppa=0
Quote:(3) may be a template error (test with default template) or invalid locale (Admin Control Panel -> Theme Manager).
I am on the default template, and the locale is en_US.UTF-8. I looked at the locale of the FreeBSD server and it does look weird, but I'm not sure if the server locale interferes with the forum's locale.
PS, Is there a way I can donate to the FUDforum project?
|
|
Re: Multiple issues on the registration page |
Mon, 02 July 2018 19:22 |
|
Message number 2.
(Cuz I got the error "You cannot use links until you have posted more than 2 messages." error.) But its part of the logs so I'm not sure I can just remove them.
|
|
|
Re: Multiple issues on the registration page |
Mon, 02 July 2018 02:44 |
|
Look like (1) is a bug. The temp workaround is to enable the "Recaptcha" plugin. I will post a fix later.
For (2) we need more details, please check your web server's log.
(3) may be a template error (test with default template) or invalid locale (Admin Control Panel -> Theme Manager).
|
|
Multiple issues on the registration page |
Sun, 01 July 2018 14:56 |
|
I have been dealing with various issues on my forum server and the following are the few that I have been unable to fix...
1. On the forum registration page, the CAPTCHA is missing and in its place is the text "Array". Previous to upgrading to 3.0.9 from 3.0.6, the text CAPTCHA worked fine. I have installed php56-gd to see if it'll work now with graphic support for the CAPTCHA, but no dice.
2. While on version 3.0.6, upon submitting the registration info the page loads for a while and then returns with HTTP ERROR 500. This issue persisted in version 3.0.9(after the captcha is disabled).
3. The current time at the bottom just shows "Current Time: Sun Jul #d 11:46:15 PDT 2018". I have been unable to fix it so that it shows the correct day and time. (Changing the time zone in Global Settings Manager didn't work.)
Any help is greatly appreciated.
|
|