Top Poster Of The Month

SyntaxError: JSON.parse: unexpected character at line1 col1 - Top Poster Of The Month

Re: SyntaxError: JSON.parse: unexpected character at line1 c

by bug-i » Tue Jul 07, 2020 6:36 am

dont worry, no need to rush..
bug-i
Registered User
Posts: 166
Joined: Fri Feb 17, 2017 12:45 pm

Re: SyntaxError: JSON.parse: unexpected character at line1 c

by bug-i » Tue Sep 01, 2020 8:19 am

I can now confirm our suggestion. THis only happens during the change of the month and only as long as no one has posted. As soon as there is a new post in the new month - the error is gone.
screenshot1.jpg
screenshot2.jpg
bug-i
Registered User
Posts: 166
Joined: Fri Feb 17, 2017 12:45 pm

Re: SyntaxError: JSON.parse: unexpected character at line1 c

by 3Di » Wed Sep 02, 2020 7:48 pm

Fix compatibility with phpBB 3.3.x and PHP 7.4.x
As per: https://phpbbstudio.com/viewtopic.php?p=2903#p2903

Replace the file

ROOT\ext\threedi\tpotm\core\tpotm.php

with the file contained in the below archive (unzip it first)

core_tpotm_php.zip
(5.59 KiB) Downloaded 259 times

Tested with phpBB 3.3.1 and PHP 7.4.7, MySql 8.0.20

Ref.: https://github.com/3D-I/tpotm/issues/69
๐Ÿ†“ Free support for our extensions also provided here: phpBB Studio
๐Ÿš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ยบ PhpStorm's proud user ยบ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: SyntaxError: JSON.parse: unexpected character at line1 c

by 3Di » Mon Sep 14, 2020 7:19 am

Any feedback?
๐Ÿ†“ Free support for our extensions also provided here: phpBB Studio
๐Ÿš€ Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity ยบ PhpStorm's proud user ยบ Extensions, Scripts, MOD porting, Update/Upgrades
User avatar
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: SyntaxError: JSON.parse: unexpected character at line1 c

by Lord Phobos » Sat Jan 07, 2023 9:37 pm

PHP Version 8.1.13 and experiencing exactly this issue.

EDIT: now I try with the "new" file.

EDIT2: forum gone in "error 500". :-|

EDIT3: restored old file, made a post, error gone.
Lord Phobos
Registered User
Posts: 935
Joined: Tue May 18, 2004 11:41 pm

Re: SyntaxError: JSON.parse: unexpected character at line1 c

by Lord Phobos » Sun Oct 08, 2023 8:23 pm

There is no fix to the "no post in the month issue"?
Lord Phobos
Registered User
Posts: 935
Joined: Tue May 18, 2004 11:41 pm

Re: SyntaxError: JSON.parse: unexpected character at line1 c

by Lord Phobos » Fri Nov 10, 2023 7:15 pm

Sigh.
Lord Phobos
Registered User
Posts: 935
Joined: Tue May 18, 2004 11:41 pm

Re: SyntaxError: JSON.parse: unexpected character at line1 c

by RMcGirr83 » Sat Nov 11, 2023 2:15 pm

Try these edits. This extension's code really isn't good.

https://github.com/rmcgirr83/tpotm/comm ... 64ca1d4385
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer ๐Ÿบ
User avatar
RMcGirr83
Former Team Member
Posts: 22061
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: SyntaxError: JSON.parse: unexpected character at line1 c

by Lord Phobos » Sat Nov 11, 2023 4:11 pm

Thanks, I'll try.
Lord Phobos
Registered User
Posts: 935
Joined: Tue May 18, 2004 11:41 pm