You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 40 guest(s) and 2 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Tried the fixes, still get error (still need help) [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
smatervegas
Corporal
Corporal


Joined: Oct 03, 2003
Posts: 52

Location: Surrey, ND

PostPosted: Wed Oct 15, 2003 8:35 pm Reply with quoteBack to top

Hello ...

I downloaded the newest Google Tap .htaccess/header.php/footer.php from cvs.nukecops.com, renamed my old files, and replaced them with the new ones.

Afterwards, I received the following error(s):

Warning: footmsg(serverload.php): failed to open stream: No such file or directory in /home/smarterv/.panel/web/portal/cms/footer.php on line 48

Warning: footmsg(): Failed opening 'serverload.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/smarterv/.panel/web/portal/cms/footer.php on line 48

Fatal error: Call to undefined function: serverload() in /home/smarterv/.panel/web/portal/cms/footer.php on line 49

I found a post saying to dowload the serverload.php, and put it in the includes folder, that didn't do the trick. I put the serverload.php into my root directory, and those errors are gone, but I'm left with the following:

- Error:Table 'smarterv_p_nu1.nuke_serverload' doesn't exist

Is there code I need to use to create those tables in phpMyadmin? I'm guessing that's it, I saw an earlier post saying it was forgotten from nuke.sql, but I just want the tables for the serverload to work.

Any help is appreciated.

Thanks ...

Ron Herr
webmaster@smartervegas.com


Last edited by smatervegas on Mon Oct 20, 2003 4:32 pm; edited 2 times in total
Find all posts by smatervegasView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Wed Oct 15, 2003 8:41 pm Reply with quoteBack to top

Code:
CREATE TABLE nuke_serverload (
  time int(14) NOT NULL default '0'
) TYPE=MyISAM COMMENT='Table for serverload.php script.';

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
smatervegas
Corporal
Corporal


Joined: Oct 03, 2003
Posts: 52

Location: Surrey, ND

PostPosted: Wed Oct 15, 2003 11:18 pm Reply with quoteBack to top

That did the trick.

Thanks a bunch Smile
Find all posts by smatervegasView user's profileSend private message
smatervegas
Corporal
Corporal


Joined: Oct 03, 2003
Posts: 52

Location: Surrey, ND

PostPosted: Thu Oct 16, 2003 8:34 am Reply with quoteBack to top

Ok, maybe I still have some problems ...

Now, when I go into my forums and click on one of the categories, it goes to a 404 error page. Did I miss something? I renamed the old files back for now, but I'd like to get that Google Tap working properly.

Thanks in advance, your help is greatly appreciated (as always).

Ron Herr
webmaster@smartervegas.com
Find all posts by smatervegasView user's profileSend private message
smatervegas
Corporal
Corporal


Joined: Oct 03, 2003
Posts: 52

Location: Surrey, ND

PostPosted: Fri Oct 17, 2003 9:24 am Reply with quoteBack to top

bump
Find all posts by smatervegasView user's profileSend private message
smatervegas
Corporal
Corporal


Joined: Oct 03, 2003
Posts: 52

Location: Surrey, ND

PostPosted: Sun Oct 19, 2003 12:17 pm Reply with quoteBack to top

anyone?
Find all posts by smatervegasView user's profileSend private message
Minne
Lieutenant
Lieutenant


Joined: Jul 15, 2003
Posts: 150

Location: Small Sports

PostPosted: Sun Oct 19, 2003 8:04 pm Reply with quoteBack to top

I believe u did sessions.php wrong. go get the google tap that they released the other day and use dat which dosent use sessions.php just header and footer

_________________
Image
Find all posts by MinneView user's profileSend private messageVisit poster's websiteAIM Address
smatervegas
Corporal
Corporal


Joined: Oct 03, 2003
Posts: 52

Location: Surrey, ND

PostPosted: Sun Oct 19, 2003 10:12 pm Reply with quoteBack to top

I had just tried again tonight, I went and re-downloaded all the files, uploaded and renamed them, and when I go into the forums, I get nothing. It's changing the URL to forums.html now
Find all posts by smatervegasView user's profileSend private message
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Sun Oct 19, 2003 10:46 pm Reply with quoteBack to top

What kind of error are you getting? can you get to the forums by using the modules.php?name= path instead of using the Googletap path.

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
smatervegas
Corporal
Corporal


Joined: Oct 03, 2003
Posts: 52

Location: Surrey, ND

PostPosted: Sun Oct 19, 2003 10:59 pm Reply with quoteBack to top

I just get a 404 error, page not found (because of the url showing forums.html I imagine).

Yes, I just tried it again, and when I put

modules.php?&name=Forums

in the url instead, and it does bring up my forums.
Find all posts by smatervegasView user's profileSend private message
Audioslaved
Elite Nuker
Elite Nuker


Joined: Jun 14, 2003
Posts: 420

Location: Hawaii and The Fan Forum

PostPosted: Sun Oct 19, 2003 11:16 pm Reply with quoteBack to top

what is the URL to your website?
what version of nuke are you using?
which google tap are you using? One from the front page or the cvs?
The only portion you need to put in your footer for Google Tap to work is this

Code:

$contents = ob_get_contents(); // store buffer in $contents
ob_end_clean(); // delete output buffer and stop buffering
echo replace_for_mod_rewrite($contents); //display modified buffer to screen

You should place that after this:
Code:

function foot() {
    global $prefix, $user_prefix, $db, $index, $user, $cookie, $storynum, $user, $cookie, $Default_Theme, $foot1, $foot2, $foot3, $foot4, $home, $module, $name;
    if ($home == 1) {
   blocks(Down);
    }
    if ($module == 1 AND file_exists("modules/$name/copyright.php")) {
   $cpname = ereg_replace("_", " ", $name);
   echo "<div align=\"right\"><a href=\"javascript:openwindow()\">$cpname &copy;</a></div>";
    }
    themefooter();
    echo "</body>\n"
   ."</html>";
    die();
}


For the include/sessions.php, do the following:

Find the following block of code in the append_sid function block:
Code:

        if( !empty($SID) && !preg_match('#sid=#', $url) )
        {
                $url .= ( ( strpos($url, "?") != false ) ?  ( ( $non_html_amp) ? "&" : "&amp;" ) : "?" ) . $SID;
        }

        return($url);

Replace With:
Code:

   if( !empty($SID) && !preg_match('#sid=#', $url) && !areyouabot() )
   {
      $url .= ( ( strpos($url, "?") != false ) ?  ( ( $non_html_amp ) ? "&" : "&amp;" ) : "?" ) . $SID;
   }

   return($url);

Now create a new function block after append_sid function block by adding the following block of code:
Code:

function areyouabot(){
global $HTTP_SERVER_VARS;

   $RobotsList = array (
   "antibot",
   "appie",
   "architext",
   "bjaaland",
   "digout4u",
   "echo",
   "fast-webcrawler",
   "ferret",
   "googlebot",
   "gulliver",
   "harvest",
   "htdig",
   "ia_archiver",
   "jeeves",
   "jennybot",
   "linkwalker",
   "lycos",
   "mercator",
   "moget",
   "muscatferret",
   "myweb",
   "netcraft",
   "nomad",
   "petersnews",
   "scooter",
   "slurp",
   "unlost_web_crawler",
   "voila",
   "voyager",
   "webbase",
   "weblayers",
   "wget",
   "wisenutbot",
   "acme.spider",
   "ahoythehomepagefinder",
   "alkaline",
   "arachnophilia",
   "aretha",
   "ariadne",
   "arks",
   "aspider",
   "atn.txt",
   "atomz",
   "auresys",
   "backrub",
   "bigbrother",
   "blackwidow",
   "blindekuh",
   "bloodhound",
   "brightnet",
   "bspider",
   "cactvschemistryspider",
   "cassandra",
   "cgireader",
   "checkbot",
   "churl",
   "cmc",
   "collective",
   "combine",
   "conceptbot",
   "coolbot",
   "core",
   "cosmos",
   "cruiser",
   "cusco",
   "cyberspyder",
   "deweb",
   "dienstspider",
   "digger",
   "diibot",
   "directhit",
   "dnabot",
   "download_express",
   "dragonbot",
   "dwcp",
   "e-collector",
   "ebiness",
   "eit",
   "elfinbot",
   "emacs",
   "emcspider",
   "esther",
   "evliyacelebi",
   "nzexplorer",
   "fdse",
   "felix",
   "fetchrover",
   "fido",
   "finnish",
   "fireball",
   "fouineur",
   "francoroute",
   "freecrawl",
   "funnelweb",
   "gama",
   "gazz",
   "gcreep",
   "getbot",
   "geturl",
   "golem",
   "grapnel",
   "griffon",
   "gromit",
   "hambot",
   "havindex",
   "hometown",
   "htmlgobble",
   "hyperdecontextualizer",
   "iajabot",
   "ibm",
   "iconoclast",
   "ilse",
   "imagelock",
   "incywincy",
   "informant",
   "infoseek",
   "infoseeksidewinder",
   "infospider",
   "inspectorwww",
   "intelliagent",
   "irobot",
   "iron33",
   "israelisearch",
   "javabee",
   "jbot",
   "jcrawler",
   "jobo",
   "jobot",
   "joebot",
   "jubii",
   "jumpstation",
   "katipo",
   "kdd",
   "kilroy",
   "ko_yappo_robot",
   "labelgrabber.txt",
   "larbin",
   "legs",
   "linkidator",
   "linkscan",
   "lockon",
   "logo_gif",
   "macworm",
   "magpie",
   "marvin",
   "mattie",
   "mediafox",
   "merzscope",
   "meshexplorer",
   "mindcrawler",
   "momspider",
   "monster",
   "motor",
   "mwdsearch",
   "netcarta",
   "netmechanic",
   "netscoop",
   "newscan-online",
   "nhse",
   "northstar",
   "occam",
   "octopus",
   "openfind",
   "orb_search",
   "packrat",
   "pageboy",
   "parasite",
   "patric",
   "pegasus",
   "perignator",
   "perlcrawler",
   "phantom",
   "piltdownman",
   "pimptrain",
   "pioneer",
   "pitkow",
   "pjspider",
   "pka",
   "plumtreewebaccessor",
   "poppi",
   "portalb",
   "puu",
   "python",
   "raven",
   "rbse",
   "resumerobot",
   "rhcs",
   "roadrunner",
   "robbie",
   "robi",
   "robofox",
   "robozilla",
   "roverbot",
   "rules",
   "safetynetrobot",
   "search_au",
   "searchprocess",
   "senrigan",
   "sgscout",
   "shaggy",
   "shaihulud",
   "sift",
   "simbot",
   "site-valet",
   "sitegrabber",
   "sitetech",
   "slcrawler",
   "smartspider",
   "snooper",
   "solbot",
   "spanner",
   "speedy",
   "spider_monkey",
   "spiderbot",
   "spiderline",
   "spiderman",
   "spiderview",
   "spry",
   "ssearcher",
   "suke",
   "suntek",
   "sven",
   "tach_bw",
   "tarantula",
   "tarspider",
   "techbot",
   "templeton",
   "teoma_agent1",
   "titin",
   "titan",
   "tkwww",
   "tlspider",
   "ucsd",
   "udmsearch",
   "urlck",
   "valkyrie",
   "victoria",
   "visionsearch",
   "vwbot",
   "w3index",
   "w3m2",
   "wallpaper",
   "wanderer",
   "wapspider",
   "webbandit",
   "webcatcher",
   "webcopy",
   "webfetcher",
   "webfoot",
   "weblinker",
   "webmirror",
   "webmoose",
   "webquest",
   "webreader",
   "webreaper",
   "websnarf",
   "webspider",
   "webvac",
   "webwalk",
   "webwalker",
   "webwatch",
   "whatuseek",
   "whowhere",
   "wired-digital",
   "wmir",
   "wolp",
   "wombat",
   "worm",
   "wwwc",
   "wz101",
   "xget",
   "awbot",
   "bobby",
   "boris",
   "bumblebee",
   "cscrawler",
   "daviesbot",
   "ezresult",
   "gigabot",
   "gnodspider",
   "internetseer",
   "justview",
   "linkbot",
   "linkchecker",
   "nederland.zoek",
   "perman",
   "pompos",
   "psbot",
   "redalert",
   "shoutcast",
   "slysearch",
   "ultraseek",
   "webcompass",
   "yandex",
   "robot",
   "crawl"
   );

   $botID = strtolower($HTTP_SERVER_VARS['HTTP_USER_AGENT']);

   for ($i = 0; $i < count($RobotsList); $i++)
   {
      if ( strstr($botID, $RobotsList[$i]) )
      {
         return TRUE;
      }
   }
   return FALSE;
   
}


Hope that helps to get you on the right track

_________________
GT-NExtGEn: The future of GoogleTap
http://gt-nextgen.com/

The Audioslave Fan Forum
http://www.audioslaved.com
Find all posts by AudioslavedView user's profileSend private messageSend e-mailVisit poster's website
smatervegas
Corporal
Corporal


Joined: Oct 03, 2003
Posts: 52

Location: Surrey, ND

PostPosted: Mon Oct 20, 2003 4:14 pm Reply with quoteBack to top

Ok, I am running PHP Nuke 6.5
My website is: www.smartervegas.com
I downloaded the files from CVS
I did all the steps you mentioned above (though I already had the function areyouabot in my sessions.php).

I can get into the main forums area, but when I click on a forum name, it doesn't come up (converting the forum to an html file (e.g. forum13.html)).

Cannot access web links, downloads, reviews, submit news, sections, stories archive, top ten, topics, & none of the forums, just the main forums screen.

Will leave as is for a little while, but don't want to leave my site non-functioning, so if anyone can help me out, it would be greatly appreciated.

Thanks ...

Ron Herr
webmaster@smartervegas.com
Find all posts by smatervegasView user's profileSend private message
smatervegas
Corporal
Corporal


Joined: Oct 03, 2003
Posts: 52

Location: Surrey, ND

PostPosted: Mon Oct 20, 2003 5:08 pm Reply with quoteBack to top

Nevermind. I've given up on ever getting it to work.

Thanks for those who tried to help.

Ron Herr
www.smartervegas.com
Find all posts by smatervegasView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.254 Seconds - 330 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::