Jump to content

EXAMCenter Beta 1.0


simpilot

Recommended Posts

Pls help

i have this message when i run the exams_admin :

Notice: The template file "/home/sites/SITE WEBom/public_html/phpvms.full//admin/templates/frontpage_main.tpl" doesn't exist in /home/sites/SITE EB.com/public_html/phpvms.full/core/classes/TemplateSet.class.php on line 248

i can't find " /frontpage_main.tpl "

Link to comment
Share on other sites

  • Administrators

Pls help

i have this message when i run the exams_admin :

Notice: The template file "/home/sites/SITE WEBom/public_html/phpvms.full//admin/templates/frontpage_main.tpl" doesn't exist in /home/sites/SITE EB.com/public_html/phpvms.full/core/classes/TemplateSet.class.php on line 248

i can't find " /frontpage_main.tpl "

Did you erase the default tempate files for the admin section accidently when you were loading up the exam admin files? Look in admin/templates and see if there are any files there, namely the frontpage_main.tpl file. There should be 60+ files in that folder.

Link to comment
Share on other sites

  • Administrators

Now that I really look at the error, it seems odd. The frontpage_main.tpl file is on the pilot side "root/core/templates", yet there is not one on the admin side. Does it exist still in that folder? Did you change the structure of the file tree at all?

Link to comment
Share on other sites

Hello

Sir, I assure you I did not change or destroy any file that simply do not know programming. I install the packages using the instructions given on the files 'read me' or on the forum.

This morning I downloaded the package again: phpVMS and I do not find the file in question.

I pocede verssion is the last 2.1.934

Thank you again for your reply.

Link to comment
Share on other sites

  • 2 weeks later...

I've just installed ExamCenter, and so far it's worked brilliantly! However, one issue which I've come across (which isn't a biggy, but it's still kinda irritating), is that the link to ExamCenter still exists in the navbar, even when I'm not logged in. Is there a way in which I can set it so that only people who are logged in can see that link?

http://unityvirtual.net/ That's what i mean (Next to the roster link)

Thanks for your help.

Link to comment
Share on other sites

  • Administrators

I've just installed ExamCenter, and so far it's worked brilliantly! However, one issue which I've come across (which isn't a biggy, but it's still kinda irritating), is that the link to ExamCenter still exists in the navbar, even when I'm not logged in. Is there a way in which I can set it so that only people who are logged in can see that link?

http://unityvirtual.net/ That's what i mean (Next to the roster link)

Thanks for your help.

You need to place the link for the exam center within the "Logged in" section of links in the core_navigation.tpl file. Use the Pilot Center link already in the file as an example. B)

Link to comment
Share on other sites

I have searched quite a bit, whenever I try going to the exam admin it brings me to the frontpage... even though im logged in.. here is the code..

<li><a href="<?php echo SITE_URL ?>/index.php/Frontpage">Home</a></li>

<?php

if(!Auth::LoggedIn())

{

// Show these if they haven't logged in yet

?>

<li><a href="<?php echo SITE_URL ?>/index.php/registration">Register</a></li>

<?php

}

else

{

// Show these items only if they are logged in

?>

<li><a href="<?php echo SITE_URL ?>/index.php/profile">Pilot Center</a></li>


<?php

}

?>
<li><a href="<?php echo SITE_URL ?>/index.php/pilots">Pilots</a></li>

<li><a href="<?php echo SITE_URL ?>/index.php/acars">Flight Map</a></li>

<?php echo $MODULE_NAV_INC;?>

<?php

if(Auth::LoggedIn())

{

if(Auth::UserInGroup('Administrators'))

{

	echo '<li><a href="'.SITE_URL.'/admin/">Admin Panel</a></li>';

}


               {
echo '<li><a href="'.url('/Exams_admin').'">EXAMCenter Admin</a></li>';
}
?>





<li><a href="<?php echo SITE_URL ?>/index.php/login/logout">Log Out</a></li>

<?php

}

?>

Link to comment
Share on other sites

  • 4 weeks later...
  • 4 weeks later...

Gday Simpilot

Just installed your module, looks great, ive been getting it to match my site, i have this problem though

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/qantasvi/public_html//lib/skins/brilliancev1/<center> <br /> <table border="1px" width="80%"> <tr> <td colspan="2"><img src="http://qantasvirtual.com/examimages/exam_logo.gif" alt="EXAMCenter © simpilotgroup" /></td> <td colspan="4"><br /><h4>EXAMCenter Admin Panel</h4></td> <tr> <td colspan="6" bgcolor="#cccccc"><b>Exams Awaiting Approval:</b></td> </tr> <tr><td colspan="6">There are no exams currently awaiting approval.</td></tr> <tr> <td colspan="6" bgcolor="#cccccc"><b>Pilot Exam Requests:</b></td> in /home/qantasvi/public_html/core/classes/TemplateSet.class.php on line 96

