Thread: Logsize issue
View Single Post
  #36  
Old 7th February 2008, 17:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

That's really strange. Even if the MySQL query was emtpy, it should print an empty array.
Please try this:
Code:
$webs = $mod->db->queryAllRecords("SELECT * FROM isp_isp_web");
echo "hello\n";
if(!empty($webs)){
  foreach($webs as $web){
    if($webalizer_debug == 1) echo "Domain: $web[web_domain]\n";
and run the script again. If it doesn't print "hello", then you should check if your changes were saved.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote