moving cummunity to a new server

Hi all,

I just moved the community to a new server and I have edited the following files:

inc/header.inc.php

ray/modules/global/inc/header.inc.php


I am getting the following error:


Warning: main(/services/webpages/s/e/webcodemasters.com/public_html/projects/www_ecuatorianosenlondres_com/community/ray/modules/global/inc/header.inc.php) [function.main]: failed to open stream: No such file or directory in /home/sites/webcodemasters.com/public_html/projects/www_ecuatorianosenlondres_com/community/inc/header.inc.php on line 173

Fatal error: main() [function.require]: Failed opening required '/services/webpages/s/e/webcodemasters.com/public_html/projects/www_ecuatorianosenlondres_com/community/ray/modules/global/inc/header.inc.php' (include_path='.:/usr/share/pear') in /home/sites/webcodemasters.com/public_html/projects/www_ecuatorianosenlondres_com/community/inc/header.inc.php on line 173

 

To see it live www.ecuatorianosenlondres.com

 

 

The database was also moved to the new server as it was in the old one.


Any help is much appreciated.

Quote · 16 Sep 2009

(/services/webpages/s/e/webcodemasters.com/public_html/projects/www_ecuatorianosenlondres_com/

community/ray/modules/global/inc/header.inc.php

 

Take a look at that line. A real hard look at it.

 

Now take a look at the part that is in red.  Did you actually name a directory webcodemasters.com

 

I understand being in a subdirectory and such, but something is teling me that part of the line is wrong and that is what you've put in your inc/header.inc.php file.  This is supposed to be a file path, not part of a url....

 

Quote · 16 Sep 2009

This was given to me when I changed to a different host:

I need to transfer my site to another folder/server. What do I need to do? ¶

1) First of all, you need to back up your folders and files and your database tables. It usually results in creation of two archives (.tgz or .zip) which you will have to unpack on your new server/folder; besides, the database tables will have to be imported in your new database.

2) Dolphin 6 has several files which must be changed after transferring to another folder or server:

* inc/header.inc.php change the values of the following variables according to your current settings: 

$site['url'] and $dir['root']

and all the elements of $db array (it's not usually needed if you just move your site to another folder on the same server)

* cupid.php, notifies.php, cmd.php files in periodic folder. All of them have lines as follows:

require_once( '[path_to]/inc/header.inc.php' );

where [path_to] must be changed according to the current path to Dolphin folder

Note: You also need to change the paths for each cron running for the above mentioned files.

* ray/modules/global/inc/header.inc.php 

edit the line

include("[path_to]/inc/header.inc.php");

the same way as described above

If you have changed your site URL, you need to contact BoonEx and provide your license number and desired domain name.

Hope this helps. It did for me

Nothing to see here
Quote · 16 Sep 2009

I've seen URLs in paths when people utilize Add-On domains before....  Could be the reason a doman URL is in the file path.

:-)
Quote · 17 Sep 2009
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.