View Single Post
  #3 (permalink)  
Old 05-19-2008, 07:22 AM
vladimir vladimir is offline
Junior Member
 
Join Date: May 2008
Posts: 2
Default

Hey!
Nope it is not htaccess this is already working, live web site.
I found that next causing an error:
This aint work on my localhost:
Code:
$this->fetchAll('select * from banners');
and this works:
Code:
$this->db->fetchAll('select * from banners')
All this is in Banners.php- module and called in BannersController.php as $this->Banners->getBanners();

What is so confusing is that the other files, Populars.php and PopularsController.php are excactly same as Banners, and Populars are working good. Same code, same lines, just sql is not( select* from banners - but select * from populars
All files are same on server and on my localhost.
Thank you,
Vladimir
Reply With Quote