Database problem

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
Thunde
Registered User
Posts: 263
Joined: Fri Aug 28, 2020 2:30 pm

Database problem

Post by Thunde »

Hi, I had the forum closed for 3 days due to an error (I don't know what it was, related to the database) now I made an older backup I go into it, but when I enter a topic I have this error
Image

forum address: https://www.metin4you.ro/
phpbb : 3.3.5
theme: milk v2 (and so does the prosilver)
User avatar
warmweer
Jr. Extension Validator
Posts: 11285
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Database problem

Post by warmweer »

Thunde wrote: Wed Jan 26, 2022 8:01 am Hi, I had the forum closed for 3 days due to an error (I don't know what it was, related to the database) now I made an older backup I go into it, but when I enter a topic I have this error
...
Posting the error as text using code tags is usually clearer than a picture
For one: that older backup, is that a database backup only or also a files backup?
Reason = styles/Milk_v2/theme/ro/stylesheet.css seems to be missing

Also you have a lot of extensions: are they all phpBB 3.3.5 compatible? ( check Who visited this topic).
Also are they all compatible with PHP 7.4.27 ?
You could try disabling all extension at once, and then enable them one at a time.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
Thunde
Registered User
Posts: 263
Joined: Fri Aug 28, 2020 2:30 pm

Re: Database problem

Post by Thunde »

Also you have a lot of extensions: are they all phpBB 3.3.5 compatible? ( check Who visited this topic).Yes
Also are they all compatible with PHP 7.4.27 ? Yes
did I remove the extensions, do I have to delete the data as well?
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5885
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Database problem

Post by thecoalman »

Looking this error up I'm presuming your host upgraded MySQL. The ONLY_FULL_GROUP_BY is stricter default mode in higher versions of MySQL. Looking in phBB's bug tracker there is some older tickets related to this but nothing recent. As warmweer suggested it's likely related to an extension that has incorrect query syntax using that mode.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5885
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Database problem

Post by thecoalman »

Thunde wrote: Wed Jan 26, 2022 8:47 am do I have to delete the data as well?
If it's only one extension and you can get into ACP try disabling it. Purge phpBB'S cache afterward.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
warmweer
Jr. Extension Validator
Posts: 11285
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

Re: Database problem

Post by warmweer »

Thunde wrote: Wed Jan 26, 2022 8:47 am did I remove the extensions, do I have to delete the data as well?
I take it you removed the extensions, meaning deleting the extension files.

Adding to thecoalman's information: if you have removed extensions, then

The correct way of doing that =
1: disable the extension (ACP)
2: delete data (ACP)
3: delete extension files (server)

So you should put back the files of any extension you disabled and removed without having deleted data, and then remove them the proper way.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
Thunde
Registered User
Posts: 263
Joined: Fri Aug 28, 2020 2:30 pm

Re: Database problem

Post by Thunde »

You're right it's from an extension
Thanks for the advice, now I'm trying to see what it is
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5885
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Database problem

Post by thecoalman »

Thunde wrote: Wed Jan 26, 2022 8:47 am ( check Who visited this topic).Yes
It is that extension, there is fix here:

https://www.phpbb.com/customise/db/exte ... pic/227356
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
Thunde
Registered User
Posts: 263
Joined: Fri Aug 28, 2020 2:30 pm

Re: Database problem

Post by Thunde »

thecoalman wrote: Wed Jan 26, 2022 9:03 am
Thunde wrote: Wed Jan 26, 2022 8:47 am ( check Who visited this topic).Yes
It is that extension, there is fix here:

https://www.phpbb.com/customise/db/exte ... pic/227356
Thanks, you're a wonderful man
User avatar
janus_zonstraal
Registered User
Posts: 6427
Joined: Sat Aug 30, 2014 1:30 pm

Re: Database problem

Post by janus_zonstraal »

How old is that database backup?
I think that it is better to solved your problem than putting back a (very) old backup.
Sorry! My English is bat ;) !!!
Thunde
Registered User
Posts: 263
Joined: Fri Aug 28, 2020 2:30 pm

Re: Database problem

Post by Thunde »

janus_zonstraal wrote: Wed Jan 26, 2022 9:28 am How old is that database backup?
I think that it is better to solved your problem than putting back a (very) old backup.
I solved the problem for the most part, I only have 2 forums left that don't work
https://i.postimg.cc/02dSxnQ0/image.png
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5885
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Database problem

Post by thecoalman »

Try purging phpBB's cache.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
Thunde
Registered User
Posts: 263
Joined: Fri Aug 28, 2020 2:30 pm

Re: Database problem

Post by Thunde »

Post Reply

Return to “[3.3.x] Support Forum”