Jump to content

Recommended Posts

Hi.

 

I have just upgraded my localhost (running windows xp pro) to;

 

apache 2.2.11

mysql 5.1.31

php 5.2.9

 

All seems to be working correctly except I get the following message when creating a new record (using input) to a mysql table.

 

error in function xxxxxxx Field xxxxx doesnt have a default value

 

This is correct as the table has 70 fields and I am creating a new record  with only a few.

 

This appears as this wants me to insert a value into every field when creating a record. (that would really upset me :(

 

Can someone please tell me if this is correct or is there a switch in apache or php.ini or somewhere to turn this off.

 

Any help is greatly appreciated

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.