Ajax error clearing notifications/cookies

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
User avatar
nhseacoast
Registered User
Posts: 465
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Ajax error clearing notifications/cookies

Post by nhseacoast » Fri Oct 20, 2017 1:51 pm

A while ago. Made some changes I got from Dion Designs to automatically resize uploaded avatars.

Other than that, none that I can think of.

Files edited were:

includes/functions_posting.php
phpbb/avatar/driver/upload.php

User avatar
Mick
Support Team Member
Support Team Member
Posts: 18034
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Ajax error clearing notifications/cookies

Post by Mick » Sat Oct 21, 2017 11:16 am

A quick check you can try is rename those two files and replace them with fresh copies from the phpBB download, you can change them back easily if it doesn’t clear the error. What are you using to edit the php files and or what method?

See Knowledge Base - phpBB3 and UTF-8 without BOM.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.
Forza Garibaldi

User avatar
nhseacoast
Registered User
Posts: 465
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Ajax error clearing notifications/cookies

Post by nhseacoast » Tue Oct 24, 2017 5:24 pm

Mick wrote:
Sat Oct 21, 2017 11:16 am
A quick check you can try is rename those two files and replace them with fresh copies from the phpBB download, you can change them back easily if it doesn’t clear the error. What are you using to edit the php files and or what method?

See Knowledge Base - phpBB3 and UTF-8 without BOM.
I did just that. Replaced with originals, purged the cache and retried. Same error. Also happens in the ACP when trying to deactivate or delete a custom profile field.
Would it be safe to just upload the original 3.2.1 package and overwrite all files?

I use Notepad++ to edit php

User avatar
Mick
Support Team Member
Support Team Member
Posts: 18034
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Ajax error clearing notifications/cookies

Post by Mick » Tue Oct 24, 2017 6:01 pm

Yes but don’t overwrite config.php.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.
Forza Garibaldi

User avatar
nhseacoast
Registered User
Posts: 465
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Ajax error clearing notifications/cookies

Post by nhseacoast » Tue Oct 24, 2017 7:59 pm

Strangely, I do not have the "without BOM" option.
notpad++.png

User avatar
Mick
Support Team Member
Support Team Member
Posts: 18034
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Ajax error clearing notifications/cookies

Post by Mick » Tue Oct 24, 2017 8:08 pm

They changed the drop down name to just UTF-8 in notepad++ since version 6.8.1.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.
Forza Garibaldi

User avatar
nhseacoast
Registered User
Posts: 465
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Ajax error clearing notifications/cookies

Post by nhseacoast » Tue Oct 24, 2017 8:16 pm

Ok thank you. That's what I figured. What confused me a bit was the article you pointed to had both "UTF-8 without BOM" and "UTF-8".

User avatar
Mick
Support Team Member
Support Team Member
Posts: 18034
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Ajax error clearing notifications/cookies

Post by Mick » Tue Oct 24, 2017 8:20 pm

No idea why they suddenly changed it but I suppose if it defaults to without BOM everybody is happy. More info available on the notepad++ site.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.
Forza Garibaldi

User avatar
nhseacoast
Registered User
Posts: 465
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Ajax error clearing notifications/cookies

Post by nhseacoast » Tue Oct 24, 2017 8:25 pm

Just to be clear before I go and overwrite my entire board... there's no chance of it being a server php setting or htaccess issue?

User avatar
Mick
Support Team Member
Support Team Member
Posts: 18034
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Ajax error clearing notifications/cookies

Post by Mick » Tue Oct 24, 2017 8:38 pm

Server (PHP) set up is beyond the scope of these forums. Why do you think .htacces might be a problem?

If you make a full backup before you replace all the files you can always revert.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.
Forza Garibaldi

User avatar
nhseacoast
Registered User
Posts: 465
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Ajax error clearing notifications/cookies

Post by nhseacoast » Tue Oct 24, 2017 8:50 pm

Will do. I was just grasping at straws. Thank you for your help and time.

User avatar
nhseacoast
Registered User
Posts: 465
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Ajax error clearing notifications/cookies

Post by nhseacoast » Wed Oct 25, 2017 12:39 am

Thanks again y'all. The education on the BOM helped. I reuploaded everything but the config.php and .htaccess and it cured the problem. :D

User avatar
Mick
Support Team Member
Support Team Member
Posts: 18034
Joined: Fri Aug 29, 2008 9:49 am
Location: Cardiff

Re: Ajax error clearing notifications/cookies

Post by Mick » Wed Oct 25, 2017 11:02 am

nhseacoast wrote:
Tue Oct 24, 2017 8:16 pm
the article you pointed to had both "UTF-8 without BOM" and "UTF-8".
Cheers, I’ve edited the KB to reflect the changes in Notepad++.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.
Forza Garibaldi

Post Reply

Return to “[3.2.x] Support Forum”

Who is online

Users browsing this forum: azzer2727, invenio, mrix2000, tamarin and 17 guests

cron