When I go onto the index.php I get this under the latest news section of the page of the page...
Notice: Undefined variable: includes\classes\template.php on line 345
I also get the same sort of message when I use the search bar.
Do you know your PHP version? (if yes please post it)
Have you entered any news through the admin panel?
Can you post a link to your page so I can see these errors.
Erm... i'm not too sure but if i find out i'll tell you. Yeah i'm using the admin panel to do it.
The problem seems to be is it is posting a warning for the variable not being initialized.
In other words go to this line 341 in /includes/classes/template.php and on the line right after it put:
Let me know if this fixes it, I will have to get back to you later with the solution to the problem with the search. (also try to find the PHP version if you can)
Make a file called phpinfo.php and fill it with
Code:
<?php
phpinfo();
?>
then upload it and it should have information, specifically the PHP version.
Great! Yeah it worked thanks and i'm running PHP Version 4.4.4
To fix the search, open /includes/global.php go to line 219 which should look like:
Code:
if(is_numeric($_GET['cat'])) {
$glob['search_cat'] = $_GET['cat'];
}
replace with
Code:
if(is_numeric($_GET['cat'])) {
$glob['search_cat'] = $_GET['cat'];
}else{
$glob['search_cat'] = '';
}