Forums Index > Mewsoft Products > Searchawy > error on banner campaigns
thermos First Post Posted on: 08-30-10 06:11 PM
error on banner campaigns

Please help, i can't manage my banner campaingns any longer...:-(


just added a new partner banner to my search engine and when i want to "Manage Campaign" this error message occurs:

Software error:
Illegal division by zero at /www/htdocs/v132739/cgi-bin/dir/banneradm.pm line 1188.


Deleted the new account but it didn't help. Installed the old file "banneradm.pm", but error messages is still the same...

Everything worked fine before i created the new account. What went wrong?
Please help, can't get new banner partners now.

Many thanks
Cora
oneside Reply #: 1 Posted on: 08-31-10 10:17 PM
Re: error on banner campaigns

i got the same problem on my system.
i cant use the functions:

Manage Accounts
Manage Campaigns
Manage Zones

without getting an error:
Software error:
Illegal division by zero at /www/htdocs/v132739/cgi-bin/dir/banneradm.pm line 1188.

For help, please send mail to the webmaster (webmaster@4x4-suche.de), giving this error message and the time and date of the error.

what can i do?
thermos Reply #: 2 Posted on: 08-31-10 10:34 PM
wonderful. so its your turn now, Mewsoft.

@ oneside:

Please contact me, when you got it working again.
mail at rweisbecker@web.de please.

@ mewsoft:

i think my failure was to give start date of campaign "2004",
when i created that campaign we had January 2005.

But this SHOULD NOT cause such an error.

Help us please to correct, otherwise we cannot use all functions of this software!

Thank you
oneside Reply #: 3 Posted on: 08-31-10 11:37 PM
Re: error on banner campaigns

@thermos
Wir haben bereits gesprochen... wusste nicht, dass Sie es sind ;-)
MFG
T. Karnetzke

--------------------------
@Mewsoft

I think that i found the reason for this problem.
If you take a look @ the file "banneradm.pm"
line 1188


if ($Campaign{End_Date}) {
$Progress = int ((($Today-$Startd) / ($Campaign{End_Date}-$Startd)) * 100) . "%";
}



If "End_Date" and "$Startd" have the same values an error appears.
I think that you better dont use the same start and end date in a campaign...

You guys should check this out...