News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

databade error when registering

Started by studentforums, July 11, 2017, 02:49:32 PM

Previous topic - Next topic

studentforums

Am using 2.0.14
When a new member registers they fail with this error

Database Error
Please try again. If you come back to this error screen, report the error to an administrator.

When I go to maintenance - database and run 'Convert HTML Entities to UTF-8 Characters' I get the error

Incorrect string value: '\xE5\x8F\xB0\xE7\x81\xA3...' for column 'website_title' at row 1
File: /var/www/studentforums/Sources/ManageMaintenance.php
Line: 891

How do I allow members to register?
I only help those that help themselves. I suppose I am a bit like GOD that way.
If you realise anything useful, say something useful and help someone else.

Student forum for GCSE, IGCSE, IB, O & A Level and University Students

Sir Osis of Liver

How did you install 2.0.14? 
Link to your forum?
Any mods installed?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

studentforums

I installed using upgrade.php

The forum is at https://studentforums.biz

List of mods

1.    SMF 2.0.13 Update    1.0    [ List Files ] [ Delete ]
2.    Unread and Replies Tabs in Main Menu    3.0    [ List Files ] [ Delete ]
3.    Links Managment    1.0    [ List Files ] [ Delete ]
4.    jsTeX tag    1.1    [ Install Mod ] [ List Files ] [ Delete ]
5.    Thank You Mod    1.2.1    [ List Files ] [ Delete ]
6.    ENotify    2.0.2    [ Install Mod ] [ List Files ] [ Delete ]
7.    Ad Managment    3.2    [ Install Mod ] [ List Files ] [ Delete ]
8.    SMF 1.0.17 / 1.1.9 / 2.0 RC1 Update    1.0    [ List Files ] [ Delete ]
9.    Reg Bar    1.0.2    [ List Files ] [ Delete ]
10.    Auto Embed Video/Audio Clips    4.0.2    [ Install Mod ] [ List Files ] [ Delete ]
11.    RSS Feed Poster    4.1    [ Install Mod ] [ List Files ] [ Delete ]
12.    WoW Character Profiles    1.5.1    [ List Files ] [ Delete ]
13.    Help Linktree Fix    0.1    [ Install Mod ] [ List Files ] [ Delete ]
14.    SMF 1.1.21 / 2.0.10 Update    1.0    [ List Files ] [ Delete ]
15.    SEO Sitemap    2.2.1    [ Install Mod ] [ List Files ] [ Delete ]
16.    Mimetex    1.01    [ Install Mod ] [ List Files ] [ Delete ]
17.    SMF Arcade    2.0.15    [ List Files ] [ Delete ]
18.    Menu Buttons    1.1    [ Install Mod ] [ List Files ] [ Delete ]
19.    Board Viewers Mod    1.2    [ Install Mod ] [ List Files ] [ Delete ]
20.    Search Focus Dropdown    1.31    [ List Files ] [ Delete ]
21.    SMF Arcade    2.0.18    [ List Files ] [ Delete ]
22.    Reason For Editing Mod    1.14    [ Install Mod ] [ List Files ] [ Delete ]
23.    httpBL    2.5.1    [ Install Mod ] [ List Files ] [ Delete ]
24.    Anti-Spam Verification Questions    1.02    [ List Files ] [ Delete ]
25.    Lay out change    0.1    [ List Files ] [ Delete ]
26.    SMF 2.0.8 Update    1.0    [ List Files ] [ Delete ]
27.    SSI_Register_Function    1.0    [ Install Mod ] [ List Files ] [ Delete ]
28.    Streaming 3    4.2.2b    [ List Files ] [ Delete ]
29.    SMF 2.0.7 Update    1.0    [ List Files ] [ Delete ]
30.    SMFBlog    2.0    [ Install Mod ] [ List Files ] [ Delete ]
31.    Ad Managment    3.1a    [ Install Mod ] [ List Files ] [ Delete ]
32.    KeyCAPTCHA for SMF    2.3    [ List Files ] [ Delete ]
33.    Mimetex    1.01    [ Install Mod ] [ List Files ] [ Delete ]
34.    Skype Integration    1.0    [ List Files ] [ Delete ]
35.    SMF Arcade    2.5 RC1    [ List Files ] [ Delete ]
36.    SMFBlog    1.0    [ Install Mod ] [ List Files ] [ Delete ]
37.    SMF 1.1.20 / 2.0.9 Update    1.0    [ List Files ] [ Delete ]
38.    SMF 1.1.19 / 2.0.6 Update    1.0    [ List Files ] [ Delete ]
39.    SMF 2.0.14 Update    1.0    [ List Files ] [ Delete ]
40.    Pretty URLs    1.0RC    [ List Files ] [ Delete ]
41.    SMF 2.0.11 Update    1.0    [ List Files ] [ Delete ]
42.    Profile Comments    2.0.2    [ Install Mod ] [ List Files ] [ Delete ]
43.    Member Color Link    3.0.4    [ List Files ] [ Delete ]
44.    Attachment Notice    1.0    [ Install Mod ] [ List Files ] [ Delete ]
45.    Do not enter
I only help those that help themselves. I suppose I am a bit like GOD that way.
If you realise anything useful, say something useful and help someone else.

