Customizing SMF > Modifications and Packages

CountryFlags Updated for SMF 2.0

<< < (225/232) > >>

Dracopaion:
That worked for adding the country column unfortunately it didn’t repair the problem im still seeing when you log in  :

Database Error
Field 'country' doesn't have a default value
File: C:\inetpub\wwwroot3\Sources\Subs.php
Line: 2760

and when you log out:

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

Labradoodle-360:
That means the queries are still looking for country. Go ahead and attach your Subs.php and Load.php (both in ./Sources) and I'll try to help you out.

Dracopaion:
As your request subs.php and load.php have been attached. hope this helps if not just let me know what you need.

Dracopaion:
Gentlemen

Any luck on finding a solution to my problem or would it be best if I just backed up my data deleted everything and started from scratch again?

Not my first choice of actions of course but better that then flogging a dead horse if there isn’t a clear solution and tying you up with it.

Dracopaion:
I managed to figure out the problem. It was as I suspected a database problem not a problem with your mod. If you recall I mentioned that the sever had crashed, what looks like happened when it restarted MySQL it started it in strict mode even though the ini it’s set not to. So to quick test this I ran [SET @@global.sql_mode= '';] in myphpadmin started up the web page and it works perfectly. No more errors logging in or out.

So I thank you for the time you spent looking into this for me but it looks like its fixed and also how do I mark this as solved In this forum or is that needed?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version