1
TomGilis
Site transfer -> modules don't work
  • 2004/2/24 16:17

  • TomGilis

  • Just popping in

  • Posts: 5

  • Since: 2003/9/24


Hi ,

I moved my site from one hosting to the other.
I changed in de mailfile.php the path's. The added modules such as newbb don't work anymore.


Warning: main(XOOPS_ROOT_PATH/class/xoopsblock.php): failed to open stream: No such file or directory in /usr/local/psa/home/vhosts/jeugdcontact.be/httpdocs/header.php on line 28

Warning: main(): Failed opening 'XOOPS_ROOT_PATH/class/xoopsblock.php' for inclusion (include_path='/usr/local/psa/home/vhosts/jeugdcontact.be/httpdocs:.') in /usr/local/psa/home/vhosts/jeugdcontact.be/httpdocs/header.php on line 28

Warning: main(XOOPS_ROOT_PATH/class/template.php): failed to open stream: No such file or directory in /usr/local/psa/home/vhosts/jeugdcontact.be/httpdocs/header.php on line 62

Fatal error: main(): Failed opening required 'XOOPS_ROOT_PATH/class/template.php' (include_path='/usr/local/psa/home/vhosts/jeugdcontact.be/httpdocs:.') in /usr/local/psa/home/vhosts/jeugdcontact.be/httpdocs/header.php on line 62

2
Herko
Re: Site transfer -> modules don't work
  • 2004/2/24 16:23

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


this looks like your XOOPS_ROOT_PATH isn't properly defined in your mainfile.php. Make sure that the definition is done properly (within their " or ', without trailing slash). This is very important. Also, you might want to update the modules from the system admin -> modules page.

Herko

3
TomGilis
Re: Site transfer -> modules don't work
  • 2004/2/24 17:25

  • TomGilis

  • Just popping in

  • Posts: 5

  • Since: 2003/9/24


Thnkx for the quick answer but that didn't fix it.
The path in de mainfile is correct , because the rest works fine , just the modules I added like Myalbum and Forum don't work...

I tried updating them to , but no succes........

4
TooBaked
Re: Site transfer -> modules don't work
  • 2004/2/24 18:32

  • TooBaked

  • Just popping in

  • Posts: 37

  • Since: 2003/2/9 5


after you transfered did you make sure all your files were modded right

cache dir
templates_c
uploads

chmod 755 or 777

otherwise your template wont update keep an eye open for quick warnings of permission failures sometimes they pop up so fast and redirect back to the page you can't see them if your not paying attention. this is problem I have sometimes when transfering from 1 directory to another or host for that matter.

5
TomGilis
Re: Site transfer -> modules don't work
  • 2004/2/25 19:37

  • TomGilis

  • Just popping in

  • Posts: 5

  • Since: 2003/9/24


nope , still the same , everything works except de added modules such as forum and gallary

Isn't the path saved somewhere elese ?

6
wakke
Re: Site transfer -> modules don't work
  • 2004/2/26 10:07

  • wakke

  • Just popping in

  • Posts: 2

  • Since: 2003/9/21


The path must be saved somewhere else!
If I put an invalid XOOPS_ROOT_PATH in the mainfile.php, the errors I get on my website display the original XOOPS_ROOT_PATH is I had, and not the invalid one I entered.

Somebody can tell in what file that is?

7
Jan304
Re: Site transfer -> modules don't work
  • 2004/2/26 11:32

  • Jan304

  • Official Support Member

  • Posts: 520

  • Since: 2002/3/31


No, it is not saved anywhere else (however, the path is listed in the admin file cache/adminmenu.php but that will not malfunction your site).

@Wakke: If you change the path you will see indeed still see your original path since php will say 'parse error at' and then the real path. So...

@TomGilis: I'm almost sure that you have modified your path wrong. As I see the error it takes XOOPS_ROOT_PATH in place of the value, so there must be something wrong. Can you post that part of your mainfile.php?

8
TomGilis
Re: Site transfer -> modules don't work
  • 2004/2/26 12:15

  • TomGilis

  • Just popping in

  • Posts: 5

  • Since: 2003/9/24


Here :
if ( !defined("XOOPS_MAINFILE_INCLUDED") ) {
define("XOOPS_MAINFILE_INCLUDED",1);

// XOOPS Physical Path
// Physical path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_ROOT_PATH', '/usr/local/psa/home/vhosts/jeugdcontact.be/httpdocs');
//define('XOOPS_ROOT_PATH', '/blabla');

// XOOPS Virtual Path (URL)
// Virtual path to your main XOOPS directory WITHOUT trailing slash
define('XOOPS_URL', 'http://www.jeugdcontact.be');

// Database
// Choose the database to be used
define('XOOPS_DB_TYPE', 'mysql');

// Table Prefix
// This prefix will be added to all new tables created to avoid name conflict in the database. If you are unsure, just use the default 'xoops'.
define('XOOPS_DB_PREFIX', 'xoops');

// Database Hostname
// Hostname of the database server. If you are unsure, 'localhost' works in most cases.
define('XOOPS_DB_HOST', 'localhost');


That is the same thing I think , he takes XOOPS_ROOT_PATH in place of the value

Login

Who's Online

118 user(s) are online (64 user(s) are browsing Support Forums)


Members: 0


Guests: 118


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