Medialoha / MAB-LAB

My ACRA Backend Laboratory
http://www.medialoha.net
GNU General Public License v3.0
27 stars 13 forks source link

INSERT REPORT ERROR #80

Open SirJohn2024 opened 10 years ago

SirJohn2024 commented 10 years ago

Hi there,

I've upgraded the DB to latest schema, but now I have this error:

Inserting report data failed ! #1364 : Field 'issue_milestone_id' doesn't have a default value

I've started from an empty DB, lunched install.php and added update-to-9 fields...

Previous version was ok ( not sure if 4 or 5), what can be wrong?

Regards, Sergio

Medialoha commented 10 years ago

Hello,

Enable debug logs, edit includes/define.php and set LOG_SEVERITY to 0. You will get more information in logs file that I need to help you.

Regards

Medialoha commented 10 years ago

Did you find a solution ?

SirJohn2024 commented 10 years ago

Sorry, but can’t test your suggestion until next Monday…

Thanks anyway for your prompt support

Best regards

Sergio

From: Medialoha [mailto:notifications@github.com] Sent: venerdì 30 maggio 2014 15:15 To: Medialoha/MAB-LAB Cc: Sergio Subject: Re: [MAB-LAB] INSERT REPORT ERROR (#80)

Did you find a solution ?

— Reply to this email directly or view it on GitHub https://github.com/Medialoha/MAB-LAB/issues/80#issuecomment-44648944 . https://github.com/notifications/beacon/211305__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxNzA3NDkwMCwiZGF0YSI6eyJpZCI6MzMzNjQ0Njl9fQ==--924cc0bfa773a4f266a83c12dc11d5de314089f3.gif

SirJohn2024 commented 10 years ago

The variable was already set to 0, attached you’ll find the generated log…

From: Medialoha [mailto:notifications@github.com] Sent: giovedì 29 maggio 2014 13:23 To: Medialoha/MAB-LAB Cc: Sergio Subject: Re: [MAB-LAB] INSERT REPORT ERROR (#80)

Hello,

Enable debug logs, edit includes/define.php and set LOG_SEVERITY to 0. You will get more information in logs file that I need to help you.

Regards

— Reply to this email directly or view it on GitHub https://github.com/Medialoha/MAB-LAB/issues/80#issuecomment-44522420 . https://github.com/notifications/beacon/211305__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxNjk4MTc3NSwiZGF0YSI6eyJpZCI6MzMzNjQ0Njl9fQ==--3b409a8e8ef709e4b87a5ed67f4955fe8111baec.gif [01-06-14 10:49.55] INFO REPORT : New report requested ! [01-06-14 10:49.55] INFO REPORT : Seems to be a valid request... Try to decode JSON and save to DB. [01-06-14 10:49.55] DEBUG INSERT REPORT : Application package it.tutortracker.android.app [01-06-14 10:49.55] DEBUG INSERT REPORT : Application id #2 [01-06-14 10:49.55] DEBUG INSERT REPORT : Issue key 2be1c7d8a604908d423efac92d635a2f [01-06-14 10:49.55] DEBUG INSERT REPORT : Issue found NO [01-06-14 10:49.55] DEBUG INSERT REPORT : New issue id #-1 [01-06-14 10:49.55] ERROR REPORT : Inserting report data failed ! #1364 : Field 'issue_milestone_id' doesn't have a default value

[01-06-14 10:49.56] ERROR MailHelper : Message could not be sent. Mailer Error: Could not instantiate mail function.

Medialoha commented 10 years ago

I removed the report content which is not required...

This is what I was thinking about, let me make some test...

daxpayne commented 10 years ago

Hi, Any new about this issue?

SirJohn2024 commented 10 years ago

Sorry, I forgot to update you…

probably was some mistake during setup, I did it again and now seems to work except the graphics for reports (see attached picture)…

But also that can be another my db setup problem…

From: daxpayne [mailto:notifications@github.com] Sent: venerdì 11 luglio 2014 21:14 To: Medialoha/MAB-LAB Cc: Sergio Subject: Re: [MAB-LAB] INSERT REPORT ERROR (#80)

Hi, Any new about this issue?

— Reply to this email directly or view it on GitHub https://github.com/Medialoha/MAB-LAB/issues/80#issuecomment-48771147 . https://github.com/notifications/beacon/211305__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyMDcyNTIzNywiZGF0YSI6eyJpZCI6MzMzNjQ0Njl9fQ==--2ec0860a6a4ab45423d3af734e2e7b20f4976c14.gif

daxpayne commented 10 years ago

I have tried a few times to do the install, but I keep getting the same error. I will try again to make sure I don't miss any step. Thanks