1
Wilkinsa
Changing root Path?
  • 2004/11/23 6:34

  • Wilkinsa

  • Just popping in

  • Posts: 47

  • Since: 2003/4/13


I moved a friends site from one server to another howerver on the first server the root path was /home2/user/... now its /home/user/...

I went into mainfile.php and changed the root path to the correct one and saved it now I get this error any ideas?

Quote:
Fatal error: Cannot instantiate non-existent class: tabview in /home/jeffsqs/public_html/class/xoopsblock.php(146) : eval()'d code on line 3


Is there someplace else I have to change the root path?

2
Venezia
Re: Changing root Path?
  • 2004/11/23 7:22

  • Venezia

  • Just popping in

  • Posts: 36

  • Since: 2003/6/24


The class tabview must have come from one of the installed modules. Sounds like some of the files are missing for that module or file permission problem.

What modules are installed?

3
Wilkinsa
Re: Changing root Path?
  • 2004/11/23 14:38

  • Wilkinsa

  • Just popping in

  • Posts: 47

  • Since: 2003/4/13


None of the files are missing its just looking in the wrong location...

There must be another spot I need to change the root path.

-Adam

4
Mithrandir
Re: Changing root Path?

There is only one place you should change the root path in the XOOPS core - how modules work with it can differ of course, but the core must work with only the information in the mainfile.php changed.

5
Venezia
Re: Changing root Path?
  • 2004/11/23 23:31

  • Venezia

  • Just popping in

  • Posts: 36

  • Since: 2003/6/24


Wilkinsa,

1.
Take another look at your modules. The xoopsblock code is trying to create content in which a class is called that doesn't exist. The tabview class must be from a custom module (non XOOPS core).

Disable all your modules until you find the offending module or do text search through the source code and look for "tabview".

2.
Also, in the error message, the path is quoted as

/home/jeffsqs/public_html/class/

which means the root dir of the XOOPS installation is

/home/jeffsqs/public_html

if this is correct this should be the fully qualified path to the XOOPS files from '/'.

Venezia

Login

Who's Online

257 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 257


more...

Donat-O-Meter

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

Latest GitHub Commits