Closed armadaazteca closed 10 years ago
Hi, which version of the quiz are you using? The functions.php file has been replaced with SimpleQuiz/Util/Base/setup.php since approx Oct 22, 2013.
I downloaded the last master zip file and get the same error.
I have replaced $baseDir . '/functions.php'
with $baseDir . '/SimpleQuiz/Utils/Base/setup.php'
in autoload_files.php and now i get
Fatal error: Class 'ORM' not found in /home/*****/developer_html/quiz/index.php on line 7
Hi, thanks for reporting the errors... I think I've found the problem. The vendor directory is not under git version control. You need to run 'composer update' to get the latest dependencies. The composer.json file is in version control and the dependencies will be updated accordingly.
It doesn't make sense to keep all of the vendor directory under git
Can you run 'composer update' and let me know if that fixes the issue?
If you don't have composer installed and don't want to install it, an alternative solution for you would be to download the source code from SourceForge. The latest release there has all the dependencies packaged up for you.
Hope that helps...
I'm running into this same issue. Downloaded the sourcecode from sourceforge, no joy.
at first it was looking in the wrong path for vendor once i corrected that (had it look up two levels) it calls for the function.php file
Hi trf000, Can you confirm whether you ran a 'composer update' or just tried the code from Sourceforge?
Could you also let me know your set up? apache, php versions etc
Thanks
code from sourceforge
On Wed, May 14, 2014 at 1:13 PM, Ben Hall notifications@github.com wrote:
Hi trf000, Can you confirm whether you ran a 'composer update' or just tried the code from Sourceforge?
Could you also let me know your set up? apache, php versions etc
Thanks
— Reply to this email directly or view it on GitHubhttps://github.com/ElanMan/simple-quiz/issues/2#issuecomment-43116952 .
Pretend inferiority and encourage his arrogance.
Hi, I've just downloaded the 1.8.1 zip file from SourceForge and I can't recreate your errors. Could you post your environment details/versions?
I'm getting this error, of required file: functions.php, what is that for? is it really required?