Concrete 5.7 Class Not Found
Permalink
Hi, I'm trying to use a controller linked to my single page and I always get this error [see attached file].
Here's my controller code :
I've search a lot on google and I found nothing about it ...
Thanks a lot !
Here's my controller code :
<?php namespace Application\Controller\SinglePage; use Concrete\Core\Page\Controller\PageController; class Produit extends PageController { public function view($blockID = null) { //$this->set('bID', $blockID); $this->set('produit', 'test123'); } // Récupère le data du bloc cliqué. public function getProduit() { $db = Loader::db(); $data = $db->GetRow("SELECT * FROM exaproduction.btproduit WHERE bID = ? ", array($bID));
Viewing 15 lines of 18 lines. View entire code block.
I've search a lot on google and I found nothing about it ...
Thanks a lot !
Can't understand why I can't include any of Concrete's Core classes