To_do list :- division by zero error
When user logs in for first time and if no to do task is assigned to him division by 0 error occurs

CommentFileSizeAuthor
#3 division_todo1.JPG78.01 KBptam

Comments

AlexisWilke’s picture

Assigned: ptam » Unassigned

Hi prachi.tamrakar,

Would you be able to send me the exact output? I cannot see any division in the module that could account for such an error.

The best is to go to the Report Log and get a copy of the error log for that division by zero.

Also, did you have all modules enabled? (main to_do, block, actions, views)

Thank you.
Alexis

ptam’s picture

Hi Alexis,

I`m attaching the output screen shot which i get.
All modules (main to_do, block, actions, views) are enabled.

Thanks,
Prachi

ptam’s picture

StatusFileSize
new78.01 KB

Hi Alexis,

Sorry forgot to attach the image.

Thanks,
Prachi

AlexisWilke’s picture

Prachi,

Okay. That's just impossible... unless you're using MySQL? If so, what version?

Anyway, I put a fix, just in case. A new -dev should appear within the next 12h.

Thank you.
Alexis

ptam’s picture

Hi Alexis,

Yes i`m using MySQL version 5.

Thanks,
Prachi

ptam’s picture

Hi Alexis,

Thanks a lot.To do module is working great.
I am using SKY theme for my site.When we put to_do list block tabs Urgent and All are not working.
Can you please help me on this.

Thanks,
Prachi

AlexisWilke’s picture

I tested with Sky and Ladybug and it worked for me... At least from what I recall, I had no problems.

Could you try with Ladybug to see whether I fixed something that is still in Sky?

The one problem I know of are the 3 buttons which height is "wrong".

Thank you.
Alexis Wilke

AlexisWilke’s picture

Title: To_do list :- division by zero error » Block tabs not work (also division by zero error, that is fixed.)
Status: Active » Postponed (maintainer needs more info)
AlexisWilke’s picture

Title: Block tabs not work (also division by zero error, that is fixed.) » Block tabs not working (also division by zero error which is fixed.)

prachi.tamrakar,

Do you still have problems with that theme and version 6.x-1.x?

Thank you.
Alexis

ptam’s picture

Hi,

Yes same issue.

AlexisWilke’s picture

Status: Postponed (maintainer needs more info) » Active

Okay! Got it! That is, I can reproduce the problem. No idea what's happening, the code looks like it's all there and there is no error in the console... It needs investigation. If you have any idea, please post a comment here.

Thank you.
Alexis

AlexisWilke’s picture

Assigned: Unassigned » AlexisWilke

We fixed a problem with the tags, a closing tag was missing in the block! Let me know whether you still have this problem and change the status back to Active if so.

I also had someone help with the button heights. So version 1.4 should be really close to a fully fixed system.

Thank you.
Alexis Wilke

AlexisWilke’s picture

Status: Active » Fixed

He! He! marking fixed 8-)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.