peej/tonic — Issue #65: still cant make it load proplery
Author: clannadsystems
Created: 2012-01-09 07:16:10+00:00
State: open

My current settings is below:

c:\wamp\library\tonic
.htaccess --- ( can i put .htaccess here) ???
dispatch.php
lib
features
examples
docroot

then.. i modified the dispatch file parts from ../ to / only

// load Tonic library
require_once 'lib/tonic.php';

// load examples
require_once 'examples/examples.php';

then im accessing it thise way

http://localhost/library/tonic/helloworld

but there is an error sayaing..

Class 'Resource' not found in C:\wamp\www\library\tonic\examples\helloworld\helloworld.php on line 15

can you please tell me what am i doing wrong?