Hoi kenners,
Ik als n00b heb een vaag probleem en mischien dat iemand hier een oplossing heeft.
ik heb aan site adultgameplay (com) ooit is gekocht op deze site.
Ik heb al een 4,5 maanden niet meer in ingelogt en was vandaag van plan even wat onderhoud ter verichten aan mij site.
nu als ik probeer in te loggen zie ik dit
adultgameplay.com/admin/
Een foto van een stad uit china of zo.
Hoe dan ook ik om niet meer ingelogt, heb alles al op nieuw geupload ook de database,
maar zonder enige succes.
iemand hier ideeen hoe ik dit kan fixen ?
Alvast bedankt
Jorry
- Vaag PHP probleem inloggen op mijn admin ?
-
06-04-2010, 00:01 #1
- Berichten
- 160
- Lid sinds
- 18 Jaar
Vaag PHP probleem inloggen op mijn admin ?
-
In de schijnwerper
-
06-04-2010, 01:50 #2
- Berichten
- 587
- Lid sinds
- 16 Jaar
Je /admin/index.php is blijkbaar aangepast zodat hij ergens een afbeelding leest en die toont.
Plaatst de code hiervan even online, dan kan er iemand naar kijken...
Ik vrees dat je een nieuwe admin zal moeten (laten) maken...
-
06-04-2010, 20:50 #3
- Berichten
- 160
- Lid sinds
- 18 Jaar
Hoi dries,
het is voor mij een hoop gebrabbel maar dit staat er in de index.php
<?php
$adminarea = true;
error_reporting(E_ALL ^ E_NOTICE);
include "../cfg.php";
include "adminapi.php";
// global vars
$links = array();
$linkshref = array();
$sublinks = array();
$sublinkshref = array();
if (!isset($_REQUEST["act"])) {
$act = "site";
} else {
$act = $_REQUEST["act"];
}
// -----------
$dh = opendir("../plugins");
while (($filename = readdir($dh)) !== false) {
$files[] = $filename;
}
sort($files);
$arr = array();
foreach ($files as $file) {
if ($file=='.' || $file=='..') continue;
if ($file[0]!="~") {
$arr[] = $file;
}
}
foreach ($arr as $plugin) {
if (file_exists("../plugins/".$plugin."/functions.php")) {
debugoutput("loading $plugin/functions.php");
require_once("../plugins/".$plugin."/functions.php");
}
}
foreach ($arr as $plugin) {
if (file_exists("../plugins/".$plugin."/prep.php")) {
debugoutput("loading $plugin/prep.php");
require_once("../plugins/".$plugin."/prep.php");
}
}
foreach ($arr as $plugin) {
if (file_exists("../plugins/".$plugin."/first.php")) {
debugoutput("loading $plugin/first.php");
require_once("../plugins/".$plugin."/first.php");
}
}
foreach ($arr as $plugin) {
if (file_exists("../plugins/".$plugin."/admin.php")) {
debugoutput("loading $plugin/admin.php");
require_once("../plugins/".$plugin."/admin.php");
$func = $plugin.'_links';
$func();
}
}
foreach ($arr as $plugin) {
if (file_exists("../plugins/".$plugin."/exec.php")) {
debugoutput("loading $plugin/exec.php");
require_once("../plugins/".$plugin."/exec.php");
}
}
// Make sure the user is logged in.
if (user_enabled()) {
$user = get_logged_in_user();
if ($user == false || $user['admin'] != "Yes") {
include "login.php";
die();
}
}
///////
if(!fixbug("breakob")) {
ob_start("admin_set_content");
}
//$func = $act."_sublinks";
//if (function_exists($func)) {
// $func();
//}
$func = $act."_admin";
if (function_exists($func)) {
$mthd = $_REQUEST["mthd"];
$func($mthd);
}
ob_end_flush();
do_event("admin_theme_display");
include $cfg['themeinc'];
//echo (memory_get_usage()/1000/1000)."M<br />";
//
?>
-
08-04-2010, 02:08 #4
- Berichten
- 587
- Lid sinds
- 16 Jaar
Dat lijkt me inderdaad een hoop 'gebrabbel' & vrij slecht geschreven php code :)
Voeg me even toe op msn, misschien kan ik je dan verder helpen...
-
08-04-2010, 13:50 #5
- Berichten
- 160
- Lid sinds
- 18 Jaar
@dries
hahaha
Voor mij is het al spannend als er 2x // { in 1 regel voorkomt :-)
Ben vanavond thuis.
Alvast bedankt voor het meedenken.
Jorry
Plaats een
- + Advertentie
- + Onderwerp
Marktplaats
Webmasterforum
- Websites algemeen
- Sitechecks
- Marketing
- Domeinen algemeen
- Waardebepaling
- CMS
- Wordpress
- Joomla
- Magento
- Google algemeen
- SEO
- Analytics
- Adsense
- Adwords
- HTML / XHTML
- CSS
- Programmeren
- PHP
- Javascript
- JQuery
- MySQL
- Ondernemen algemeen
- Belastingen
- Juridisch
- Grafisch ontwerp
- Hosting Algemeen
- Hardware Info
- Offtopic