This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Day 4 - load_data.php error

Discussion around this tutorial for symfony 1.0.x

Day 4 - load_data.php error

by stefgosselin » Fri Oct 05, 2007 7:21 am

Hey all, my first post in this forum and I am french so please excuse minor errors :lol:

I am running xampp setup with virtual host for askeet demo set on f:\dev\askeet.

I get this error:
--------------------------
Fatal error: Class 'myTools' not found in F:\dev\askeet\lib\model\Question.php o
n line 23

F:\dev\askeet\batch>php load_data.php
PHP Fatal error: Class 'myTools' not found in F:\dev\askeet\lib\model\Question.
php on line 23

Fatal error: Class 'myTools' not found in F:\dev\askeet\lib\model\Question.php o
n line 23
--------------------------

The class myTools.class.php is set in F:\dev\askeet\lib , as it should be. Anyhow.

Anyone know why autoload would not work for this class?



PS: Fabien, great work dude! , a few users mentionned adding sub-categories in forum for each askeet-day, would be a great idea, as would make forum search/posting easier.
stefgosselin
Junior Member
 
Posts: 1
Joined: Fri Oct 05, 2007 7:07 am
Location: St=Hyacinthe

Re: Day 4 - load_data.php error

by NicKy » Sun Oct 21, 2007 11:58 pm

i got the same error but im running wamp..

I still don't know why but it might be cause of the include_path ?

i don't know .. :\
NicKy
Junior Member
 
Posts: 7
Joined: Sun Oct 21, 2007 11:57 pm

Re: Day 4 - load_data.php error

by sbrutin » Fri Nov 07, 2008 12:15 am

Maybe you close the php tag "?>" at the end of the lib file.

remove it and try again.
sbrutin
Junior Member
 
Posts: 5
Joined: Fri Nov 07, 2008 12:13 am