Jump to content

[SOLVED] What should i be looking for?


Modernvox

Recommended Posts

Howdy!

 

Wondering why my index page has all of a sudden decided to redirect users to a non-existing error.php? I mean, seriously the site had been working all day and then Bamm! Goes blank and shows nothing at all. Yarpool.com I don't get it? What should i be looking for? Oh yeah i am getting this error on another of my sites Cannot connect to DataBase: vvoyvwd_auctions Reason: Access denied for user 'vvoyvwd'@'localhost' (using password: YES) Script run being aborted for : Could not connect: Access denied for user 'vvoyvwd'@'localhost' (using password: YES)

Link to comment
Share on other sites

Id say you have been owned. Your index php has Javascript within it that now redirects to the error page.

 

I'd change all your passwords then go fix your site.

 

G thanks! I'm over here punching holes in walls and your telling me I've been owned. Are u telling me that someone has hijacked or hacked my Cpanel and did this? I know this is true because last week i got in 2 a little shouting match with my hired coder and that night all my folders and files were missing. I contacted the freelance site about it and once they contacted him the fikes were back up.. Of course he said "I did nothing" Need;ess to say he got his pay and now here i am again with a messed up site. Except this time all the folders and files are there, but can't open pages? Anyone want to take a look and see if they see anything out of wack because i have to be honest.. I spent a lot on these scripts and now i don't know what to do?

Link to comment
Share on other sites

Anyone want to take a look and see if they see anything out of wack

 

We can't see anything by simply looking at your page via a url. We need to see code.

 

Did you get a zip file or similar when you first received the site from your programmer? You should have.

 

If your not sure where to start I would start by changing all your ftp / shell passwords, remove all current files then replace them with the contents of your zip.

 

If you don't have a zip, then you'll likely need someone who knows what there looking for to take a look for you.

Link to comment
Share on other sites

"Cannot connect to DataBase: vvoyvwd_auctions Reason: Access denied for user 'vvoyvwd'@'localhost' (using password: YES)"

 

That simply means you are denied access to the database with the username vvoyvwd.. If that is not your username, then someone has obviously uploaded .. poorly, a database which would probably contain something bad within it, you're lucky it comes up as an error.

 

You mentioned you had cPanel? Well, Go check your cpanel logs etc!

 

Edit: was that your database? I doubt it's a hacker problem then, go check with your staff support to see if SQL servers are up.....

Link to comment
Share on other sites

"Cannot connect to DataBase: vvoyvwd_auctions Reason: Access denied for user 'vvoyvwd'@'localhost' (using password: YES)"

 

That simply means you are denied access to the database with the username vvoyvwd.. If that is not your username, then someone has obviously uploaded .. poorly, a database which would probably contain something bad within it, you're lucky it comes up as an error.

 

You mentioned you had cPanel? Well, Go check your cpanel logs etc!

 

Edit: was that your database? I doubt it's a hacker problem then, go check with your staff support to see if SQL servers are up.....

 

Yeah this was my initial suspicion. I just don't know where to look and on which script to look in to see what password i need to change?

Link to comment
Share on other sites

Check htaccess that it doesnt have this RewriteRule ^$ error.php it should be RewriteRule ^$ index.php

 

Also error.php is refreshing constantly, start by deleting it and index.php and reupload them, change index.php to 444, if someone is hacking they will alter index.php again. If they do change it again ban everyone temporarily :

 

# limit access to local area network
<Limit GET POST PUT>
order deny,allow
deny from all
allow from 192.168.0.0/33 #your ip
</Limit>

 

Remove all frontpage "vti_cnf" directories if you have them

 

Block all index browsing:

 

# stop ppl from browsing indexes
Options -Indexes

 

and make sure index.php actually exists if it doesnt you htaccess might look like this

 

ErrorDocument 404 /error.php

Link to comment
Share on other sites

Check htaccess that it doesnt have this RewriteRule ^$ error.php it should be RewriteRule ^$ index.php

