diff --git a/classes/class_cache.php b/classes/class_cache.php
index cde26a0d..63e79e7b 100644
--- a/classes/class_cache.php
+++ b/classes/class_cache.php
@@ -43,7 +43,8 @@ class CACHE extends Memcache {
public $CanClear = false;
function __construct() {
- $this->pconnect(MEMCACHED_HOST, MEMCACHED_PORT);
+ $this->pconnect('192.168.5.6', 11211);
+// $this->pconnect(MEMCACHED_HOST, MEMCACHED_PORT);
//$this->connect('localhost', 11211);
}
diff --git a/classes/class_user_rank.php b/classes/class_user_rank.php
index 0997744e..30542e8a 100644
--- a/classes/class_user_rank.php
+++ b/classes/class_user_rank.php
@@ -59,6 +59,7 @@ function table_query($TableName) {
}
function get_rank($TableName, $Value) {
+ return false;
if($Value == 0) { return 0; }
global $Cache, $DB;
diff --git a/design/privateheader.php b/design/privateheader.php
index 39790cbf..9c048343 100644
--- a/design/privateheader.php
+++ b/design/privateheader.php
@@ -168,7 +168,7 @@
Requests
Forums
IRC
- Top 10
+
Rules
Wiki
Staff
diff --git a/nohup.out b/nohup.out
new file mode 100644
index 00000000..546c6196
--- /dev/null
+++ b/nohup.out
@@ -0,0 +1,8 @@
+PHP Warning: file_get_contents(http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=downslayer&limit=1&api_key=LASTFM_API_KEY): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden
+ in /var/www/vhosts/what/sections/irc/index.php on line 1044
+PHP Warning: file_get_contents(http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=MrBillhelm&limit=1&api_key=LASTFM_API_KEY): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden
+ in /var/www/vhosts/what/sections/irc/index.php on line 1044
+PHP Warning: file_get_contents(http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=Fowler&limit=1&api_key=LASTFM_API_KEY): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden
+ in /var/www/vhosts/what/sections/irc/index.php on line 1044
+PHP Warning: file_get_contents(http://ws.audioscrobbler.com/2.0/?method=user.getrecenttracks&user=MrBillhelm&limit=1&api_key=LASTFM_API_KEY): failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden
+ in /var/www/vhosts/what/sections/irc/index.php on line 1044
diff --git a/sections/ajax/top10/index.php b/sections/ajax/top10/index.php
index 49ade612..f627320c 100644
--- a/sections/ajax/top10/index.php
+++ b/sections/ajax/top10/index.php
@@ -2,7 +2,7 @@
// Already done in /sections/ajax/index.php
//enforce_login();
-if(!check_perms('site_top10')){
+if(1 || !check_perms('site_top10')){
print json_encode(array('status' => 'failure'));
die();
}
diff --git a/sections/top10/index.php b/sections/top10/index.php
index 2a8ec4c8..8535f152 100644
--- a/sections/top10/index.php
+++ b/sections/top10/index.php
@@ -1,7 +1,7 @@
enforce_login();
-if(!check_perms('site_top10')){
+if(1 || !check_perms('site_top10')){
show_header();
?>