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: 625
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Ajax error clearing notifications/cookies

Post by nhseacoast »

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
http://nhgunforum.com phpBB v3.2.1
http://wtprise.org phpBB v3.3.2
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26505
Joined: Fri Aug 29, 2008 9:49 am

Re: Ajax error clearing notifications/cookies

Post by Mick »

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©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
nhseacoast
Registered User
Posts: 625
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Ajax error clearing notifications/cookies

Post by nhseacoast »

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
http://nhgunforum.com phpBB v3.2.1
http://wtprise.org phpBB v3.3.2
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26505
Joined: Fri Aug 29, 2008 9:49 am

Re: Ajax error clearing notifications/cookies

Post by Mick »

Yes but don’t overwrite config.php.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
nhseacoast
Registered User
Posts: 625
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Ajax error clearing notifications/cookies

Post by nhseacoast »

Strangely, I do not have the "without BOM" option.
notpad++.png
http://nhgunforum.com phpBB v3.2.1
http://wtprise.org phpBB v3.3.2
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26505
Joined: Fri Aug 29, 2008 9:49 am

Re: Ajax error clearing notifications/cookies

Post by Mick »

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©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
nhseacoast
Registered User
Posts: 625
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Ajax error clearing notifications/cookies

Post by nhseacoast »

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".
http://nhgunforum.com phpBB v3.2.1
http://wtprise.org phpBB v3.3.2
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26505
Joined: Fri Aug 29, 2008 9:49 am

Re: Ajax error clearing notifications/cookies

Post by Mick »

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©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
nhseacoast
Registered User
Posts: 625
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Ajax error clearing notifications/cookies

Post by nhseacoast »

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?
http://nhgunforum.com phpBB v3.2.1
http://wtprise.org phpBB v3.3.2
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26505
Joined: Fri Aug 29, 2008 9:49 am

Re: Ajax error clearing notifications/cookies

Post by Mick »

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©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
User avatar
nhseacoast
Registered User
Posts: 625
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Ajax error clearing notifications/cookies

Post by nhseacoast »

Will do. I was just grasping at straws. Thank you for your help and time.
http://nhgunforum.com phpBB v3.2.1
http://wtprise.org phpBB v3.3.2
User avatar
nhseacoast
Registered User
Posts: 625
Joined: Sun Sep 22, 2002 10:31 pm
Location: NH, USA
Contact:

Re: Ajax error clearing notifications/cookies

Post by nhseacoast »

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
http://nhgunforum.com phpBB v3.2.1
http://wtprise.org phpBB v3.3.2
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26505
Joined: Fri Aug 29, 2008 9:49 am

Re: Ajax error clearing notifications/cookies

Post by Mick »

nhseacoast wrote: Tue Oct 24, 2017 8:16 pmthe 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©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel
Post Reply

Return to “[3.2.x] Support Forum”