htaccess says this " text/x-generic .htaccess very short file (no magic) " and that's all it says.

 

Also error.php is refreshing constantly, start by deleting it and index.php and reupload them, change index.php to 444, if someone is hacking they will alter index.php again. If they do change it again ban everyone temporarily :

I wouldn't be able to do this because all scripts pointing to index.php will no longer fuction? I guess?

 

# limit access to local area network
<Limit GET POST PUT>
order deny,allow
deny from all
allow from 192.168.0.0/33 #your ip
</Limit>

I wouldn't know where to begin to place this code, sorry?

 

Remove all frontpage "vti_cnf" directories if you have them

?

 

Block all index browsing:

 

# stop ppl from browsing indexes
Options -Indexes

Again, i know a little html and css , but as far as knowing where 2 place these types of codes-I don't.

and make sure index.php actually exists if it doesnt you htaccess might look like this

 

ErrorDocument 404 /error.php

 

You make it all sound so simple;-) Unfortunately i can't retain all this info at once....But hey!  Thanks a lot for taking the time to help me!

Link to comment
Share on other sites

Do you happen to store your passwords in a ftp client? If so it could be that some virus is stealing those passwords from it. Try a virus scan on the computers you use for uploading files to your webserver.

 

Thanks , but this is not the case with my situation:-)

Link to comment
Share on other sites

Does any1 see any code that redirects the page to error.php? If so what do i need to do 2 fix this.

 

<?
#//v.3.2.1
#///////////////////////////////////////////////////////
#//  COPYRIGHT 2004 Phpauction.org ALL RIGHTS RESERVED//
#///////////////////////////////////////////////////////

require('./includes/config.inc.php');

#// Run cron according to SETTINGS
if($SETTINGS['cron'] == 2) {
include_once "cron.php";
}

require("./header.php");

$TIME = mktime(date("H")+$SETTINGS['timecorrection'],date("i"),date("s"),date("m"), date("d"),date("Y"));
$NOW = date("YmdHis",$TIME);

/*
prepare data for templates/template
*/
//echo ($_SESSION['PHPAUCTION_LOGGED_IN']);
/* prepare categories list for templates/template */
# Prepare categories sorting
if($SETTINGS['catsorting'] == 'alpha') {
$catsorting = " ORDER BY t.cat_name ASC";
} else {
$catsorting = " ORDER BY sub_counter DESC";
}
$sql_m  = " AND `motors`='0'";
if($_REQUEST['c'] =='m')
$sql_m  = " AND `motors`='1'";

$TPL_categories_value = "";
$query = "select distinct * from PHPAUCTIONXL_categories c, PHPAUCTIONXL_cats_translated t 
          WHERE c.parent_id=0
          AND t.cat_id=c.cat_id
          AND t.lang='".$language."' $sql_m  
          $catsorting";
$result = mysql_query($query);
if(!$result) {
MySQLError($query);
exit;
} else {
$num_cat = mysql_num_rows($result);
$i = 0;
$TPL_categories_value = "<ul>\n";
while($i < $num_cat && $i < $SETTINGS['catstoshow']) {
	$catlink="";
	$cat_id = mysql_result($result,$i,"cat_id");
	$cat_name = mysql_result($result,$i,"cat_name");
	$sub_count = intval(mysql_result($result, $i, "sub_counter"));
	$cat_colour = mysql_result($result, $i, "cat_colour");
	$cat_image = mysql_result($result, $i, "cat_image");
	$cat_counter = (int)mysql_result($result, $i, "counter" );
	if ($sub_count!=0)
		$cat_counter = "(".$sub_count.")";
	else {
		$cat_counter = "";
	}
	$cat_counter = "";
	$cat_url = "./browse.php?id=$cat_id";
	if ( $cat_image != "") {
		$catlink = "<A HREF=\"$cat_url\"><IMG SRC=\"$cat_image\" BORDER=0></a>";
	}
	#//  Select the translated category name
	$cat_name = ucwords(@mysql_result(mysql_query("SELECT cat_name FROM PHPAUCTIONXL_cats_translated WHERE cat_id=$cat_id AND lang='".$language."'"),0,"cat_name"));
	$catlink .= "<A HREF=\"$cat_url\">$cat_name</A>"." $cat_counter";
	if ( $cat_colour != "") {
		$catlink = setsspan($catlink,"background-color:$cat_colour");
	}
	$TPL_categories_value .= "<li>".$catlink."</li>\n";
	$i++;
}
$TPL_categories_value .= "</ul>\n";

}


