• Welcome Visitor! Please take a few seconds and Register for our forum. Even if you don't want to post, you can still 'Like' and react to posts.

I'm getting freakin annoyed!!


Jim Oaks

Just some guy with a website
Administrator
Founder / Site Owner
Supporting Vendor
Article Contributor
TRS Banner 2010-2011
TRS Banner 2012-2015
TRS 20th Anniversary
VAGABOND
TRS Event Participant
GMRS Radio License
Joined
Aug 2, 2000
Messages
13,482
Reaction score
8,684
Points
113
Location
Nocona, Texas
Vehicle Year
1996 / 2021
Make / Model
Ford Ranger
Engine Type
4.0 V6
Engine Size
4.0 / 2.3 Ecoboost
Transmission
Automatic
2WD / 4WD
4WD
Total Lift
6-inches
Tire Size
33x12.50x15
I have been trying all day to set up a search feature for the main part of the site. There are a lot of pages on this site and re-enabling a search would be great!

The only real search I could find was from:

http://www.scriptarchive.com/readme/search.html

I can't get the damn thing to work!

I use to have entropysearch.cgi:

http://web.archive.org/web/20040804232921/www.therangerstation.com/search.htm

but I don't know where it came from....

Here's what I'm working with:

Code:
[SIZE=2]
# Define Variables #
$basedir = '/home/scriptarchive/';
$baseurl = 'http://www.scriptarchive.com/';
@files = ('*.html');
$title = "Matt's Script Archive";
$title_url = 'http://www.scriptarchive.com/';
$search_url = 'http://www.scriptarchive.com/demos/search/search.html';
# Done #
[/SIZE]
 


RobbieD

2.9l Mafia
Joined
Aug 6, 2007
Messages
3,867
Reaction score
3,436
Points
113
Location
Georgia
Vehicle Year
1984,1990,1994
Make / Model
Ford
Transmission
Manual
2WD / 4WD
2WD
My credo
Toonces drives a Ranger . . . . just not very well.
Sorry I can't help you, Jim, but the new website is really looking great. There's still stuff to be done, but you guys are doing a hell of a good job. Saw this when I just popped on:

Threads: 517, Posts: 3,080, Members: 599, Active Members: 599

600 members tonight, fo sho. That's in only 6 days. Hang in there, dude!
 

MrE_Powers

New Member
Joined
Aug 6, 2007
Messages
844
Reaction score
12
Points
0
Age
45
Location
st. chuck county, mo.
Vehicle Year
1993,1997,1984
Make / Model
ford
Engine Size
3.0,4.6,2.8
Transmission
Manual
go goof off or sleep some and come back to it later. then the problem will seem to fix its self.
 

Jim Oaks

Just some guy with a website
Administrator
Founder / Site Owner
Supporting Vendor
Article Contributor
TRS Banner 2010-2011
TRS Banner 2012-2015
TRS 20th Anniversary
VAGABOND
TRS Event Participant
GMRS Radio License
Joined
Aug 2, 2000
Messages
13,482
Reaction score
8,684
Points
113
Location
Nocona, Texas
Vehicle Year
1996 / 2021
Make / Model
Ford Ranger
Engine Type
4.0 V6
Engine Size
4.0 / 2.3 Ecoboost
Transmission
Automatic
2WD / 4WD
4WD
Total Lift
6-inches
Tire Size
33x12.50x15
Ok, this is the only thing that I can think of that could possibly be off:

Code:
[SIZE=2]#!/usr/bin/perl
[/SIZE]

I can't verify the perl location.
 

Jim Oaks

Just some guy with a website
Administrator
Founder / Site Owner
Supporting Vendor
Article Contributor
TRS Banner 2010-2011
TRS Banner 2012-2015
TRS 20th Anniversary
VAGABOND
TRS Event Participant
GMRS Radio License
Joined
Aug 2, 2000
Messages
13,482
Reaction score
8,684
Points
113
Location
Nocona, Texas
Vehicle Year
1996 / 2021
Make / Model
Ford Ranger
Engine Type
4.0 V6
Engine Size
4.0 / 2.3 Ecoboost
Transmission
Automatic
2WD / 4WD
4WD
Total Lift
6-inches
Tire Size
33x12.50x15
......well.....that's right.
 

rangerwreck

New Member
Joined
Aug 13, 2007
Messages
14
Reaction score
0
Points
0
Age
39
Do you have shell (command prompt) access on the server?

If so, run "which perl", and it'll spit out the path to the perl executable so you can verify that. That is, if it's a UNIX variant.

What's the error you're getting exactly?
 

rangerwreck

New Member
Joined
Aug 13, 2007
Messages
14
Reaction score
0
Points
0
Age
39
Make sure you script is set up with execute permissions as well. On the command prompt, type "chmod +rx /where/the/script/is/located/search.pl"

If you don't have shell access, you can do it through most FTP programs. Find the script, and there should be some option to "set permissions" or something.
 

rangerwreck

New Member
Joined
Aug 13, 2007
Messages
14
Reaction score
0
Points
0
Age
39
Can you post a snippit from the Apache error log after *trying* to run the script? It should lend some clues...

Haha, anyone else up for some late night perl hacking?
 

Ozwynn

Well-Known Member
U.S. Military - Veteran
Joined
Aug 6, 2007
Messages
6,505
Reaction score
200
Points
63
Age
47
Location
Berrien Springs, MI
Vehicle Year
2022
Make / Model
RE Interceptor
Transmission
Manual
My credo
If you can't go through it or around it, then go over it.
sure ... soon as I get my ubuntu issue solved
 

Sponsored Ad


Sponsored Ad

Members online

No members online now.

Today's birthdays

Member & Vendor Upgrades

For a small yearly donation, you can support this forum and receive a 'Supporting Member' banner, or become a 'Supporting Vendor' and promote your products here. Click the banner to find out how.

Truck of The Month


Shran
April Truck of The Month

Recently Featured

Want to see your truck here? Share your photos and details in the forum.

Follow TRS On Instagram

TRS Events

25th Anniversary Sponsors

Check Out The TRS Store


Sponsored Ad


Sponsored Ad

Sponsored Ad


Amazon Deals

Top