Error after moving the CMS

Please post all install related problems here. Visit this forum first for troubleshooting.
Post Reply
Briefcase
Posts: 6
Joined: Thu 25. Apr 2013, 08:37

Error after moving the CMS

Post by Briefcase » Tue 22. Dec 2015, 20:40

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

User avatar
Oliver Georgi
Site Admin
Posts: 9560
Joined: Fri 3. Oct 2003, 22:22
Location: Moscow, Russia
Contact:

Re: Error after moving the CMS

Post by Oliver Georgi » Wed 23. Dec 2015, 09:54

check

Code: Select all

$phpwcms['root'] = '';
seems you have moved files into a sub directory which is not set
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон

Briefcase
Posts: 6
Joined: Thu 25. Apr 2013, 08:37

Re: Error after moving the CMS

Post by Briefcase » Mon 4. Jan 2016, 20:16

the phpwcms is placed in the root of the public_html folder. Should I change that line anyway? And in what value ?

User avatar
juergen
Moderator
Posts: 4553
Joined: Mon 10. Jan 2005, 18:10
Location: Weinheim
Contact:

Re: Error after moving the CMS

Post by juergen » Mon 4. Jan 2016, 20:40

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 ...

User avatar
Oliver Georgi
Site Admin
Posts: 9560
Joined: Fri 3. Oct 2003, 22:22
Location: Moscow, Russia
Contact:

Re: Error after moving the CMS

Post by Oliver Georgi » Tue 5. Jan 2016, 07:19

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'] = '';
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон

Briefcase
Posts: 6
Joined: Thu 25. Apr 2013, 08:37

Re: Error after moving the CMS

Post by Briefcase » Tue 12. Jan 2016, 20:32

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

User avatar
Oliver Georgi
Site Admin
Posts: 9560
Joined: Fri 3. Oct 2003, 22:22
Location: Moscow, Russia
Contact:

Re: Error after moving the CMS

Post by Oliver Georgi » Tue 12. Jan 2016, 20:43

it seems files missing or permission is wrong. Ask your hosting provider what's wrong there. Check twice.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон

Post Reply