Jump to content

general error .....default value


ammo007

Recommended Posts

MySQL-Client-Version: 5.0.51b

mistake in the user_id

 

following error code i get:

 

General Error

SQL ERROR [ mysql4 ]

 

Field 'user_id' doesn't have a default value [1364]

 

Sry, i dont know anything about that, my webmaster is in the hospital and i cant reach him, i have there a forum and now, noone can register . Log in seems be Okay.

 

I want to see if I can solve the problems, and deleted by a mistake forum_id :

 

So when i click now newest post I get following message:

 

SQL ERROR [ mysql4 ]

 

Unknown column 'fa.forum_id' in 'on clause' [1054]

 

SQL

 

SELECT f.forum_id, f.forum_name, f.parent_id, f.forum_type, f.right_id, f.forum_password, fa.user_id FROM phpbb_forums f LEFT JOIN phpbb_forums_access fa ON (fa.forum_id = f.forum_id AND fa.session_id = '61febfaa810dbe6897077276a63175be') ORDER BY f.left_id

 

BACKTRACE

 

FILE: includes/db/mysql.php

LINE: 158

CALL: dbal->sql_error()

 

FILE: search.php

LINE: 164

CALL: dbal_mysql->sql_query()

 

 

I need urgently help, also it wld ne nice when i can find someone who is interested to be a standard webmaster for our site ..

 

Thanks in advance

 

Brgds

 

 

Link to comment
https://forums.phpfreaks.com/topic/130423-general-error-default-value/
Share on other sites

Its okay...anything else, cauz when i open phpmyadmin, i try to fill anew table, and he say to me table already exicst, also i have change thet to auto_increment and still not possible to register .

 

Im totally confused, so when u have an idea how i can reach u, and if u are wuilling to help me, it wld be relly nice

 

thanks in advance

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.