Page 1 of 1

Error after moving the CMS

Posted: Tue 22. Dec 2015, 20:40
by Briefcase
Hi All,

i've moved the PHP files and edited the conf.inc.php to the new mysql details, imported the database in the new host. The result is the following :

Warning: require_once(/var/www/html/~overbeeke/include/inc_lib/mimetype.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/overbeeke/domains/overbeekeinterieur.nl/public_html/include/inc_lib/default.inc.php on line 150

Fatal error: require_once() [function.require]: Failed opening required '/var/www/html/~overbeeke/include/inc_lib/mimetype.inc.php' (include_path='.:/usr/local/lib/php') in /home/overbeeke/domains/overbeekeinterieur.nl/public_html/include/inc_lib/default.inc.php on line 150

Re: Error after moving the CMS

Posted: Wed 23. Dec 2015, 09:54
by Oliver Georgi
check

Code: Select all

$phpwcms['root'] = '';
seems you have moved files into a sub directory which is not set

Re: Error after moving the CMS

Posted: Mon 4. Jan 2016, 20:16
by Briefcase
the phpwcms is placed in the root of the public_html folder. Should I change that line anyway? And in what value ?

Re: Error after moving the CMS

Posted: Mon 4. Jan 2016, 20:40
by juergen
value '' as Oliver has above, makes NO subdir from Server html root.

So then that is your way. Check config file as well if you change Server and path is hardcoded ...

Re: Error after moving the CMS

Posted: Tue 5. Jan 2016, 07:19
by Oliver Georgi
See the 2 different paths.

Code: Select all

/var/www/html/~overbeeke/
/home/overbeeke/domains/overbeekeinterieur.nl/public_html/
Server config is not correct.

Try

Code: Select all

$phpwcms['DOC_ROOT'] = '/home/overbeeke/domains/overbeekeinterieur.nl/public_html';
$phpwcms['root'] = '';

Re: Error after moving the CMS

Posted: Tue 12. Jan 2016, 20:32
by Briefcase
sorry, that doesn't seem to work either.


Warning: require_once(/home/overbeeke/domains/overbeekeinterieur.nl/public_html/include/inc_ext/htmlfilter.php) [function.require-once]: failed to open stream: No such file or directory in /home/overbeeke/domains/overbeekeinterieur.nl/public_html/include/inc_lib/general.inc.php on line 25

Fatal error: require_once() [function.require]: Failed opening required '/home/overbeeke/domains/overbeekeinterieur.nl/public_html/include/inc_ext/htmlfilter.php' (include_path='.:/usr/local/lib/php') in /home/overbeeke/domains/overbeekeinterieur.nl/public_html/include/inc_lib/general.inc.php on line 25

Re: Error after moving the CMS

Posted: Tue 12. Jan 2016, 20:43
by Oliver Georgi
it seems files missing or permission is wrong. Ask your hosting provider what's wrong there. Check twice.