/* get last created auctions */
        $query = "SELECT id,title,starts, pict_url,photo_uploaded from PHPAUCTIONXL_auctions
         WHERE
         closed='0' AND
         suspended=0 AND ";
	 if($SETTINGS['adultonly']=='y' && !isset($_SESSION["PHPAUCTION_LOGGED_IN"])){
		 $query .= "adultonly='n' AND ";
	 }
         $query .= "starts<=".$NOW."
         ORDER BY starts DESC
         LIMIT 10";
$result = mysql_query($query);
if ( $result )
$num_auction = mysql_num_rows($result);
else
$num_auction = 0;

$i = 0;
$bgcolor = "#FFFFFF";

$TPL_last_auctions_value = "";
$TPL_last_auctions_value .= "<table border=0 cellpadding='2' cellspacing='2' width='90%' align='center'><tr>";
while($i < $num_auction) {
if($bgcolor == "#FFFFFF") {
	$bgcolor = $FONTCOLOR[$SETTINGS['headercolor']];
} else {
	$bgcolor = "#FFFFFF";
}
$title = mysql_result($result,$i,"title");
$id 	 = mysql_result($result,$i,"id");
$date	 = mysql_result($result,$i,"starts");
    $pict_url   = mysql_result ( $result, $i, "pict_url" );
    $phu        = intval(mysql_result( $result,$i,"photo_uploaded") &&($pict_url!=''));
    if ( $phu ) {
        $pict_url = $uploaded_path.$pict_url;
        $img=@getimagesize($pict_url);
        $sizedata=$img[3];
        $TPL_pict_url = "<div style=\"style='width:97px; height:74px; overflow:hidden\"><A HREF=\"./item.php?id=$id\"><img border=1 src='".$SETTINGS['siteurl']."$pict_url' $sizedata  alt=\"\" style='width:97px; height:74px; border:1px solid #eeeeee;' /></A></div>";
    } elseif ($pict_url!='') {
        $TPL_pict_url = "<div style=\"style='width:97px; height:74px; overflow:hidden\"><A HREF=\"./item.php?id=$id\"><img src='$pict_url' border=1  alt=\"\"  style='width:97px; height:74px; border:1px solid #eeeeee;'   /></A></div>";
    } else {
        $TPL_pict_url = "<A HREF=\"./item.php?id=$id\"><b>$MSG_114</b></A>";
    }

$year = substr($date,0,4);
$month = substr($date,4,2);
$day = substr($date,6,2);
$hours = substr($date,8,2);
$minutes = substr($date,10,2);
$seconds = substr($date,12,2);

#// Check bold and highlighted options

$ISBOLD = FALSE;
$ISHIGHLIGHTED = FALSE;

    if($i % 5 == 0){
        $TPL_last_auctions_value .= "</tr><tr>";
    }
    $TPL_last_auctions_value .= "<td align='center'>";
    
$TPL_last_auctions_value .= $TPL_pict_url;
    $TPL_last_auctions_value .="<p style=\"background-color:$bgcolor;display:block\"><font size=1>".date( 'm/d/Y H:m:s', strtotime($date) )." </font><A HREF=\"./item.php?id=$id\">";
if($ISHIGHLIGHTED) {
	$TPL_last_auctions_value .= "<SPAN CLASS=hg>";
}
if($ISBOLD) {
	$TPL_last_auctions_value .= "";
}
//$TPL_last_auctions_value .= substr( stripslashes($title), 0, 5 );

if($ISBOLD) {
	$TPL_last_auctions_value .= "";
}
if($ISHIGHLIGHTED) {
	$TPL_last_auctions_value .= "</SPAN>";
}
$TPL_last_auctions_value .= "</A></p>";
$i++;
    $TPL_last_auctions_value .= "</td>";
}
$TPL_last_auctions_value .= "</tr></table>";


