General Category > Bug Reports

Installation Problems

(1/1)

Kryllster:
Well I'm now to this MVC approach and can't seem to get past the initial setup. I followed the directions as close as I can and here is the info:

Full Path to index.php: D:\mywebsite\webhtdocs\xampp\htdocs

Full Path to TinyMVC: D:\mywebsite\webhtdocs\xampp\tinymvc

Here is the error message I get:
--- Code: ---class hello_Controller extends TinyMVC_Controller { function index() { $this->view->display('hello_view'); } function time() { echo "The time is now."; } }
Fatal error: Unknown controller class 'hello_Controller' in D:\mywebsite\webhtdocs\xampp\tinymvc\sysfiles\TinyMVC.php on line 104
--- End code ---

What can I be doing wrong I can't even do a "Hello World" Script I must be really sad.
Anyways help would be appreciated.

Thanks,
Kryllster

Kryllster:
Well duh Kryllster. Lol I should not use the CPED method (Copy, Paste, Edit, Delete) so quickly I forgot to put the
--- Code: ---<? ?>
--- End code ---
opening and closing brackets. Sorry for the bother man I feel really really dumb!!



Thanks,
Kryllster

areazero:
hello Kryllster,

if you like to write portable scripts use
--- Code: ---<?php ?>
--- End code ---

have fun...

areazero

Navigation

[0] Message Index

Go to full version