Toon posts:

Probleem met simpel PHP zoek scripje

Pagina: 1
Acties:
  • 60 views sinds 30-01-2008

Verwijderd

Topicstarter
Gister ben ik dus ff bezig geweest mijn zoekmachine script up te daten. De nieuwe werkte echter perfect, maar tot ik hem ff wou updaten. Steeds als ik nu de content (hij zoekt op keyword) wil updaten, krijg ik bij Meta index een 404-tje! De full index werkt wel.
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
hier een copy paste uit condfig file:

// The full system path to the files you wish to index. DO NOT include trailing slash.
     $file_root = "/home/naamsite/HTML";

// The URL equivilent of the above. DO NOT include trailing slash.
     $http_root = "http://www.naamsite.nl";

// The full system path to the index file.
     $index_file = "/home/naamsite/HTML/sitesearch/search_index.dat";

// The full system path to the file of words to exclude.
     $exclude_words = "/home/naamsite/HTML/sitesearch/exclude_words.txt";

// The full system path to the file of files to exclude.
     $exclude_files = "/home/naamsite/HTML/sitesearch/exclude_files.txt";

IN mijn HTML dir kan ik dus files neerproppen die je via een browser kunt bekijken. De dir waar alle meuk in staat, heet sitesearch. Dit is het enige wat je MOET invullen om het script te laten werken, uploaden en hij zou moeten werken.

files die bij script horen
==========================
readme.txt
This file.
search.php
The script that does the searching & indexing.
search_index.dat
The text file where the index database will be stored.
exclude_words.txt
A list of words NOT to be indexed (and, the, or).
exclude_files.txt
A list of files not to be index.

search_index.dat, die 2 txt files staat op Chmod 777
search.php chmod 644.

Ook als ik alles 777 chmod, krijg ik zelfde 404.

via search.php?index kan ik dus inloggen en Full index en Meta index doen. Full werkt goed, maar Meta krijg ik 404.

Je kunt het script zien werken onder:
http://pvda.be/antwerpen/ (Het gaat dus om zoekscript)

Hier kan je het hele script neerhalen.
http://au2.download.php.warpedweb.net/unix/sitesearch.tar.gz
(UNIX!!)


M'n hostingprovider zegt dat het aan mij ligt. Wie heeft er gelijk en hoe kan ik/bezoekers het zoekscript weer NORMAAL laten werken? zoals het hoort.

Verwijderd

Topicstarter
iemand?

Verwijderd

hij werkt toch goed??
(als het de zoekmachine is aan de linkerkant van de page)

  • thomaske
  • Registratie: Juni 2000
  • Laatst online: 09-09 14:51

thomaske

» » » » » »

http://php.warpedweb.net/sitesearch/

daar kan je je vragen stellen over dit product.. :)

Brusselmans: "Continuïteit bestaat niet, tenzij in zinloze vorm. Iets wat continu is, is obsessief, dus ziekelijk, dus oninteressant, dus zinloos."


  • ACM
  • Registratie: Januari 2000
  • Niet online

ACM

Software Architect

Werkt hier

Terayonnetje: ik had een schop reactie van je verwijderd. Lees de faq daar es op na.
Na 15 minuten schoppen is niet acceptabel, na nog es 10 ook niet.

Dit topic is gesloten.