// =============================================================================
/* get hot auctions */
$query = "SELECT
            id,title,starts, pict_url,photo_uploaded,
            (SELECT COUNT(*) FROM PHPAUCTIONXL_bids WHERE auction = PHPAUCTIONXL_auctions.id) as cnt
         from PHPAUCTIONXL_auctions         
         WHERE
         closed='0' AND
         suspended=0 AND ";
	 if($SETTINGS['adultonly']=='y' && !isset($_SESSION["PHPAUCTION_LOGGED_IN"])){
		 $query .= "adultonly='n' AND ";
	 }
         $query .= "starts<=".$NOW."
         ORDER BY cnt DESC
         LIMIT ".$SETTINGS['lastitemsnumber'];
$result = mysql_query($query);
if ( $result )
$num_auction = mysql_num_rows($result);
else
$num_auction = 0;

$i = 0;
$bgcolor = "#FFFFFF";

$TPL_hot_auctions_value = "";
$TPL_hot_auctions_value .= "<table border=0 cellpadding='2' cellspacing='2' width='90%' align='center'><tr>";
while($i < $num_auction) {
if($bgcolor == "#FFFFFF") {
	$bgcolor = $FONTCOLOR[$SETTINGS['headercolor']];
} else {
	$bgcolor = "#FFFFFF";
}
$cnt = mysql_result($result,$i,"cnt");
    if(intval($cnt) <= 0) { $i++; continue; };
$title = mysql_result($result,$i,"title");
$id 	 = mysql_result($result,$i,"id");
$date	 = mysql_result($result,$i,"starts");
    $pict_url   = mysql_result ( $result, $i, "pict_url" );
    $phu        = intval(mysql_result( $result,$i,"photo_uploaded") &&($pict_url!=''));
    if ( $phu ) {
        $pict_url = $uploaded_path.$pict_url;
        $img=@getimagesize($pict_url);
        $sizedata=$img[3];
        $TPL_pict_url = "<img src='".$SETTINGS['siteurl']."$pict_url' $sizedata border=0 alt=\"\" style='width:144px; height:112px; border:1px solid #eeeeee;' />";
    } elseif ($pict_url!='') {
        $TPL_pict_url = "<img src='$pict_url' border=0  alt=\"\"  style='width:144px; height:112px; border:1px solid #eeeeee;'   />";
    } else {
        $TPL_pict_url = "<b>$MSG_114</b>";
    }

$year = substr($date,0,4);
$month = substr($date,4,2);
$day = substr($date,6,2);
$hours = substr($date,8,2);
$minutes = substr($date,10,2);
$seconds = substr($date,12,2);

#// Check bold and highlighted options

$ISBOLD = FALSE;
$ISHIGHLIGHTED = FALSE;

    if($i % 3== 0){
        $TPL_hot_auctions_value .= "</tr><tr>";
    }
    $TPL_hot_auctions_value .= "<td align='center'>";
    
$TPL_hot_auctions_value .= $TPL_pict_url;
    $TPL_hot_auctions_value .="<p style=\"background-color:$bgcolor;display:block\">".ArrangeDateNoCorrection($day,$month,$year,$hours,$minutes)." <A HREF=\"./item.php?id=$id\">";
if($ISHIGHLIGHTED) {
	$TPL_hot_auctions_value .= "<SPAN CLASS=hg>";
}
if($ISBOLD) {
	$TPL_hot_auctions_value .= "<B>";
}
$TPL_hot_auctions_value .= stripslashes($title);
if($ISBOLD) {
	$TPL_hot_auctions_value .= "</B>";
}
if($ISHIGHLIGHTED) {
	$TPL_hot_auctions_value .= "</SPAN>";
}
$TPL_hot_auctions_value .= "</A></p>";
$i++;
    $TPL_hot_auctions_value .= "</td>";
}
$TPL_hot_auctions_value .= "</tr></table>";


