1
Fix_Metal
Search bug...?!
  • 2004/8/19 12:41

  • Fix_Metal

  • Just popping in

  • Posts: 6

  • Since: 2004/7/16


Hi all. I just changed the skin over http://www.gliultimiguerrieri.it
I tried the search (smarty?) function...and...well it didn't work.
If you go on my site and search anything-you-want, u will always get the same error:

Fatal error: main(): Failed opening required 'XOOPS_ROOT_PATH/class/template.php' (include_path='.;c:\php\includes') in D:\Inetpub\webs\gliultimiguerrieriit\public\html\header.php on line 62

I tried to figure out what's the problem on Line 62...and nothing is wrong there. It initializes the smarty search function....
what's this

2
Dave_L
Re: Search bug...?!
  • 2004/8/19 14:52

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


XOOPS_ROOT_PATH isn't being replaced by its value, so the script is looking for a path with the name "XOOPS_ROOT_PATH/...".

This could happen if mainfile.php isn't getting included, since that's where XOOPS_ROOT_PATH is defined.

Sounds like a bug in the "skin", or maybe you didn't install it correctly.

3
Fix_Metal
Re: Search bug...?!
  • 2004/8/19 16:56

  • Fix_Metal

  • Just popping in

  • Posts: 6

  • Since: 2004/7/16


it's the same even with the default skin....what happened??????????

4
Fix_Metal
Re: Search bug...?!
  • 2004/8/19 17:31

  • Fix_Metal

  • Just popping in

  • Posts: 6

  • Since: 2004/7/16


I opened search.php and compared it with the original one (the one given with the installation pack).
@ the top I found this line:(my search.php)
include 'header.php';
in the original there's:
include 'mainfile.php';
I tried to change the line. Then the search..."works". but it doesn't match real results.
the search matches all forums threads and so on..

5
Dave_L
Re: Search bug...?!
  • 2004/8/19 18:33

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


Which search.php did you change? The one in the XOOPS root directory, or the one in modules/newbb?

When you say you "changed the skin", what exactly did you do?

6
Fix_Metal
Re: Search bug...?!
  • 2004/8/21 11:51

  • Fix_Metal

  • Just popping in

  • Posts: 6

  • Since: 2004/7/16


I tried to change root=>search.php.
When I say I changed the skin, I mean I changed it -_-...uploading files in Themes directory and uploading tar.gz file...then update System module...yes that.

7
Fix_Metal
Re: Search bug...?!
  • 2004/8/21 14:45

  • Fix_Metal

  • Just popping in

  • Posts: 6

  • Since: 2004/7/16


banf. I fixed it.

Login

Who's Online

332 user(s) are online (131 user(s) are browsing Support Forums)


Members: 0


Guests: 332


more...

Donat-O-Meter

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

Latest GitHub Commits