GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Help.. site error (https://gfy.com/showthread.php?t=1020996)

MyCamProfile 05-03-2011 01:02 PM

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 05-03-2011 01:03 PM

i like poo

B.Barnato 05-03-2011 01:12 PM

hi and welcome back

Dejan 05-03-2011 01:13 PM

Didn't you leave GFY?

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

MyCamProfile 05-03-2011 01:19 PM

Quote:

Originally Posted by B.Barnato (Post 18105574)
hi and welcome back

Thanks

Quote:

Originally Posted by Dejan (Post 18105585)
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;
}
}
}
?>

Tom_PM 05-03-2011 01:22 PM

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.

MyCamProfile 05-03-2011 01:26 PM

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


All times are GMT -7. The time now is 08:50 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123