Error: "Warning: include() ..."

Support for IntegraMOD 141

Moderator: Integra Moderator

Error: "Warning: include() ..."

PostAuthor: looser9 » Sun May 23, 2010 6:27 pm

Hey guys,

I need some help since this matter is pretty urgent <img>

I moved my board from one server to another and I pretty much copied the database which worked fine!

And then I transferred the regular data via scp command from one server to the other!

But now when I try to open my board it always tells me this:

Warning: include() [function.include]: Unable to access ./includes/constants.php in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 196

Warning: include(./includes/constants.php) [function.include]: failed to open stream: Permission denied in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 196

Warning: include() [function.include]: Unable to access ./includes/constants.php in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 196

Warning: include(./includes/constants.php) [function.include]: failed to open stream: Permission denied in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 196

Warning: include() [function.include]: Failed opening './includes/constants.php' for inclusion (include_path='.:') in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 196

Warning: include() [function.include]: Unable to access ./includes/template.php in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 197

Warning: include(./includes/template.php) [function.include]: failed to open stream: Permission denied in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 197

Warning: include() [function.include]: Unable to access ./includes/template.php in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 197

Warning: include(./includes/template.php) [function.include]: failed to open stream: Permission denied in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 197

Warning: include() [function.include]: Failed opening './includes/template.php' for inclusion (include_path='.:') in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 197

Warning: include() [function.include]: Unable to access ./includes/sessions.php in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 198

Warning: include(./includes/sessions.php) [function.include]: failed to open stream: Permission denied in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 198

Warning: include() [function.include]: Unable to access ./includes/sessions.php in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 198

Warning: include(./includes/sessions.php) [function.include]: failed to open stream: Permission denied in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 198

Warning: include() [function.include]: Failed opening './includes/sessions.php' for inclusion (include_path='.:') in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 198

Warning: include() [function.include]: Unable to access ./includes/auth.php in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 199

Warning: include(./includes/auth.php) [function.include]: failed to open stream: Permission denied in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 199

Warning: include() [function.include]: Unable to access ./includes/auth.php in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 199

Warning: include(./includes/auth.php) [function.include]: failed to open stream: Permission denied in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 199

Warning: include() [function.include]: Failed opening './includes/auth.php' for inclusion (include_path='.:') in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 199

Warning: include() [function.include]: Unable to access ./includes/functions.php in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 200

Warning: include(./includes/functions.php) [function.include]: failed to open stream: Permission denied in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 200

Warning: include() [function.include]: Unable to access ./includes/functions.php in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 200

Warning: include(./includes/functions.php) [function.include]: failed to open stream: Permission denied in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 200

Warning: include() [function.include]: Failed opening './includes/functions.php' for inclusion (include_path='.:') in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 200

Warning: include() [function.include]: Unable to access ./includes/db.php in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 201

Warning: include(./includes/db.php) [function.include]: failed to open stream: Permission denied in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 201

Warning: include() [function.include]: Unable to access ./includes/db.php in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 201

Warning: include(./includes/db.php) [function.include]: failed to open stream: Permission denied in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 201

Warning: include() [function.include]: Failed opening './includes/db.php' for inclusion (include_path='.:') in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 201

Fatal error: Call to undefined function encode_ip() in /var/www/vhosts/(...)/httpdocs/forum/common.php on line 239


How can I fix this?

Yours, Ludwig

looser9
Members
Members
 
Posts: 64
Likes: 0 post
Liked in: 0 post
Joined: Sat Dec 22, 2007 3:29 am
Cash on hand: 0.00

Re: Error: "Warning: include() ..."

PostAuthor: Helter » Sun May 23, 2010 9:47 pm

first check to see that the files are all there, then check to see if the account owner is the owner of the files and not root.

have you tried to install a fresh IM141 on your new server to be sure apache is functioning correctly?
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3

Re: Error: "Warning: include() ..."

PostAuthor: looser9 » Mon May 24, 2010 3:42 am

"HelterSkelter" wrote:first check to see that the files are all there, then check to see if the account owner is the owner of the files and not root.

have you tried to install a fresh IM141 on your new server to be sure apache is functioning correctly?


All files are there!

_____________________

The new IM141 installation works fine!

Is there also a way to leave the fresh IM 141 installation and just put the old data into the fresh IM 141 installation?
Do you have a guide for this or what data is important?

_____________________

What is that about the account owner?
Does it have to have the same name as with the old server?

And by what is it determined?

I tried the scp command via user root and via the ftp user of the new server!

Yours, Ludwig

looser9
Members
Members
 
Posts: 64
Likes: 0 post
Liked in: 0 post
Joined: Sat Dec 22, 2007 3:29 am
Cash on hand: 0.00

Re: Error: "Warning: include() ..."

PostAuthor: looser9 » Mon May 24, 2010 4:17 am

Thanks for your help :)

Now it ´s perfectly working <img>

Yours, Ludwig

looser9
Members
Members
 
Posts: 64
Likes: 0 post
Liked in: 0 post
Joined: Sat Dec 22, 2007 3:29 am
Cash on hand: 0.00

Re: Error: "Warning: include() ..."

PostAuthor: Helter » Mon May 24, 2010 6:48 am

thats great news, but you probably have more files set to 774.
try this from the command line

find /httpdocs/forum -type f -name "*.php" | xargs chmod 755

then set the folder and file chmods as usual for IM141
Always use Protection
Image


Please do not PM for support
User avatar
Helter
Administrator
Administrator
 
Posts: 4168
Likes: 0 post
Liked in: 0 post
Images: 0
Joined: Sat Mar 11, 2006 3:46 pm
Cash on hand: 187.60
Location: Seattle Wa
IntegraMOD version: IM 3


Return to IntegraMOD 141

Who is online

Registered users: Bing [Bot], Google [Bot], Helter, Majestic-12 [Bot]