Moderators Kyle Posted January 31, 2010 Moderators Report Posted January 31, 2010 When i installed this add-on i followed everything and i cant see everything on my pages it always says that. Fatal error: Class 'ExamsData' not found in /home/flycsunc/public_html/core/templates/core_navigation.tpl on line 24 why is that problem? Quote
Administrators simpilot Posted January 31, 2010 Author Administrators Report Posted January 31, 2010 When i installed this add-on i followed everything and i cant see everything on my pages it always says that. Fatal error: Class 'ExamsData' not found in /home/flycsunc/public_html/core/templates/core_navigation.tpl on line 24 why is that problem? Looks like you have not placed the files in the correct paths, or one has gotten corrupted on the upload. Try re-uploding all the files and be sure they are in the right path. That error is simply saying that the app can not find the files where they are supposed to be. Quote
Moderators Kyle Posted January 31, 2010 Moderators Report Posted January 31, 2010 Well i did but where am i supposed to put those files? Quote
Administrators simpilot Posted January 31, 2010 Author Administrators Report Posted January 31, 2010 The download should have the proper file structure but if not.. core common ExamsData.class.php modules Exams Exams.php Exams_admin Exams_admin.php templates all the .tpl files Also check where you are calling it from and make sure that the proper php syntax is there as well. if you can post or pastebin your core_navigation.tpl file it would be easier for us to see what might be causing it as well, it is not always easy to see what is wrong when the only information to go by is "here is my error" -> "fatal error; foo bar" Quote
Moderators Kyle Posted January 31, 2010 Moderators Report Posted January 31, 2010 Yeah the files are in path. but again where do i put those files <li><a href="<?php echo url('/'); ?>">home</a></li> <?php if(!Auth::LoggedIn()) { // Show these if they haven't logged in yet ?> <li><a href="<?php echo url('/login'); ?>">Login</a></li> <li><a href="<?php echo url('/registration'); ?>">Register</a></li> <?php } else { // Show these items only if they are logged in ?> <li><a href="<?php echo url('/profile'); ?>">Pilot Center</a></li> <?php } ?> <li><a href="<?php echo url('/pilots'); ?>">Pilots</a></li> <li><a href="<?php echo url('/acars') ?>">Live Map</a></li> <li><a href="<?php echo url('/Exams') ?>">EXAMCenter</a></li> <?php $admin = ExamsData::check_admin(Auth::$userinfo->pilotid); if ($admin->admin_level >= '1') {echo '<a href="'.url('/Exams_admin').'">EXAMCenter Admin</a>';} ?> <?php echo $MODULE_NAV_INC;?> <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { echo '<li><a href="'.fileurl('/admin').'">Admin Center</a></li>'; } ?> <li><a href="<?php echo url('/logout'); ?>">Log Out</a></li> <?php } ?> Quote
Administrators simpilot Posted January 31, 2010 Author Administrators Report Posted January 31, 2010 Yeah the files are in path. but again where do i put those files ummmm.... that is where you put them - in those paths in your phpvms install. At a quick glance over your file, it looks ok so I would really lean toward the files not being where they are supposed to be. Quote
Moderators Kyle Posted January 31, 2010 Moderators Report Posted January 31, 2010 the install folder? but the admin center says that i have to delete the install folder because it poses security risk Quote
Moderators Kyle Posted January 31, 2010 Moderators Report Posted January 31, 2010 which i deleted it Quote
Moderators Kyle Posted January 31, 2010 Moderators Report Posted January 31, 2010 ok, if it is ok with you if we can chat though MSN? I'm really lost right now Quote
Administrators simpilot Posted January 31, 2010 Author Administrators Report Posted January 31, 2010 My msn id is in my profile. You can look me up when you need to. Quote
Moderators Kyle Posted January 31, 2010 Moderators Report Posted January 31, 2010 ok i added you, i'll be online. Quote
Administrators simpilot Posted February 3, 2010 Author Administrators Report Posted February 3, 2010 Any last requests for the next beta release? I have already.. -Moved the admin panel to the admin side of phpvms using the native permissions settings for groups. -Added functions to delete exams and questions -Added an entrance exam function tied into registration -Working on finishing up a question randomizer and one at a time question submission option. A couple of peeks Quote
TAV1702 Posted February 3, 2010 Report Posted February 3, 2010 Now that looks pretty sweet! Great job as always! Quote
Moderators mark1million Posted February 3, 2010 Moderators Report Posted February 3, 2010 Excellent Cant wait for that one Quote
piper338 Posted February 9, 2010 Report Posted February 9, 2010 "Added an entrance exam function tied into registration" I can't wait for this function! Quote
Moderators mark1million Posted February 13, 2010 Moderators Report Posted February 13, 2010 May have missed this already in a request but, read from the config file for the money sign I was going to install this today to another VA but i may wait for the next release, any ideas when? Quote
Administrators simpilot Posted February 14, 2010 Author Administrators Report Posted February 14, 2010 I can still get that one in Mark. Should have somethng out this week, was hoping sooner but the back to back blizzards and no power here at the house for a few days kind of distracted me... Quote
Moderators mark1million Posted February 14, 2010 Moderators Report Posted February 14, 2010 Worth the wait i believe, thanks for these great additions. Quote
Moderators Kyle Posted February 14, 2010 Moderators Report Posted February 14, 2010 "Added an entrance exam function tied into registration" I can't wait for this function! Yeah me too! Quote
Stephan Posted February 21, 2010 Report Posted February 21, 2010 "Added an entrance exam function tied into registration" I can't wait for this function! Yeah me too! Yes, this is what we need. Is there any release date for the update of the Examcenter? Is there a chance to get this feature already now? Thanks for that great work. Regards, Stephan Quote
Coolkid122 Posted March 8, 2010 Report Posted March 8, 2010 Nice Mod!!!! for those who having problems just look in the folder after you download it and put them in the folder on your website root. really easy to install and set is easy too Quote
OneWorldVirtual Posted March 11, 2010 Report Posted March 11, 2010 Hi This looks like a great project, but I have a small problem. The button that appears in the admin panel just closes the drop-down list it's in. The orange highlight bar is missing also from the mouse-over. Cheers in advance, DeeQ Quote
lorlandi Posted March 14, 2010 Report Posted March 14, 2010 4 - Place a link in your menu for the Admins and Staff Members of EXAMCenter -> <?php $admin = ExamsData::check_admin(Auth::$userinfo->pilotid); if ($admin->admin_level >= '1') {echo '<a href="'.url('/Exams_admin').'">EXAMCenter Admin</a>';} ?> Sorry about this kind of question, but in wich file i must to add above instruction, where is located. Thanks in advance Quote
Moderators mark1million Posted March 14, 2010 Moderators Report Posted March 14, 2010 Wow there was me thinking v2 was released with a new post in this thread, i got all excited then Quote
Administrators simpilot Posted March 14, 2010 Author Administrators Report Posted March 14, 2010 @lorlandi - You want to place that in your menu items, unless you have changed things greatly it should be in core_navigation.tpl. @mark1 - sorry, been sidetracked on a couple other projects, not even sure at this point if I will release a v2. I got it about 60% coded and it has sat for about a month now...... Quote
Moderators mark1million Posted March 15, 2010 Moderators Report Posted March 15, 2010 Simpilot thats a massive shame, i was looking forward to the entrance exam and the admin interface looked excellent. Quote
MaciejO Posted March 26, 2010 Report Posted March 26, 2010 Hi. I've just started moving my VA on phpvms and i am having trouble with installing examcenter. First question. Is this works with build 854. And another thing i have added it my menu but thats i'snt showing up. Thats code in core_navigation <li><a href="<?php echo url('/'); ?>">home</a></li> <?php if(!Auth::LoggedIn()) { // Show these if they haven't logged in yet ?> <li><a href="<?php echo url('/login'); ?>">Login</a></li> <li><a href="<?php echo url('/registration'); ?>">Rejstracja</a></li> <li><a href="<?php echo url('/Exams') ?>">Egzaminy</a></li> <?php } else { // Show these items only if they are logged in ?> <li><a href="<?php echo url('/profile'); ?>">Centrum Pilota</a></li> <?php } ?> <li><a href="<?php echo url('/pilots'); ?>">Roster</a></li> <li><a href="<?php echo url('/acars') ?>">Aktualne Loty</a></li> <?php echo $MODULE_NAV_INC;?> <?php if(Auth::LoggedIn()) { if(PilotGroups::group_has_perm(Auth::$usergroups, ACCESS_ADMIN)) { echo '<li><a href="'.fileurl('/admin').'">Centrum Admina</a></li>'; } ?> <li><a href="<?php echo url('/logout'); ?>">Wyloguj</a></li> <?php } ?> Another thing is that idk where to put admin link. in which file. Thanks for help Maciej. Quote
Administrators simpilot Posted March 26, 2010 Author Administrators Report Posted March 26, 2010 You have the Examcenter link inside of the if command so it will only show if you are not logged in. You need to put it in the other section so it will show when you are logged in to the site. Quote
MaciejO Posted March 26, 2010 Report Posted March 26, 2010 Where to put admin link one ? which file ? Olbi. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.