Okay so Im trying to make a Premium currency trade in page... Everything works until you go to choose something- I cant figure this out... I get this error-
?>
Fatal error: Uncaught exception 'ItemException' with message 'No selection made.' in /home/atrocity/public_html/classes/class_item.php:38 Stack trace: #0 /home/atrocity/public_html/classes/class_stockitem.php(14): Item->__construct(NULL) #1 /home/atrocity/public_html/view/candypaintbrushshopview.php(41): StockItem->__construct(NULL) #2 /home/atrocity/public_html/classes/class_frontcontroller.php(100): candypaintbrushshopView->index() #3 /home/atrocity/public_html/index.php(79): FrontController->render() #4 /home/atrocity/public_html/index.php(83): IndexController::main() #5 {main} thrown in /home/atrocity/public_html/classes/class_item.php on line 38
I know this means its not reading the item... but I dunno what I did wrong??
---Heres my code below..any help would be appreciated--
?>
Fatal error: Uncaught exception 'ItemException' with message 'No selection made.' in /home/atrocity/public_html/classes/class_item.php:38 Stack trace: #0 /home/atrocity/public_html/classes/class_stockitem.php(14): Item->__construct(NULL) #1 /home/atrocity/public_html/view/candypaintbrushshopview.php(41): StockItem->__construct(NULL) #2 /home/atrocity/public_html/classes/class_frontcontroller.php(100): candypaintbrushshopView->index() #3 /home/atrocity/public_html/index.php(79): FrontController->render() #4 /home/atrocity/public_html/index.php(83): IndexController::main() #5 {main} thrown in /home/atrocity/public_html/classes/class_item.php on line 38
I know this means its not reading the item... but I dunno what I did wrong??
---Heres my code below..any help would be appreciated--
casepagecode1
<?php class candypaintbrushshopView extends View{ public function index(){ $mysidia = Registry::get("mysidia"); $document = $this->document; $document->setTitle("<center>Buy Paintbrushes</center>"); if ($_SERVER["REQUEST_METHOD"] == "P...
docs.google.com
Last edited: