Thank you to nukecops for making the Google Tap available to everyone. The idea is great. I say idea because I haven't gotten it to work yet.
I have read every single thread on Google Tap install. I read Zhen-Xjell's replies. I know it's just in beta stages... I just want to make it work. I tried hard before I posted, but I still get 404-not-founds all over the place.
I have phpnuke 6.5 with sec-fix 3 and 4 applied.
I will try to make this easy for you to help me.
1. My host does have mod_rewrite enabled in Apache.
2. Is the htaccess file ready to be used as is (I did rename it to .htaccess)?
3. Please bold or highlight or color or whatever the code in footer.php that needs to be replaced with this red-colored code:
/************************************************************************/
/* PHP-NUKE: Advanced Content Management System */
/* ============================================ */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if (eregi("footer.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
$footer = 1;
function footmsg() {
global $foot1, $foot2, $foot3, $copyright, $total_time, $start_time;
$mtime = microtime();
$mtime = explode(" ",$mtime);
$mtime = $mtime[1] + $mtime[0];
$end_time = $mtime;
$total_time = ($end_time - $start_time);
$total_time = ""._PAGEGENERATION." ".substr($total_time,0,5)." "._SECONDS."";
echo "<font class=\"footmsg\">\n";
if ($foot1 != "") {
echo "$foot1<br>\n";
}
if ($foot2 != "") {
echo "$foot2<br>\n";
}
if ($foot3 != "") {
echo "$foot3<br>\n";
}
// DO NOT REMOVE THE FOLLOWING COPYRIGHT LINE. YOU'RE NOT ALLOWED TO REMOVE NOR EDIT THIS.
echo "$copyright<br>$total_time<br>\n</font>\n";
}
/************************************************************************/
/* PHP-NUKE: Advanced Content Management System */
/* ============================================ */
/* */
/* Copyright (c) 2002 by Francisco Burzi */
/* http://phpnuke.org */
/* */
/* This program is free software. You can redistribute it and/or modify */
/* it under the terms of the GNU General Public License as published by */
/* the Free Software Foundation; either version 2 of the License. */
/************************************************************************/
if (eregi("header.php",$_SERVER['PHP_SELF'])) {
Header("Location: index.php");
die();
}
require_once("mainfile.php");
##################################################
# Include some common header for HTML generation #
##################################################
$header = 1;
function head() {
global $slogan, $sitename, $banners, $nukeurl, $Version_Num, $artpage, $topic, $hlpfile, $user, $hr, $theme, $cookie, $bgcolor1, $bgcolor2, $bgcolor3, $bgcolor4, $textcolor1, $textcolor2, $forumpage, $adminpage, $userpage, $pagetitle;
$ThemeSel = get_theme();
include("themes/$ThemeSel/theme.php");
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
echo "<html>\n";
echo "<head>\n";
echo "<title>$sitename $pagetitle</title>\n";
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
rapid Corporal
Joined: Jul 09, 2003
Posts: 71
Posted:
Mon Jul 14, 2003 7:09 pm
thank you, Zhen. Will those files work ok with my version of phpNuke (6.5 with sec-fix 4 applied)?
rapid Corporal
Joined: Jul 09, 2003
Posts: 71
Posted:
Mon Jul 14, 2003 8:21 pm
404 not found.
this is really frustrating. Can anyone take a little time and help me out here, please?
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Tue Jul 15, 2003 3:06 am
Did you grab the .htaccess, header, and footer? Do you have mod_rewrite installed on the machine?
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
rapid Corporal
Joined: Jul 09, 2003
Posts: 71
Posted:
Tue Jul 15, 2003 9:19 am
Zhen,
Yes, I got .htaccess, header.php, fotter.php, and also includes/sessions.php.
Reading your question, I guess I only need those first three? I will try it again. I am also guessing it is ok to use those, given my version of phpnuke (6.5, secfix4).
Yes, my host does have mod_rewrite enabled.
Thank you
rapid Corporal
Joined: Jul 09, 2003
Posts: 71
Posted:
Thu Jul 17, 2003 7:18 pm
Zhen,
I tried again with those three files you mentioned, and it seems to work.
I am now, however, having problems with the login page. Sometimes the security code image does not load (red x), sometimes it looks like there is no security code image at all in the login process (as if it were not enabled), sometimes the image is there, but I can't login the first time. 2nd or third time works. Cookies in IE 6 are "Accept All Cookies..."
I am no coder, so please tell me if these symptoms could be caused by the changes I made in order to get the google tap to work.
Thank yuo very much.
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Fri Jul 18, 2003 5:29 am
GT changes have no effect on the security code image.
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
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