1
shamu
digMod Search Engine
  • 2004/10/1 16:34

  • shamu

  • Just popping in

  • Posts: 11

  • Since: 2004/8/28


Hi, I'm having a trouble installing this module.

https://xoops.org/modules/mydownloads/singlefile.php?cid=24&lid=863

At first, I met the same problem as Jason's where this error occurs:
Quote:
Table xoops_digmod_engine missing. Table xoops_digmod_excludes missing. Table xoops_digmod_keywords missing. Table xoops_digmod_sites missing. Table xoops_digmod_spider missing. Table xoops_digmod_tempspider missing. Table xoops_digmod_logs missing.


Then I followed Jason's fix:
Change this line
Quote:
define('PHPDIG_DB_PREFIX','xoops_digmod_');
to
Quote:
define('PHPDIG_DB_PREFIX',$xoopsDB->prefix('')."_digmod_");


What happened is I'm still getting the same error with my prefix on it.

so I have an error like this:
Quote:
Table mywebsite_digmod_engine missing.


I already checked my MySQL and the tables exist. I tried to debug the code for hours but I can't get it fixed. Please help.

Thank you so much

2
shamu
Re: digMod Search Engine
  • 2004/10/6 4:35

  • shamu

  • Just popping in

  • Posts: 11

  • Since: 2004/8/28


* bump *
Please help. I still can't get it to work.
I am still getting this error:

Quote:
Table mywebsite_digmod_engine missing.


And I still can't fix it. Please help. Thank you so much.

3
usulix
Re: digMod Search Engine
  • 2004/10/7 21:05

  • usulix

  • Just popping in

  • Posts: 6

  • Since: 2004/6/2 1


Well,

I don't know what might be causing the error.

But, I have to admit that I didn't anticipate the need for a different $xoopsDB->prefix

Darn.....

So the obvious hard-wire of xoops_digmod_ as the table prefix.

I'll look a little deeper and see if I can find what else I missed.

Guess this is probably the change for release 1.1

Regards,
G

4
ChadK
Re: digMod Search Engine
  • 2004/10/8 14:24

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


Did he fix it so that we can spider sites now? The other version wouldn't spider any sites... I put in a link but it just came back to the same page.
I'll wait for a release version.

5
script_fu
Re:digMod Search Engine

Would this module be able to spider sites then take the info gained and show it in a link database like mylinks?

1) Example
http://www.5starshine.com/links/index.html
This guys link directory seems to spider his link partners sites which updates his links. This is a very interesting way of handeling such things.
Because his set up is data driven some how. He has those same links on all the sites he owns which is alot. One soultion for all my XOOPS sites would be awesome.

6
ChadK
Re:digMod Search Engine
  • 2004/10/8 15:45

  • ChadK

  • Quite a regular

  • Posts: 242

  • Since: 2004/7/9 1


that is cool but no.. phpdig is a spider/search engine. You search for keywords. Try it here:http://search.aviary.info
Though I think his method would be cool as well and I think you could do that using the phpdig API and your own theme. Would be nice if someone did something like that. ;)

7
limecity
Re:digMod Search Engine
  • 2004/10/8 15:55

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


how does this module work?
it only reads the meta keywords of the site you send spiders to?

8
usulix
Re:digMod Search Engine
  • 2004/10/8 23:33

  • usulix

  • Just popping in

  • Posts: 6

  • Since: 2004/6/2 1


Don't know why it wouldn't be spidering in general, chadk.

Assuming your XOOPS dbprefix is XOOPS and you have set permissions on

$Xoopsroot$/modules/digMod/admin/temp

and

$Xoopsroot$/digMod/text_content

as described in the readme. You should be able to initiate a spider in the control panel. If not, let me know a little more about your environment and I will try to also incorporate any necessary fixes into the next release to accomodate.

phpDig works by reading entire web pages into these files and indexing any words found in the entire document. It's quite impressive, really, for a LAMP solution. (Hats off to the phpDig crew)

Interesting idea, script_fu. I checked the link you posted. I think it would be a nice add-on that would simply post results for a set of default searches... I'll have to sleep on that one though,

Regards,
G

9
script_fu
Re:digMod Search Engine

I posted the wrong link above. Please take a look at this Link...

http://www.trustmymechanic.com/links/newautoparts.html

When this page is called it must search something right? How the heck does this work?


Quote:

Interesting idea, script_fu. I checked the link you posted. I think it would be a nice add-on that would simply post results for a set of default searches... I'll have to sleep on that one though,

Regards,
G



Ps. For some reason in my mind. I think phpdig can do something like this link manager... above.

10
usulix
Re:digMod Search Engine
  • 2004/10/9 16:08

  • usulix

  • Just popping in

  • Posts: 6

  • Since: 2004/6/2 1


Since these are much more static links, I'd rewrite the links module in XOOPS to display these sorts of pages.

phpDig spiders pages and maintains dynamic info about their content and could be used for this but it would be bloated for this sort of thing.

Getting these pages to display on numerous domains would be difficult. Getting the XOOPS page in a cross domain frame would probably be a security issue for most browsers.... not to mention kludgy...

I'd just generate the pages as needed from a standalone database and post them to their intended domains.... or run XOOPS on each domain.

Regards,
G

Login

Who's Online

210 user(s) are online (146 user(s) are browsing Support Forums)


Members: 0


Guests: 210


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits