Jump to content

Recommended Posts

Posted (edited)

When we make login in our website, the page isn't showed, the site is: http://aviancavirtual.tk   user: ONE009 password: testing

 

EDIT1:  I have found the error, is that code:

<?php
          $contabids = SchedulesData::GetBids(Auth::$pilot->pilotid);

    if ($contabids > 0)
		{
			$bidscontados = $contabids(count);
		}
		else
		{
			$bidsconstados =  "0";
		}
	      if($contabids >0){
		?>

What i can change here for correct this error?

Edited by ArthurHetem
  • Moderators
Posted
4 hours ago, ArthurHetem said:

$bidscontados = $contabids(count);

 

What do you trying to do in above code? If you're trying to count number of bids then the following is the right code to do it:

$bidscontados = COUNT($countabids);

 

  • Moderators
Posted

Also, I am not sure that "crewcenter" will work well the way you have installed it.  I think there are a few important reasons why the install instructions specially state that it must be installed on a separate subdomain.

Posted
On 25/09/2017 at 4:55 AM, Parkho said:

What do you trying to do in above code? If you're trying to count number of bids then the following is the right code to do it:


$bidscontados = COUNT($countabids);

 

Thank you, its working fine

 

Posted

Yeah CrewCenter is designed to be used on a separate subdomain as Parkho said this code is how to count bids 

Glad to hear it is all working now 

$bidscontados = COUNT($countabids);

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...