Jump to:

4952 Posts in 14421 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Moving website problem Get Paid to help me

Getting SilverStripe up and running on your computer and on your web server.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1396 Views
  • HanSolo
    Avatar
    Community Member
    83 Posts

    Moving website problem Get Paid to help me Link to this post

    Hi I had to move a website from one host to another.
    First I backedup the db, the created new db on the new server and imorted the tables with content.
    I then downloaded the old site, and uploaded it to the new server.

    I changed the db info in mysite/_config.php

    and when i try to access the website I get this error.
    -------------------

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/u4531903/domains/horsintranet.se/public_html/.htaccess/_config.php) is not within the allowed path(s): (/home/u4531903/:/tmp/:/var/www/html:/usr/local/php5/) in /home/u4531903/domains/horsintranet.se/public_html/sapphire/core/i18n.php on line 1739

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/u4531903/domains/horsintranet.se/public_html/COPYING/_config.php) is not within the allowed path(s): (/home/u4531903/:/tmp/:/var/www/html:/usr/local/php5/) in /home/u4531903/domains/horsintranet.se/public_html/sapphire/core/i18n.php on line 1739

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/u4531903/domains/horsintranet.se/public_html/ChangeLog/_config.php) is not within the allowed path(s): (/home/u4531903/:/tmp/:/var/www/html:/usr/local/php5/) in /home/u4531903/domains/horsintranet.se/public_html/sapphire/core/i18n.php on line 1739

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/u4531903/domains/horsintranet.se/public_html/INSTALL/_config.php) is not within the allowed path(s): (/home/u4531903/:/tmp/:/var/www/html:/usr/local/php5/) in /home/u4531903/domains/horsintranet.se/public_html/sapphire/core/i18n.php on line 1739

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/u4531903/domains/horsintranet.se/public_html/Makefile/_config.php) is not within the allowed path(s): (/home/u4531903/:/tmp/:/var/www/html:/usr/local/php5/) in /home/u4531903/domains/horsintranet.se/public_html/sapphire/core/i18n.php on line 1739

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/u4531903/domains/horsintranet.se/public_html/UPGRADING/_config.php) is not within the allowed path(s): (/home/u4531903/:/tmp/:/var/www/html:/usr/local/php5/) in /home/u4531903/domains/horsintranet.se/public_html/sapphire/core/i18n.php on line 1739

    Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/u4531903/domains/horsintranet.se/public_html/favicon.ico/_config.php) is not within the allowed path(s): (/home/u4531903/:/tmp/:/var/www/html:/usr/local/php5/) in /home/u4531903/domains/horsintranet.se/public_html/sapphire/core/i18n.php on line 1739
    ----------

    Have i forgot to change something. I think it is ss version 2.3.3 or 2.3.4 .
    I cant upgrade to 2.4 I also tried that but they are using gallery modules 0.2.2. and it does not seem to work with ss 2.4

    I tried to search the forum, I even tried define('TEMP_FOLDER', dirname(getcwd())."/tmp"); in _config.php but it did not help.
    Can anyone help me. If someone can help me I will even pay for it. Because I have been trying for 3 days know.

    Joakim

  • seanatw
    Avatar
    Community Member
    2 Posts

    Re: Moving website problem Get Paid to help me Link to this post

    If you are comfortable doing so, send me either login details for your hosting, or a copy of you website so I can install it on my development server. I will take a look and test it out, and if you feel inclined to make a donation that is up to you, but no pressure.

    My email is sean@allthingsweb.co.nz.

  • seanatw
    Avatar
    Community Member
    2 Posts

    Re: Moving website problem Get Paid to help me Link to this post

    The error messages were php warnings which make the pages look ugly. There was also some difficulty moving a large database and some version confusion, but the error messages themselves were hidden by adding

    ini_set("display_errors", 0);

    into sapphire/main.php at the top of the file under the <?php line. If anyone else stumbles here in future with a similar problem please make sure the messages are not important before you add this line.

    1396 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.