Student forum for GCSE, IGCSE, IB, O & A Level and University Students

Sir Osis of Liver

If you used the upgrade package, you would have had to reinstall all mods.  Were there any errors?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

studentforums

That is not whaty happened. I overwrote the files in my webfolder then ran upgrade.php, and it stopped 84% of the way through. When I accessed the website I got this error. Before the upgrade stopped it showed database upgrade finished. I deleted upgrade.php
I only help those that help themselves. I suppose I am a bit like GOD that way.
If you realise anything useful, say something useful and help someone else.

Student forum for GCSE, IGCSE, IB, O & A Level and University Students

Sir Osis of Liver

What version did you upgrade from?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

studentforums

I only help those that help themselves. I suppose I am a bit like GOD that way.
If you realise anything useful, say something useful and help someone else.

Student forum for GCSE, IGCSE, IB, O & A Level and University Students

Sir Osis of Liver

Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

studentforums

daily. monthly and weekly
When I try to upgrade again, stops on 94%, step 5, deleting upgrade.

PS still running php5.6
I only help those that help themselves. I suppose I am a bit like GOD that way.
If you realise anything useful, say something useful and help someone else.

Student forum for GCSE, IGCSE, IB, O & A Level and University Students

Sir Osis of Liver

Looks like _messages table is damaged.  Try importing a backup from before upgrade.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

studentforums

I browesed the messages table in phpmyadmin. Looks Ok. Will try and put up a backup tomorrow.
I only help those that help themselves. I suppose I am a bit like GOD that way.
If you realise anything useful, say something useful and help someone else.

Student forum for GCSE, IGCSE, IB, O & A Level and University Students

Sir Osis of Liver

It's not necessary to run upgrade.php on the database, there were no changes from 2.0.13 to .14.  If you restore a good .13 backup, it should work fine in .14.
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

Sir Osis of Liver

Quote from: Sir Osis of Liver on July 11, 2017, 04:16:49 PM
Looks like _messages table is damaged.

Disregard that, was in the wrong thread. :P
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

studentforums

#13
I have an old back entire of 2.0.13
I get the same problem. Looks like this was happening for a while and I did not notice.
I get the same problem now with 2.0.12
I only help those that help themselves. I suppose I am a bit like GOD that way.
If you realise anything useful, say something useful and help someone else.

Student forum for GCSE, IGCSE, IB, O & A Level and University Students

studentforums

I turned on databse error logging and got this error on registering as a new member


Apply Filter: Only show the error messages of this URL
https://studentforums.biz/index.php?action=register2
Apply Filter: Only show the errors with the same message
Database Error: Field 'fbname' doesn't have a default value


INSERT INTO fep_members(`member_name`, `email_address`, `passwd`, `password_salt`, `posts`, `date_registered`, `member_ip`, `member_ip2`, `validation_code`, `real_name`, `personal_text`, `pm_email_notify`, `id_theme`, `id_post_group`, `lngfile`, `buddy_list`, `pm_ignore_list`, `message_labels`, `website_title`, `website_url`, `location`, `icq`, `aim`, `yim`, `msn`, `time_format`, `signature`, `avatar`, `usertitle`, `secret_question`, `secret_answer`, `additional_groups`, `ignore_boards`, `smiley_set`, `openid_uri`, `is_activated`, `hide_email`)
VALUES
('bookbook', '[email protected]', '3963caef07fcadfce4e578dcca52bc2abf282214', 'e98b', 0, 1499867790, '141.101.98.81', '62.31.169.65', '', 'bookbook', '', 1, 0, 4, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 1, 1)
Apply Filter: Only show the errors from this file
File: /var/www/studentforums/Sources/Subs-Members.php
Line: 772
I only help those that help themselves. I suppose I am a bit like GOD that way.
If you realise anything useful, say something useful and help someone else.

Student forum for GCSE, IGCSE, IB, O & A Level and University Students

studentforums

Each datanase 'default not set' error I got, I set default to null in database. Three such errors, then it worked.
I only help those that help themselves. I suppose I am a bit like GOD that way.
If you realise anything useful, say something useful and help someone else.

Student forum for GCSE, IGCSE, IB, O & A Level and University Students

Advertisement: