I try to install the google tab on my website, but i have actually a very big problem, because my site is down.
I have this error in my home page :
Code:
if (eregi("header.php",$PHP_SELF)) { Header("Location: index.php"); die(); } ob_start(); function replace_for_mod_rewrite(&$s) { $urlin = array( "'(? Fatal error: Call to undefined function: themeindex() in /home/planetdi/www/modules/News/index.php on line 134
I have just substitut my helder, footer, and .htaccess files by the google tab files !
Please, could you help ŕ french nuker , inspite of his bad english...
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Wed Aug 20, 2003 1:14 pm
Hi'ya which version of phpnuke do you have? You used which GT files? CVS or non-CVS?
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
cletlamasse Nuke Cadet
Joined: Aug 20, 2003
Posts: 4
Posted:
Wed Aug 20, 2003 1:19 pm
thinks for your answer Zhen-Xjell ,
Version of phpnuke : 6.7.1
version of google tab : beta 0.6.5
For the CVS, i have no idea, sorry for that, what does it mean ?
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Wed Aug 20, 2003 1:20 pm
Hi'ya, 6.7 doesn't have any dot versions. Try grabbing the files from http://cvs.nukecops.com for GoogleTap. I hope you did save your originals right?
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
cletlamasse Nuke Cadet
Joined: Aug 20, 2003
Posts: 4
Posted:
Wed Aug 20, 2003 1:26 pm
Have i just to change my header, footer and .htaccess by the cvs files or
it's necessary to re upload my website before change this 3 files.
Thinks
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Wed Aug 20, 2003 1:32 pm
No not at all... you can just try out those three files from the cvs. Try it and let me know.
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
cletlamasse Nuke Cadet
Joined: Aug 20, 2003
Posts: 4
Posted:
Wed Aug 20, 2003 2:25 pm
EXCELLENT !!!!!
It work !!!!!!!!!
I've just did what you said and replace the originals files by the CVS's.
All my news are rename in .html, like all messages of my forum...just my content pages are not translate in .html, but doesn't matter, my site work...
Thinks very much Zhen-Xjell for your time and your help...
See ya
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Wed Aug 20, 2003 2:27 pm
np
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
checksum Sergeant
Joined: Apr 30, 2003
Posts: 122
Posted:
Tue Sep 02, 2003 4:21 pm
Hi Zhen,
I just installed GT ver 0.6.5 and did all the changes to the files. But my problem is that everytime I tranfer the file .htaccess to my server, it disappears.
Any ideas?
checksum Sergeant
Joined: Apr 30, 2003
Posts: 122
Posted:
Tue Sep 02, 2003 4:29 pm
Never mind , I dont see the files when I use WSFTP PRO, but when I use the browser to access my folder in my server i can see the file.
My problem is that the links have an html ending, but nothing is displayed, i get 404 error page not found
checksum Sergeant
Joined: Apr 30, 2003
Posts: 122
Posted:
Wed Sep 03, 2003 12:19 am
Can anybody help me.
The forum link under the main menu does not have the forum.html tag instead it says modules.php?name=Forums.
here are my .htaccess and header.php files. I got them from CVS
Quote:
# $Author: zx $
# $Date: 2003/08/17 13:42:56 $
# deny most common except .php
<FilesMatch "\.(inc|tpl|h|ihtml|sql|ini|conf|class|bin|spd|theme|module)$">
deny from all
</FilesMatch>
<Limit GET PUT POST>
Order Allow,Deny
Allow from all
</Limit>
# $Log: .htaccess,v $
# Revision 1.7 2003/08/17 13:42:56 zx
# Added additional forums GT code
#
# Revision 1.6 2003/07/14 17:12:38 zx
# CVS Keyword Substition Test Success. Will place $Log: .htaccess,v $
# CVS Keyword Substition Test Success. Will place Revision 1.7 2003/08/17 13:42:56 zx
# CVS Keyword Substition Test Success. Will place Added additional forums GT code
# CVS Keyword Substition Test Success. Will place at the end of pages, and $Author: zx $, $Date: 2003/08/17 13:42:56 $ at the top.
#
Quote:
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* PHP-Nuke 6.0 */
/* http://www.nukedownload.com */
/* PHP-Nuke 6.5 */
/* http://www.yoohoo.lu */
/* */
/* 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();
}
##################################################
# 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";
online();
head();
include("includes/counter.php");
global $home;
if ($home == 1) {
message_box();
include("cblocks.php");
blocks(Center);
}
?>
Last edited by checksum on Sat Oct 04, 2003 4:01 am; edited 1 time in total
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Wed Sep 03, 2003 3:35 pm
Hi'ya yes, that is ok. Google will index that correctly. Once we integrate this NC site into the CVS, we'll begin to fine tune those things.
_________________ Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
parthurz Nuke Cadet
Joined: Sep 03, 2003
Posts: 4
Posted:
Thu Sep 11, 2003 4:54 am
I have the same problem as checksum.
The .htaccess file just disappears. The links point to html pages but they don't work (404).
I contacted the hosting company and they said that
Quote:
"The apache module mod_rewrite is not available on our servers"
I know nothing about Apache but am guessing that this may be the problem.
Is there a good reason why mod_rewrite should not be installed (eg software version, security...), or is my hosting comp just lazy.
Next qu of course is - is there a way to get around this (apart from moving to another host).
MrFluffy Captain
Joined: Aug 06, 2003
Posts: 411
Location: Berlin
Posted:
Wed Oct 08, 2003 1:39 am
I just installed the 1.2 CVS-versions on a nuke 7a2...(on my WAMP testsystem).
I found elsewhere, that i had to modifiy apache config to access a windowslike htacc.ess (for windows doesn't allow ".htaccess" - so i changed that and renamed the htaccess.GT accordingly.
Now i can access my testsite quite normally, the only change is that i can no longer access forum topics (404).
In fact all links converted to html give back 404s.
Any suggestions where to start picking?
And, should it come to the point of moving the modified files to the online-server, what about the .htaccess-files already there? Do i simply merge them with the contents of the htaccess.GT? (you see i have no idea at all about what's going on with this rewrite engine... )
parthurz, you need mod_rewrite to run Google Tap. If Google ranking is crucially important to you, you have two options: Persuade your host to install it or switch hosting company. A lot of sites do well without Google tap, though.
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