ArthurHetem Posted September 25, 2017 Report Share Posted September 25, 2017 (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 September 25, 2017 by ArthurHetem Quote Link to comment Share on other sites More sharing options...
Moderators Parkho Posted September 25, 2017 Moderators Report Share Posted September 25, 2017 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); Quote Link to comment Share on other sites More sharing options...
Moderators shakamonkey88 Posted September 25, 2017 Moderators Report Share Posted September 25, 2017 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. Quote Link to comment Share on other sites More sharing options...
ArthurHetem Posted September 29, 2017 Author Report Share Posted September 29, 2017 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 Quote Link to comment Share on other sites More sharing options...
LukeW Posted September 29, 2017 Report Share Posted September 29, 2017 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); Quote Link to comment Share on other sites More sharing options...
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.