I can use the forums normally from my phone. But from my PC, using Firefox, Edge or Chrome it's not usable because I obtain often a Database Error, telling me to report this To an administrator. I tried several things as changing user, resetting the cache... until now nothing works except my phone browser !
Works OK here with Firefox 87 on Windows 7 and Windows 10
Works also nice for me...
works OK here, either from phone or Windows 7 with Firefox.
I continue to have problems and now also from my phone. I have the feeling that it comes from my internet link because it's happen when i use my box. This message is written directly using mobile data on my phone and stopping wifi connection. Quite strange because only the connection to codebblocks forums has this Database Error. All other Internet links work...
I also can't read the forum. If I clear the site data and log in again, I can load maybe 1 page before I get nothing but database error messages.
I see some icon issue:
Do you guys have your own forum icon?
I see most of the forum users have a "Question mark icon". For example, in this thread, New Pagodi, gd_on, BlueHazzard and Miguel Gimenez's icon are all question marks.
I can see my own icon shown correctly.
I have no avatar set (no icons) . But some other users have the same configuration and forums work for them. More, if you see a question mark you see the forums with the new look? For me, that was the case last week during 3 or 4 days but now i see them with the old look. But this is not the real problem even if i don't see in my profile if i can change that. As told before the only way i found to communicate with forums is through mobile data on my phone... it's realy tedious!
Could you hook your PC to the mobile data and open the forum like that? I suspect your ISP might be doing something...
In an ideal situation you could compare the network requests and the received page contents via your ISP and your mobile data.
Yes, I'm able to connect to the C::B forums through mobile data of my phone. But I have to do that from an other PC because my main one is a desktop without bluetooth !
On that other PC, a laptop, I have to connect it to my phone via bluetooth, declare my phone to share the internet connection via mobile data.
OK ... but it's also tedious, and apparently I'm not alone with this problem : New Pagody seems to have the same problem. And of course, only guys able to connect to forums can tell you that they have a problem ! Sometimes, it seems to work, but in the "best" case, after filling a new post, you obtain this Database Error when clicking on the "post" button ! very frustrating !
"Database Error" sounds like something failing on the server, which doesn't seem like something related to the connection between you and the server.
I agree with you.
But why using mobile data from my phone works and standard internet access from my PCs does not (laptop, desktop and even my phone if I use Wifi to use my box). Not easy to understand.
It's also true that this happend after the switch to a new forum look, and switch back to the old look. But, is it related ?
More, I obtain also this "database error" when I am connected as a guest, not with my account.
I have also remarked that at the bottom of the main forums page, I can see that the number of guest is generally quite high but the number of registered connected users is generally very low (2 or 3 max). If I remember well, it was not like that. But this is just a feeling, maybe. Have you connection statistics to see this: This may indicate some connections problems.
PS : re-reding https://forums.next.codeblocks.org/index.php/topic,24422.msg166571.html#msg166571, I see how to switch between forum looks. But, the problem is not there !
An interesting test : on the SMF forum itself, for example on https://www.simplemachines.org/community/index.php, I have no such problems. So, my feeling is that there is something wrong on the C::B forum server. A problem during last week migration maybe.
May be I have found a way to make it work again on my PC. Just a workaround ?
In the configuration of my Ethernet card, I desactivated Internet protocol IpV6 to keep only IpV4 activated. Like that, it seems it work. Very strange !
My ISP does not have ipv6 so i can not test this...
This could very well be the reason, I also don't have an IPv6 address... Hmmm!
ipv6 does seem to be the problem. Based on this post (https://www.reddit.com/r/ipv6/comments/a1srbp/firefox_addon_to_downgrade_ipv6_website_to_ipv4/), in firefox's about:config page, I created the new field
network.dns.ipv4OnlyDomains
and set its value to
forums.next.codeblocks.org and I can browse the forum again.
Cool for firefox. Do you know how to do the same configuration in other browsers : chrome, Edge, ... Of course, in Ethernet configuration, but it switch off all ipv6, so less elegant !
Also, an other problem, but on the wiki this time. I can navigate it, but I can't connect to the wiki (in case I want to modify/add something) : top button "Anonymous" does not do anything. Did I forget something (how to connect) or is it a migration problem ?
From the news, https://www.codeblocks.org/post/infrastructure-migration/ (https://www.codeblocks.org/post/infrastructure-migration/):
QuoteDuring the migration, the forums will be in maintenance mode (no new posts) and the wiki will be in read-only mode.
Looks like it is still in read only mode.
In the last few weeks I had a lot of with the CB forum using Win7 and Firefox (latest) but no issues using Win10 and Edge (latest). I fix my issues on Win7 using the instruction in
https://support.mozilla.org/en-US/kb/firefox-cant-load-websites-other-browsers-can#w_ipv6
I set in about:config
network.dns.disableIPv6
to
true
and now everything is working fine.
Hope this helps
I suspect the server code is asking Cloudflare for the origin IPv4 and getting an empty result back when the connection is purely IPv6, which leads to the database error when the server is trying to track active users/guests. (I had this issue in a different project using Cloudflare, we had to ignore IPv6 users in the end...)
"Forum stats" panel really doesn't like quotes:
Latest Post: "Re: Error "quotThe project ..."
there's an extra "quot" word.
The original post name is
Re: Error "The project file does not exist ..." when trying to open multiple project
After running this for some time now, i can confirm that i am still affected by that Database Error problem. Basically i can open a few threads, then i am greeted with the message:
Database Error
Please try again. If you come back to this error screen, report the error to an administrator.
Using the above mentioned method to enforce the usage of IPv4 for forums.next.codeblocks.org solves the issue for me on the Desktop. However, i cannot change this setting on my mobile browser so i am still locked out on my mobile phone. This is the only website i experience this problem so im pretty sure this is a problem on your side. What i do not understand is why aren't there more reports about this? IPv6 connections should be pretty common these days, there should be more people affected?
At least now the IP shown when posting is correct.
I enable this option in my Firefox, but I still see this error.
I never see this error before, it only starts from tomorrow.
Sometimes, I can only reply, and some times I can't. I can't start a new thread in the "Help" user forums. Not sure why.
EDIT: for me, I see "network.dns.disableIPv6" is not the cause of the database error, it is some url text pattern error, see my next post.
I found a very strange issue, if my post contains such string, then, I will get the database error:
see the image shot below:
So, it means some special web link text pattern will cause the database error. :(
The problem may be with the square brackets or the strange character – , checking the modified link:
Bug 49951 <4.5/4.6/4.7 Regression> Debug stepping behavior regarding g++ Class destructor has changed for the worse starting at gcc 4.5.0 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49951)
Quote from: Miguel Gimenez on April 17, 2021, 11:26:00 AM
The problem may be with the square brackets or the strange character – , checking the modified link:
Bug 49951 <4.5/4.6/4.7 Regression> Debug stepping behavior regarding g++ Class destructor has changed for the worse starting at gcc 4.5.0 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49951)
Good catch!
I can confirm this is the true problem of my "database error" issue.
Thanks.
I think you are mixing two problems.
One of them is the IPv6 issue.
After a transition period of 23 years for IPv6, the ISPs in my region (Germany) only use DS-Lite for new (private) contracts.
I just tried to use the search function with a DS-Lite -> database error
Then tried to use the search function with a Dual-Stack -> worked after telling firefox network.dns.disableIPv6 = true
Then tried to use the search function with an old Telekom 8!!MBit DSL with only IPv4 Support -> worked well.
The problem seems to be the missing IPv6 support in SMF 2.0. Found something here https://www.simplemachines.org/community/index.php?topic=575249.msg4071226#msg4071226 (https://www.simplemachines.org/community/index.php?topic=575249.msg4071226#msg4071226)...
PHP should not be the problem, because the server uses v7.3.24
This seems to be a solution... https://custom.simplemachines.org/mods/index.php?mod=3051
best would be to update to SMF 2.1, but there is no official release...