Help.. site error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MyCamProfile
    Confirmed User
    • Jan 2011
    • 354

    #1

    Help.. site error

    I tryed to log into the admin zone of my site and I receive this error when I go into my management area. Nothing has been changed.


    Warning: include_once(/home/mycampro/public_html/siteadmin/Data/Members/class.MembersData.php) [function.include-once]: failed to open stream: No such file or directory in /home/mycampro/public_html/siteadmin/Modules/Members/class.Members.php on line 5

    Warning: include_once() [function.include]: Failed opening '/home/mycampro/public_html/siteadmin/Data/Members/class.MembersData.php' for inclusion (include_path='.:/home/proevote/public_html/domains/foodymoody.com/system') in /home/mycampro/public_html/siteadmin/Modules/Members/class.Members.php on line 5

    Fatal error: Class 'MembersData' not found in /home/mycampro/public_html/siteadmin/Modules/Members/class.Members.php on line 7

    Does anyone know what this could be?
  • CurrentlySober
    Too lazy to wipe my ass
    • Aug 2002
    • 38944

    #2
    i like poo


    👁️ 👍️ 💩

    Comment

    • B.Barnato
      So Fucking Banned
      • Nov 2010
      • 3618

      #3
      hi and welcome back

      Comment

      • Dejan
        Confirmed User
        • Apr 2006
        • 8776

        #4
        Didn't you leave GFY?

        your class.Members.php file is fucked up, check out lines 5 and 7..
        Convert your East European traffic

        Comment

        • MyCamProfile
          Confirmed User
          • Jan 2011
          • 354

          #5
          Originally posted by B.Barnato
          hi and welcome back
          Thanks

          Originally posted by Dejan
          Didn't you leave GFY?

          your class.Members.php file is fucked up, check out lines 5 and 7..
          Well I was banned for awhile. I don't know why it could be fucked up when I haven't touched anything. Here is that file. Tell me if you see anything unusual please.

          <?
          define("CURRENTTEMPLATES_FOLDER",MAIN_ADMINTEMPLAT ES_PATH);
          define("MEMBER_TEMPLATES_FOLDER",MAIN_ADMINTEMPLAT ES_PATH."Members/");

          include_once(MAIN_ADMINDATACLASS_PATH."Members/class.MembersData.php");
          include_once(ADMINABSOLUTE_PATH."Config/inc.LeftMenu.php");
          class Members extends MembersData {
          function Members($MemberId=''){
          global $global_config,$_SESSION,$LeftMenu;
          $this->Common();
          $this->MembersData();
          $SideMenu = $LeftMenu["members"];
          $this->setVariable("LeftMenu_Title","Members");
          $this->setVariable("LeftMenu",$SideMenu);
          }

          function UpdateStatus($objArray){
          global $_SESSION,$_COOKIE,$global_config;
          if($objArray == "")
          $objArray = $this->Request;
          $Ids="";
          if($objArray["Ids"]!=""){
          foreach($objArray["Ids"] as $key=>$value){
          if($Ids=="")
          $Ids = "'".$value."'";
          else
          $Ids .= ",'".$value."'";
          }
          $this->UpdateMemberStatus($Ids,$objArray["Status"]);
          }

          }


          function UpdateModelStatus($objArray){
          global $_SESSION,$_COOKIE,$global_config;
          if($objArray == "")
          $objArray = $this->Request;
          $Ids="";
          if($objArray["Ids"]!=""){
          foreach($objArray["Ids"] as $key=>$value){
          if($Ids=="")
          $Ids = "'".$value."'";
          else
          $Ids .= ",'".$value."'";
          }
          $this->UpdateModelActiveStatus($Ids,$objArray["Status"]);
          }

          }

          function MembersListPage($objArray){
          global $_SESSION,$_COOKIE,$global_config;
          if($objArray == "")
          $objArray = $this->Request;

          if($objArray["fAction"] == "updatestatus"){
          $this->UpdateStatus($objArray);
          $this->setVariable("SuccessMessage","Profile status updated successfully.");
          }
          if($objArray["fAction"] == "updatemodelstatus"){
          $this->UpdateModelStatus($objArray);
          $this->setVariable("SuccessMessage","Profile status updated successfully.");
          }
          $intTotal = $this->getMembersData('COUNT','','',$objArray);
          $intLimit = 20;
          $intPage = ($objArray["p"] == "" || $objArray["p"] == "0")? 1 : $objArray["p"];
          if($intPage == 1)
          $intStart = 0;
          else
          $intStart = ($intPage-1) * $intLimit;
          if($intStart > $intTotal)
          {
          $intStart = $intTotal-$intLimit -1;
          $intPage = ceil($intTotal/$intLimit);
          }
          $intDisplayed=$intLimit+$intStart;
          if($intDisplayed>$intTotal)
          $intDisplayed=$intTotal;
          if($intStart<0)
          $intStart='0';

          $rsMembers = $this->getMembersData("*",$intStart,$intLimit,$objArray) ;
          $this->setPerPage($intTotal,$intLimit,count($rsMembers), $intPage);
          $this->prePopulateForm();
          $this->setVariable("Start",$intStart);
          $this->setVariable("IntTotal",$intTotal);
          $this->setVariable("IntStart",$intStart+1);
          $this->setVariable("IntLimit",$intDisplayed);
          $this->setVariable("MemberList",$rsMembers);
          $this->setVariable("Include",MEMBER_TEMPLATES_FOLDER."Li st.tpl");
          }


          function doProcess($objArray) {
          $this->loadJS("siteadmin/javascript/member.js");
          $this->ProcessArray = $this->parseProcess($objArray["op"]);
          if($this->ProcessArray[2]!= '')
          $this->Process = $this->ProcessArray[2];
          else if($this->ProcessArray[1]!= '')
          $this->Process = $this->ProcessArray[1];
          else
          $this->Process = $this->ProcessArray["0"];
          switch($this->Process) {
          default:
          $this->MembersListPage($objArray);
          break;
          }
          }
          }
          ?>

          Comment

          • Tom_PM
            Porn Meister
            • Feb 2005
            • 16443

            #6
            If nothing has been changed (meaning by you) then if it were ME, I'd be asking my host if they'd updated anything at all in the last couple of days. Maybe they did a security update and now your paths are eff'd up.
            43-922-863 Shut up and play your guitar.

            Comment

            • MyCamProfile
              Confirmed User
              • Jan 2011
              • 354

              #7
              Ok well I just opened a ticket. Hopefully they can fix it.

              Comment

              Working...