there are something wrong with existed attachments, so I removed the attachment codes on template files, the display is ok but I still got this error at the top of every page.
Warning: Division by zero in /home/jfreehtm/public_html/xxxxx/wsnlinks/commonfuncs.php(758) : eval()'d code on line 11
Warning: Division by zero in /home/jfreehtm/public_html/xxxxxx/wsnlinks/commonfuncs.php(758) : eval()'d code on line 11
Warning: Wrong parameter count for strstr() in /home/jfreehtm/public_html/xxxxx/wsnlinks/commonfuncs.php(758) : eval()'d code on line 11
I tried cleaning the cache, but warning msgs are always there.
Comments on Warning: Division by zero .....
Forum Regular
Usergroup: Customer
Joined: May 14, 2006
Total Topics: 41
Total Comments: 103
there are something wrong with existed attachments, so I removed the attachment codes on template files, the display is ok but I still got this error at the top of every page.
I tried cleaning the cache, but warning msgs are always there.
Any idea how to get rid of them?
Thanks!
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Looks like a problem with either your link importance formula or member rating formula. Admin -> Settings -> Links or Admin -> Members -> Settings.
Unless you have custom template code which involves division.
Forum Regular
Usergroup: Customer
Joined: May 14, 2006
Total Topics: 41
Total Comments: 103
i just found out, its the condition problem.
I followed this article to make this condition before.
If I remove the above codes, the error msg is gone. What is wrong with the above code?
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
Nothing in the conditional divides by zero, so it must be in the content. What's the .......?