PHP-Nuke Nederland: Forums
PHP-Nuke Nederland :: View topic - Doorgelinkt naar hoofdpage
Author
Message
MiKeZZa
Gevorderd
Joined: Feb 03, 2007
Posts: 31
Posted:
Sat 10 Feb 2007 21:08
Ik heb mijn phpnuke opnieuw geinstalleerd en nu heb ik een heeeeeeeel vreemd probleem. Als ik de map waarin mijn nuke staat open (www.domein.nl/phpnuke) wordt ik doorgelinkt naar www.domein.nl
Wat is er hier aan de hand????
welrob
Helper
Joined: Aug 02, 2005
Posts: 438
Location: Naarden - Vesting
Posted:
Sat 10 Feb 2007 21:42
MiKeZZa
Gevorderd
Joined: Feb 03, 2007
Posts: 31
Posted:
Sat 10 Feb 2007 22:11
welrob wrote:
Kijk onder admin even naar instellingen daar staat site url van je site ik denk dat daar alleen www.domein.nl staat.
Nee, dat is het niet.
Heb wel vooruitgang geboekt met een andere file, die heb ik teruggezet. Deze geeft echter deze code boven de site:
"#000000\" width=\"130\" bgcolor=\"#ffffff\">\n" ."$content" .""; } ?>
Dus ergens wordt iets niet goed afgesloten.
Ligt denk ik aan dit stukje code:
[php:1:27d1a9e990]
function themesidebox($title, $content) {
echo "<table border=\"0\" align=\"center\" width=\"130\" cellpadding=\"0\" cellspacing=\"0\">"
."<tr><td background=\"themes/memlabs_blueplus/images/header.gif\" width=\"130\" height=\"16\">"
." <font color=\"#000000\"><b>$title</b></font>"
."</td></tr><tr><td><img src=\"themes/memlabs_blueplus/images/pixel.gif\" width=\"100%\" height=\"1\"></td></tr></table>\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"130\">\n"
."<tr><td width=\"130\" bgcolor=\"#0056a7\">\n"
."<table border=\"0\" cellpadding=\"3\" cellspacing=\"0\" width=\"130\">\n"
."<tr><td bgcolor=\"#000000\" width=\"130\" bgcolor=\"#ffffff\">\n"
."$content"
."</td></tr></table></td></tr></table><img src=\"themes/memlabs_blueplus/images/pixel.gif\" width=\"100%\" height=\"8\">";
}
?>"#000000\" width=\"130\" bgcolor=\"#ffffff\">\n"
."$content"
."</td></tr></table></td></tr></table><img src=\"themes/memlabs_blueplus/images/pixel.gif\" width=\"100%\" height=\"8\">";
}
?>[/php:1:27d1a9e990]
Maar wat er precies fout zit is me nog een raadsel, het zit onderaan maar hoe het wel moet zijn :$
Edit, PHP -tags, door ZeroMechanic
zeromechanic
Administrator
Joined: Oct 01, 2004
Posts: 1528
Location: Emmeloord
Posted:
Sun 11 Feb 2007 7:40
[php:1:f931ef3a5b]?>"#000000\" width=\"130\" bgcolor=\"#ffffff\">\n"
."$content"
."</td></tr></table></td></tr></table><img src=\"themes/memlabs_blueplus/images/pixel.gif\" width=\"100%\" height=\"8\">";
}
?>[/php:1:f931ef3a5b]
dit stuk gaat het mis, aan het begin staat een ?> dit is een php einde script
Dan klopt je code niet meer, zet de origineel terug
_________________Te Lezen : Forum Regels | Te Gebruiken
MiKeZZa
Gevorderd
Joined: Feb 03, 2007
Posts: 31
Posted:
Tue 13 Feb 2007 2:22
zeromechanic wrote:
[php:1:ad8a44d9c8]?>"#000000\" width=\"130\" bgcolor=\"#ffffff\">\n"
."$content"
."</td></tr></table></td></tr></table><img src=\"themes/memlabs_blueplus/images/pixel.gif\" width=\"100%\" height=\"8\">";
}
?>[/php:1:ad8a44d9c8]
dit stuk gaat het mis, aan het begin staat een ?> dit is een php einde script
Dan klopt je code niet meer, zet de origineel terug
Ah het is gewoon een kwestie van die ?> weghalen en klaar
zeromechanic
Administrator
Joined: Oct 01, 2004
Posts: 1528
Location: Emmeloord
Posted:
Tue 13 Feb 2007 7:36
Je kunt het proberen, maar ik denk dat je dan tegen andere problemen aan gaat lopen.
Er mist naar mijn inziens een stukje code op de plaats van de ?>.
Wat heb je gedaan in dat bestand?
Heb je het origineel nog?
Dan kun je gaan vergelijken
Anders de origineel uploaden
_________________Te Lezen : Forum Regels | Te Gebruiken
Donaties
Adverteren
Wilt u het forum steunen, dan kunt u nu eenvoudig doneren met PayPal.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Powered by phpBB © 2001, 2005 phpBB Group