/* get ending soon auctions */
$TPL_ending_soon_value = "";
$query = "select ends,id,title from PHPAUCTIONXL_auctions
         WHERE closed='0' AND
         suspended='0' AND ";
         $query .= "starts<=".$NOW."
         ORDER BY RAND() LIMIT ".$SETTINGS['endingsoonnumber'];
         //order by ends
$result = mysql_query($query);
$num_auction = mysql_num_rows($result);

$i = 0;
$bgcolor = "#FFFFFF";
while($i < $num_auction) {
if($bgcolor == "#FFFFFF") {
	$bgcolor = $FONTCOLOR[$SETTINGS['headercolor']];
} else {
	$bgcolor = "#FFFFFF";
}
$title 	= mysql_result($result,$i,"title");
$id 	= mysql_result($result,$i,"id");
$ends 	= mysql_result($result,$i,"ends");
$nowt	= $TIME;
$difference = mktime(	substr ($ends, 8, 2),
                      substr ($ends, 10, 2),
                      substr ($ends, 12, 2),
                      substr ($ends, 4, 2),
                      substr ($ends, 6, 2),
                      substr ($ends, 0, 4))-$nowt;
if ($difference > 0) {
	$days_difference = floor($difference / 86400);
	$difference = $difference % 86400;
	$hours_difference = floor($difference / 3600);
	$difference = $difference % 3600;
	$minutes_difference = floor($difference / 60);
	$seconds_difference = $difference % 60;
	$ends_string = sprintf("%d%s %02dh:%02dm:%02ds",$days_difference,$MSG_126, $hours_difference,$minutes_difference,$seconds_difference);
} else {
	$ends_string = $MSG_911;
}

#// Check bold and highlighted options
$ISBOLD = FALSE;
$ISHIGHLIGHTED = FALSE;

$TPL_ending_soon_value .= "
                          <p style=\"background-color:$bgcolor;display:block\">".$ends_string." <A HREF=\"./item.php?id=$id\">";
if($ISHIGHLIGHTED) {
	$TPL_ending_soon_value .= "<SPAN CLASS=hg>";
}
if($ISBOLD) {
	$TPL_ending_soon_value .= "<B>";
}

$TPL_ending_soon_value .= stripslashes($title);
if($ISBOLD) {
	$TPL_ending_soon_value .= "</B>";
}
if($ISHIGHLIGHTED) {
	$TPL_ending_soon_value .= "</SPAN>";
}

$TPL_ending_soon_value .= "</A></p>";
$i++;
}

/**
* NOTE: get higher bids
*/
$TPL_maximum_bids = "";
$query = "select auction,max(bid) AS max_bid
         FROM PHPAUCTIONXL_bids b, PHPAUCTIONXL_auctions a WHERE a.suspended=0 AND a.closed=0 AND a.id=b.auction GROUP BY b.bid,b.auction ORDER BY max_bid desc";
$result = mysql_query($query);

if ($result)
$num_auction = mysql_num_rows($result);
else
$num_auction = 0;

$i = 0;
$j = 0;
$bgcolor = "#FFFFFF";
$AU = array();

