Jump to content

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

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.