1
ricky123
Changing hosts
  • 2006/1/28 10:03

  • ricky123

  • Just popping in

  • Posts: 28

  • Since: 2004/8/25


i recently changed the host , i copied all the files from the old host and transfered the db , but i am getting this error

Fatal error: main(): Failed opening required '/home2/dubaicom/public_html/OLDSITE/kernel/object.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/dubaicom/public_html/OLDSITE/include/common.php on line 77
Warning [PHP]: main(/home2/dubaicom/public_html/OLDSITE/kernel/object.php): failed to open stream: No such file or directory in file include/common.php line 77

Please help

2
Watdehek
Re: Changing hosts
  • 2006/1/28 10:17

  • Watdehek

  • Friend of XOOPS

  • Posts: 130

  • Since: 2005/2/21


Edit mainfile.php with the settings of your new webhost, in this case the physical path of your XOOPS installation.

If you don't know the physical path, ask your webhost.

And search on this site for the error, you will get a lot of results.

3
ricky123
Re: Changing hosts
  • 2006/1/28 12:40

  • ricky123

  • Just popping in

  • Posts: 28

  • Since: 2004/8/25


i did that edit , but now i get a new error

Fatal error: Call to a member function on a non-object in /home2/dubaicom/public_html/OLDSITE/class/theme.php on line 499
Notice [PHP]: Undefined index: enable_badips in file class/xoopssecurity.php line 215
Notice [PHP]: Undefined index: language in file include/common.php line 152
Notice [PHP]: Undefined index: language in file include/common.php line 172
Notice [PHP]: Undefined index: use_ssl in file include/common.php line 183
Notice [PHP]: Undefined index: use_mysession in file include/common.php line 185
Notice [PHP]: Only variable references should be returned by reference in file kernel/module.php line 1338
Notice [PHP]: Only variables should be assigned by reference in file include/common.php line 215
Notice [PHP]: Undefined index: banners in file include/common.php line 235
Notice [PHP]: Undefined index: debug_mode in file include/common.php line 235
Warning [PHP]: in_array(): Wrong datatype for second argument in file include/common.php line 235
Notice [PHP]: Undefined index: theme_fromfile in file class/template.php line 66
Notice [PHP]: Undefined index: sitename in file class/theme.php line 417
Notice [PHP]: Undefined index: slogan in file class/theme.php line 418
Notice [PHP]: Only variables should be assigned by reference in file kernel/config.php line 239
Notice [PHP]: Undefined index: slogan in file class/theme.php line 436
Notice [PHP]: Undefined index: closesite in file include/common.php line 238
Notice [PHP]: Undefined index: theme_set in file class/theme.php line 253
Notice [PHP]: Undefined index: theme_set in file include/functions.php line 462
Notice [PHP]: Undefined index: language in file class/theme.php line 263
Notice [PHP]: Undefined index: theme_set in file include/functions.php line 462

4
jdseymour
Re: Changing hosts

Clear templates_c and the cache folders. Some files in there are still pointing to your old site.

Edit: do not remove any index.html files in these folders as they are there for security(redirects to the main page if someone tries to access directly with a browser.)

5
ricky123
Re: Changing hosts
  • 2006/1/28 13:07

  • ricky123

  • Just popping in

  • Posts: 28

  • Since: 2004/8/25


dint help i did delete it , but still the same errors

6
ricky123
Re: Changing hosts
  • 2006/1/30 2:42

  • ricky123

  • Just popping in

  • Posts: 28

  • Since: 2004/8/25


hello somebody help me

7
tom
Re: Changing hosts
  • 2006/1/30 3:05

  • tom

  • Friend of XOOPS

  • Posts: 1359

  • Since: 2002/9/21


Have you checked the psyical paths again, to ensure they are 100% correct.

If your still having problems tomorrow I could have a look for you if you wish, but it means I may need a certain level of access. PM me if needs be.

Login

Who's Online

448 user(s) are online (404 user(s) are browsing Support Forums)


Members: 0


Guests: 448


more...

Donat-O-Meter

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

Latest GitHub Commits