while($i < $num_auction && $j < $SETTINGS['higherbidsnumber']) {
$max_bid  = mysql_result($result,$i,"max_bid");
$auction  = mysql_result($result,$i,"auction");

//-- Get auction data

$query = "SELECT title,closed,id from PHPAUCTIONXL_auctions
         WHERE id=\"$auction\" AND";
		 $query .= "'".$NOW."'>=starts";
//print $query;
$result_bid = mysql_query($query);
if(mysql_num_rows($result_bid) > 0) {
	$title = mysql_result($result_bid,0,"title");
	$closed = mysql_result($result_bid,0,"closed");
	$auc_id = mysql_result($result_bid,0,"id");
}

if($closed == "0" && !in_array($auction,$AU)) {
	#// Check bold and highlighted options
	$ISBOLD = FALSE;
	$ISHIGHLIGHTED = FALSE;

	$TPL_maximum_bids .="
	                    <p style=\"background-color:$bgcolor;display:block\"><A HREF=javascript:window_open('converter.php?AMOUNT=$max_bid','incre',650,200,30,30)>"
	                    .print_money ($max_bid)." <A HREF=\"./item.php?id=$auc_id\">";
	if($ISHIGHLIGHTED) {
		$TPL_maximum_bids .= "<SPAN CLASS=hg>";
	}
	if($ISBOLD) {
		$TPL_maximum_bids .= "<B>";
	}
	$TPL_maximum_bids .= stripslashes($title);
	if($ISBOLD) {
		$TPL_maximum_bids .= "</B>";
	}
	if($ISHIGHLIGHTED) {
		$TPL_maximum_bids .= "</SPAN>";
	}
	$TPL_maximum_bids .= "</A></p>";
	if($bgcolor == "#FFFFFF") {
		$bgcolor = $FONTCOLOR[$SETTINGS['headercolor']];
	} else {
		$bgcolor = "#FFFFFF";
	}
	$AU[] = $auction;
	$j++;
}
$i++;
}
// Build list of help topics
$query = "SELECT * FROM PHPAUCTIONXL_faqscategories";
$r_h = @mysql_query($query);
if(!$r_h) {
MySQLError($query);
exit;
}
if(mysql_num_rows($r_h) > 0) {
$TPL_helptopics = "<ul>";
while($faqscat = mysql_fetch_array($r_h)) {
	$faqscat['category'] = stripslashes(@mysql_result(mysql_query("SELECT category FROM PHPAUCTIONXL_faqscat_translated WHERE id=".$faqscat['id']." AND lang='".$language."'"),0,"category"));
	//$faqscat['category']=stripslashes($faqscat['category']);
	$TPL_helptopics .= "<li><a href=\"javascript: window_open('viewfaqs.php?cat=".$faqscat['id']."','faqs',500,400,20,20)\">".$faqscat['category']."</a></li>";
}
$TPL_helptopics .= "</ul>";
} else {
$TPL_helptopics = "";
}

//-- Build news list
if($SETTINGS['newsbox'] == 1) {
$query = "SELECT title,id,new_date from PHPAUCTIONXL_news where suspended=0 order by new_date DESC limit ".$SETTINGS['newstoshow'];
$res = mysql_query($query);
if(!$res) {
	MySQLError($query);
	exit;
}
$TPL_news_list = "<ul>";
while($new = mysql_fetch_array($res)) {
	$new['title'] = @mysql_result(@mysql_query("SELECT title FROM PHPAUCTIONXL_news_translated WHERE id=".$new['id']." AND lang='".$language."'"),0,"title");
	$new_date= $new['new_date'];
	$F_date = FormatDate($new_date);
	$TPL_news_list .= "<li>$F_date - <a href=\"viewnew.php?id=".$new['id']."\">".$new['title']."</a></li>";
}
$TPL_news_list .= "</ul>";
} else {
$TPL_news_list = " ";
}

require(phpa_include("template_index_php.html"));
require('./footer.php');
?>

Link to comment
Share on other sites

Well. I still haven't got this wrapped up through my host (no big surprise there). Is there someone willing to look at these files 4 me to see where things are going wrong?

It may just be that when my host changed my Cpanel password, the script in question can not connect to DB? This is my best guess?

 

