"failed To Open Stream: Permission Denied"


Subject: "failed To Open Stream: Permission Denied"
Hello there and congratulations for your great work! I am new to your modded forum and I liked it very much, so I desided to upgrade my forum to your version.

After i finished installation and I changed the permissions to the requiried folders (such as avatars albums etc) I clicked finish installation and I am getting this error:

Warning: main(./includes/template.php) [function.main]: failed to open stream: Permission denied in /hermes/web08/b701/pow.vsag/forum2/htdocs/common.php on line 205

Warning: main() [function.include]: Failed opening './includes/template.php' for inclusion (include_path='.:/usr/local/lib/php-4.4.4/lib/php') in /hermes/web08/b701/pow.vsag/forum2/htdocs/common.php on line 205

(etc etc same errors)

I tried changing the permissions of the files to 650, 777, 750, 444 but still doesnt work. My forum URL is http://forum2.v-sag.net/

If anyone could help I will truly appreciate it.

Also i have a database of phpBB 2.2.17 which is the previous version and I want to import all data to phpBB XS. Is that possible?

Thanks in advance!

Best Regards
Vasilis Sagonas aka V-SAG
www.v-sag.com

Last edited by vasilis on Sun 03 Sep, 2006 17:37; edited 1 time in total
Profile PM  
Subject: Re: "failed To Open Stream: Permission Denied"
forgot to add that the original forum is under http://forum.v-sag.net/

thanks

Profile PM  
Subject: Re: "failed To Open Stream: Permission Denied"
i fixsed by changing the /includes folder permission to 777, but does this make the folder vulnerable to hack attacks? please let me know.. thanks

Profile PM  
Subject: Respuesta: "failed To Open Stream: Permission Denied&qu
Try permissions 755 to includes... I'm not really sure, but I think it's not a good idea to change permissions to 777 to includes folder and let everybody know it!!

Subject: Re: "failed To Open Stream: Permission Denied"
now i get a new error after upgrading my forum


DEBUG MODE

SQL Error : 1146 Table 'vsag.BUDDYS_TABLE' doesn't exist

SELECT u.*, (CASE WHEN b.buddy_ignore = 0 THEN 1 ELSE 0 END) as user_friend, i.buddy_ignore AS user_ignore, b.buddy_visible AS user_visible FROM ((phpbb_users AS u LEFT JOIN BUDDYS_TABLE AS b ON b.user_id=u.user_id AND b.buddy_id=2) LEFT JOIN BUDDYS_TABLE AS i ON i.user_id=2 AND i.buddy_id=u.user_id) WHERE u.user_id <> -1 AND u.user_birthday <> 0 AND u.user_birthday <> '' AND ( ( RIGHT(u.user_birthday, 4) >= 0902 AND RIGHT(u.user_birthday, 4) < 0907 ) ) ORDER BY username

Line : 704
File : functions_calendar.php


:(

heeelpp

Profile PM  
Subject: Re: "failed To Open Stream: Permission Denied"
i am doing everything step by step from the beginning... let's pray :)

Profile PM  
Subject: Respuesta: "failed To Open Stream: Permission Denied&qu
Did you run the update_to_xs2.php that you can find in the /install folder?

Remember that you must run it from the root of your forum!!

Subject: Re: "failed To Open Stream: Permission Denied"
hi again!

after 3 times of attempting to upgrade my forum i really quit. Please someone help me!

I ran update file from the root of my forum, i replace all files and succesfully doing the config.php, but i still get this error:

--------------------------------------------------------------------------------------------------------------------------------
General Error
Could not read user table to get birthday today info

DEBUG MODE

SQL Error : 1146 Table 'vsag.BUDDYS_TABLE' doesn't exist

SELECT u.*, (CASE WHEN b.buddy_ignore = 0 THEN 1 ELSE 0 END) as user_friend, i.buddy_ignore AS user_ignore, b.buddy_visible AS user_visible FROM ((phpbb_users AS u LEFT JOIN BUDDYS_TABLE AS b ON b.user_id=u.user_id AND b.buddy_id=2) LEFT JOIN BUDDYS_TABLE AS i ON i.user_id=2 AND i.buddy_id=u.user_id) WHERE u.user_id <> -1 AND u.user_birthday <> 0 AND u.user_birthday <> '' AND ( ( RIGHT(u.user_birthday, 4) >= 0902 AND RIGHT(u.user_birthday, 4) < 0907 ) ) ORDER BY username

Line : 704
File : functions_calendar.php

----------------


Can someone please help me?

Thanks!!

Profile PM  
Subject: Re: "failed To Open Stream: Permission Denied"
it is right

you are missing some tables [like birthday] in your database

Subject: Re: "failed To Open Stream: Permission Denied"
nevermind, i found the solution.

for anyone experiencing similar problem AFTER upgrade, please go to your php_config table and erase everything that has to do with "BUDDY" :)

cheers!

BTW from now on i'm using phpBB XS to http://forum.v-sag.net/

I hope to see more updates in the future!

Vasilis

Profile PM  

Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.1834s (PHP: 13% SQL: 87%)
SQL queries: 10 - Debug Off - GZIP Enabled