Moving site from temp to main directory

Permalink
Hi,

I just finished my site, disabled and cleared cache, edited the /config/site.php, moved the complete stucture to the main directory and get 2 errors:

Warning: strpos() [function.strpos]: Empty delimiter in /www/htdocs/w00ebcfd/concrete/libraries/request.php on line 48

Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w00ebcfd/concrete/libraries/request.php:48) in /www/htdocs/w00ebcfd/concrete/libraries/view.php on line 833

Temp directory:http://www.svhssch.de/c5 should go tohttp://www.svhssch.de/

What can I do?
(Backup is just loading to the /c5 directory.....takes 1 or 2 hours from now)

 
loopytech replied on at Permalink Reply
What does your config/site.php file look like? (minus passwords and salt)

It sounds like your BASE_URL or DIR_REL settings maybe incorrect.
holger replied on at Permalink Reply
<?php
define('DB_SERVER', 'www.svhssch.de');
define('DB_USERNAME', 'xxxxxx');
define('DB_PASSWORD', 'xxxxxxxx');
define('DB_DATABASE', 'xxxxxxx');
define('BASE_URL', 'http://www.svhssch.de');
define('DIR_REL', '/');
define('PASSWORD_SALT', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
define("LOCALE", 'de_DE');
loopytech replied on at Permalink Best Answer Reply
Try changing your DIR_REL to just '' and not '/'
holger replied on at Permalink Reply
I will try it this evening - in nearly 10 hours.
holger replied on at Permalink Reply
Yes, thats it. A small slash - a big effect. Now it works. Thank you.
bennett49r replied on at Permalink Reply
bennett49r
This worked for me!!! Thanks all.

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.