problem with new server

tza

Verified User
Joined
Jan 8, 2007
Messages
77
i move to new server
and many site in phpbb is see this:

Warning: require(./config.php) [function.require]: failed to open stream: Permission denied in /home/domains/.com/public_html/common.php on line 128

Fatal error: require() [function.require]: Failed opening required './config.php' (include_path='.:/usr/local/lib/php') in /home//domains/.com/public_html/common.php on line 128


and in other site php
i see this:

Warning: fopen(data/skins/techjunkie/skin.default.html) [function.fopen]: failed to open stream: Permission denied in /home//domains/.com/public_html/includes/filesystem.php on line 86
 
Have the file right permission and owner?

Have you root access to server or you bought hosting by a hosting services company? If you bought from hosting service company you must contact their helpdesk.

This is totally not related to DirectAdmin issue, is just a permission problem.

Regards
 
also

Code:
/home/domains/.com/public_html/common.php


Did you removed the user volontary? Cause the correct file path should be like

Code:
/home/USER/domains/DOMAIN/publi_html/common.php

Regards
 
mmmh you should try this

Code:
chown USER:USER -R /home/USER/domains/DOMAIN/public_html/*

be sure to change USER with the right user and DOMAIN with the right domain

Let me know

Regards
 
mmmh you should try this

Code:
chown USER:USER -R /home/USER/domains/DOMAIN/public_html/*

be sure to change USER with the right user and DOMAIN with the right domain

Let me know

Regards


what this command do
 
Back
Top