Thanks guys!

Link to comment
Share on other sites

It may just be that when my host changed my Cpanel password, the script in question can not connect to DB? This is my best guess?

 

If the cPanel password and the MySQL database password are the same, that is likely the case. Why don't you try updating the password in your config file and see if that works?

Link to comment
Share on other sites

It may just be that when my host changed my Cpanel password, the script in question can not connect to DB? This is my best guess?

 

If the cPanel password and the MySQL database password are the same, that is likely the case. Why don't you try updating the password in your config file and see if that works?

 

Yeah i was waiting for someone 2 tell me what file i needed to change the db password in;-) TY will update!

Link to comment
Share on other sites

It may just be that when my host changed my Cpanel password, the script in question can not connect to DB? This is my best guess?

 

If the cPanel password and the MySQL database password are the same, that is likely the case. Why don't you try updating the password in your config file and see if that works?

 

I don't see anywhere to change a password in here?

 

<?

#///////////////////////////////////////////////////////

#//  COPYRIGHT 2004 Phpauction.org ALL RIGHTS RESERVED//

#///////////////////////////////////////////////////////

define('INCLUDED', 1);

error_reporting(1);

$PHP_SELF=htmlspecialchars($PHP_SELF);

$REMOTE_ADDR=(get_magic_quotes_runtime()) ? $REMOTE_ADDR: addslashes($REMOTE_ADDR);

if(isset($_SESSION['PHPAUCTION_LOGGED_IN_USERNAME']))

$_SESSION['PHPAUCTION_LOGGED_IN_USERNAME'] = addslashes($_SESSION['PHPAUCTION_LOGGED_IN_USERNAME']);

#// ########################################################################################################

#// Test mode

#// TESTMODE variable will force Phpauction XL to run in "test mode" ($PHPAUCTION_TESTMODE = 'yes')

#// or in "live mode" ($PHPAUCTION_TESTMODE = 'no')

#//

#// When running in test mode Phpuction will provide you the ability to use the Paypal simulator

#// to simulate the payment processes

$PHPAUCTION_TESTMODE = ''; // Possible values: 'yes, 'no'

#// ########################################################################################################

 

//-- This is the directory where passwd.inc.php file resides - requires ending slash

 

//echo "--------".$_SERVER['DOCUMENT_ROOT']."==========";

// "/www/var/www/phpauction-gpl-3.2/";

require_once('passwd.inc.php');

$main_path = $server_path;

$include_path = $server_path."includes/";

 

//-- This is the directory where users pictures will be uploaded - requires ending slash

//-- Under Windows use something like C:\path\to\you\uploaddir\

 

 

$image_upload_path = $server_path."uploaded/";

$uploaded_path = "uploaded/";

 

 

//-- This string is added to passwords before generating the MD5 hash

//-- Be sure to never change it after the firt set up or

//-- your users passwords will not work

$MD5_PREFIX = "This_Is_My_Random_String_For_The_MD5_Hash_Algorithm";

 

/*

This is the log file generated by cron.php - insert the complete

file name (including the absolute path).

If you don't want to generate a log file for cron activity simply

leave this line commented.

*/

 

#$logFileName = "C:\path\to\cron.log";

/*

Set this to TRUE if you want cron to generates HTML output

BESIDES the cron file declared above. cron.php cannot generates

only HTML output.

*/

 

$cronScriptHTMLOutput = FALSE;

include $include_path."settings.inc.php";

include $include_path."messages.inc.php";

include $include_path."languages.inc.php";

 

?>

Link to comment
Share on other sites

Thank you everyone- The problem was: The host changed the Cpanel password, but the db was never changed. I couldn't find the file containing then db password because it wasn't the config file it was in a passwrd.inc file Chanegd that and now it is fine.

 

Again thanks to this community. I will always come here for php related issues and hopefully someday pass on what i have learned to others! 

 

Awesome, thanks!

 

MIke

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.