PDA

View Full Version : Error in JA Antares Template


sherwinaval
08-21-2007, 01:22 PM
Hi,

Just got this template JA Antares...

I'm getting an error in the site when trying to view it... the error is

Warning: Division by zero in C:\xampp\htdocs\beta3\templates\ja_antares\index.p hp on line 40

and that line is
$ja_headerimg = $ja_header_images [getCurrentMenuIndex() % count($ja_header_images)];
I don't know what went wrong... it is my first time installing this template. I've also installed the header module but wasn't able to see it. But even before installing the module, the error already appeared, thought that the header module might fix it. Unfortunately, NOT.

Help please?

MuffinDCC
08-21-2007, 03:08 PM
Add the following above it

error_reporting(0);