Jump to content

Sign in to follow this  
CaptDennison

AVSIM SITE PROBLEMS as of Today 4-11-17

Recommended Posts

Placing this here, as I hardly use the forums, and have no idea where best place to put this to be seen would be.

I just tried to log in, I got into the DOWNLOAD SECTION OK, but when I would try to look at the images of a download via the links in description I got this.

--------------------------------------------------------------------------

query("insert into library.ftp_auth (`idftp_auth` , `user_id` , `authorization` , `created`) values (null, ".$GLOBALS['LIBRARY_USERID'].", ".$GLOBALS['PDO']->quote(sha1($nonce)).", now());"); $authid = $GLOBALS['PDO']->lastInsertId(); $authstring = $authid.":".$nonce."@"; } elseif($loc['FTPNeedsAuth'] == 'Y') { //$authstring = "{$GLOBALS['LIBRARY_LOGIN']}:{$GLOBALS['LIBRARY_NONCE']}@"; $proto = 'stream'; $path = join('/', Array($loc['FileRoot'], $cat['Path'], $res['FileName'])); break; } else { $authstring = ""; } $path = "ftp://$authstring" . join('/', Array($loc['FTPRoot'], $cat['Path'], $res['FileName'])); break; case 'http': $path = "http://" . join('/', Array($loc['HTTPRoot'], $cat['Path'], $res['FileName'])); break; case 'file'; $path = join('/', Array($loc['FileRoot'], $cat['Path'], $res['FileName'])); break; } if ($proto != 'file' && $proto != 'stream') { # We have everything we need, short-circuit out! if (!$DEBUG_MODE) { header("Location: $path"); #echo "Location: $path"; } else { echo "Location: $path"; exit; } } elseif($proto == 'stream') { if (is_file($path)) { header('Content-Description: File Transfer'); header('Content-Type: application/octet-stream'); header('Content-Disposition: attachment; filename="'.basename($path).'"'); header('Expires: 0'); header('Cache-Control: must-revalidate'); header('Pragma: public'); header('Content-Length: ' . filesize($path)); readfile($path); } } else { if ($mode != $_MODE_DL) { # Whatever happens, we're done with the DB! mysql_close($con); # Simple fopen-fpassthru case if (is_file($path)) { $img = @fopen($path, "rb"); output_content_header($res['FileName']); header("Content-Disposition: inline; filename={$res['FileName']}"); fpassthru($img); exit; } else { header("Location: http://{$_SERVER['HTTP_HOST']}$IMG_NOT_FOUND_URI"); exit; } } else { # Die horribly echo "Bang! Mode was _MODE_DL for $location and proto was 'file'.\n"; echo "This code is long dead, it should have chosen proto 'ftp'.\n"; exit; if (0) { # Complex dynamicfs case # Add datedir now, makes life much easier! $datedir = mktime(0, 0, 0, gmdate("m"), gmdate("d"), gmdate("Y")); $md5rand = md5(uniqid(rand())); $dyndir = "dynamic" . $cat['PartFlag'] . "/" . $datedir; @mkdir($loc['FileRoot'] . "/" . $dyndir, 0755); $dyndir .= "/" . substr($md5rand, 0, 2); @mkdir($loc['FileRoot'] . "/" . $dyndir, 0755); $dyndir .= "/" . substr($md5rand, 0, 8); @mkdir($loc['FileRoot'] . "/" . $dyndir, 0755); @link($path, $loc['FileRoot'] . "/" . $dyndir . "/" . $res['FileName']); header("Location: ftp://{$_SERVER['HTTP_HOST']}/$dyndir/{$res['FileName']}"); # Don't wait for me, there's nothing more to see here. # (i.e. yes, I really want everything that follows to run in the background) flush(); } } } mysql_query("update Users set lastlogin = unix_timestamp() where UserLogin = '".$GLOBALS['LIBRARY_LOGIN']."'"); if ($mode == $_MODE_DL) { # Update stats # beware, id is STILL from the web $result = mysql_query("UPDATE DLCount SET DownloadCount = DownloadCount + 1 WHERE DownloadID = '" . mysql_real_escape_string($id, $con) . "'", $con); if (!$result) { handle_mysql_error($con); } $thedate = getdate(time()); $result = mysql_query("UPDATE DLSummary SET Count = Count + 1 WHERE DownloadID = '" . mysql_real_escape_string($id, $con) . "' AND Year = {$thedate['year']} AND YDay = {$thedate['yday']}", $con); if (!$result) { handle_mysql_error($con); } if (mysql_affected_rows() < 1) { $result = mysql_query("INSERT INTO DLSummary VALUES ('" . mysql_real_escape_string($id, $con) . "', {$thedate['year']}, {$thedate['yday']}, 1)", $con); if (!$result) { handle_mysql_error($con); } } } mysql_close($con); ?>

------------------------------------------------------------------------------------

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

And on a couple of downloads I got this

 

-------------------------------------------------------------------------------------

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

our connection is not secure

The owner of avsim.net has configured their website improperly. To protect your information from being stolen, Firefox has not connected to this website.

Learn more…

 

Yes I use Firefox, I also has to hit reload a few times in order to log out.

 

I hope we are not going to be going thru the problems that we had last year again.

 

This is just a note to the site, of a problem

 

 

Share this post


Link to post
Share on other sites

It was the same fro me using Firefox earlier in the day but is okay now.


Rick Almeida

Share this post


Link to post
Share on other sites

Problem(s) fixed.


Jim Young | AVSIM Online! - Simming's Premier Resource!

Member, AVSIM Board of Directors - Serving AVSIM since 2001

Submit News to AVSIM
Important other links: Basic FSX Configuration Guide | AVSIM CTD Guide | AVSIM Prepar3D Guide | Help with AVSIM Site | Signature Rules | Screen Shot Rule | AVSIM Terms of Service (ToS)

I7 8086K  5.0GHz | GTX 1080 TI OC Edition | Dell 34" and 24" Monitors | ASUS Maximus X Hero MB Z370 | Samsung M.2 NVMe 500GB and 1TB | Samsung SSD 500GB x2 | Toshiba HDD 1TB | WDC HDD 1TB | Corsair H115i Pro | 16GB DDR4 3600C17 | Windows 10 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    42%
    $10,690.00 of $25,000.00 Donate Now
×
×
  • Create New...