its at the top of my site, and only occurs when i attempt to access the admin side of the module, im not sure why, hopefully you'll have a better idea.

Thanks

Link to comment
Share on other sites

  • 1 month later...
  • 5 weeks later...

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>';}
?>

What is the name of file, and where are????

Thanks!

Link to comment
Share on other sites

I have a problem in the "EXAM Admin Center" because I have the following on the message header:

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/html/web907/html/freedomair//lib/skins/crystal-II/<center> <br /> <table border="1px" width="80%"> <tr> <td colspan="2"><img src="http://www.power-team-radio.com/freedomair/examimages/exam_logo.gif" alt="EXAMCenter © simpilotgroup" /></td> <td colspan="4"><br /><h4>EXAMCenter Admin Panel</h4></td> <tr> <td colspan="6" bgcolor="#cccccc"><b>Exams Awaiting Approval:</b></td> </tr> <tr><td colspan="6">There are no exams currently awaiting approval.</td></tr> <tr> <td colspan="6" bgcolor="#cccccc"><b>Pilot Exam Requests:</b& in /var/www/html/web907/html/freedomair/core/classes/TemplateSet.class.php on line 96

how can I correct the error even in a url 2 / / not available where only 1 / should be and even in this code in <b> Pilot Exam Requests: </b& , & this is where this fix in it for

who can help

Link to comment
Share on other sites

  • Administrators

I believe your problem is a server side issue, not Exam Center;

open_basedir restriction in effect

Submit a ticket with your host to see if they will adjust the settings for your server. What are you using for a server? (dedicated, shared, vps, free, etc)

Link to comment
Share on other sites

I believe your problem is a server side issue, not Exam Center;

open_basedir restriction in effect

Submit a ticket with your host to see if they will adjust the settings for your server. What are you using for a server? (dedicated, shared, vps, free, etc)

I can manage some, I have a web host, so webspace and PHP open_basedir is on, what can you still

Link to comment
Share on other sites

It needs to be turned off. Your host will have to probably do it unless you have root access, ie, a vps or dedicated server.

I will turn off open_basedir PHP and will see if it improves, I have a lot webspace where I can set in the webinterface and there's this here.

Only the URL in the error code irritates me because there are two slash where actually should only be one.

sorry I only post now because I was some days not as

Link to comment
Share on other sites

  • 4 weeks later...

Hi all,

Finally got round to installing this add on, all files are where they should be but getting this error when you click on the link in the pilot centre.

The module "%3CA%20HREF=%22HTTP:" doesn't exist!

Any ideas to fix the problem are welcomed.

Thanks

Scott

I have fixed the problem thanks anyway.

I had added some extra code which should not have been there. :huh:

Link to comment
Share on other sites

  • 3 weeks later...
  • Administrators

i cant find the examadmin. the exam page still works but the admin cant find. does anyone known whats wrong?

Did you put in a link for the page as it is described in the first post?

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>';}
?>

Link to comment
Share on other sites

  • Administrators

Are you the pilot with database id # 1?

3 - The system automatically assigns the pilot with the database id of "1" as the first administrator. DO NOT un-assign this pilot as an admin unless you have at least one more admin assigned, you will not be able to log back into the center as an admin
Link to comment
Share on other sites

Delete button is on the list for next release  ;)

The tracking as to what routes etc.. vs what tests have been taken can be done. I will have to think about it. Do you have the ranks tied into your available schedules now? I think that is how it would all have to tie together....

G'day Simpilot,

I have an idea for you, i would really like to know how i can add the documentation required for my exams into the examcenter module, on the pilot's side, i would like to have the exam description as a link to the pilot resource, but i'm not sure how i could code that, possibly with exam id's or something ?

Thanks

Tylor

Link to comment
Share on other sites

  • 1 month later...

hello together

I've downloaded the file yesterday

Now I would be interested times in which file exactly should this code:

<? php

$ admin = ExamsData: check_admin (Auth:: $ userinfo-> PilotID);

if ($ admin-> admin_level> = '1 ')

{echo '<a href="'.url('/Exams_admin').'"> EXAMCenter Admin </ a>';}

?>

I would appreciate help on.

Ok now I know where that came from, but I now have the problem, although I'm NFA0001, I do not see Exam Admin Center in the link list. I'm logged in as Admin and also the first pilot.

Maybe someone knows this even help.

greeting

Passion

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...