"failed To Open Stream: Permission Denied" »  Show posts from    to     

Icy Phoenix


Old Support Topics - "failed To Open Stream: Permission Denied"



vasilis [ Sun 03 Sep, 2006 17:06 ]
Post 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


vasilis [ Sun 03 Sep, 2006 17:12 ]
Post subject: Re: "failed To Open Stream: Permission Denied"
forgot to add that the original forum is under http://forum.v-sag.net/

thanks


vasilis [ Sun 03 Sep, 2006 18:04 ]
Post 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


Xusqui [ Sun 03 Sep, 2006 18:30 ]
Post 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!!


vasilis [ Sun 03 Sep, 2006 19:31 ]
Post 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


vasilis [ Sun 03 Sep, 2006 19:55 ]
Post subject: Re: "failed To Open Stream: Permission Denied"
i am doing everything step by step from the beginning... let's pray


Xusqui [ Sun 03 Sep, 2006 22:18 ]
Post 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!!


vasilis [ Sun 03 Sep, 2006 22:50 ]
Post 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!!


difus [ Sun 03 Sep, 2006 23:07 ]
Post subject: Re: "failed To Open Stream: Permission Denied"
it is right

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


vasilis [ Mon 04 Sep, 2006 00:45 ]
Post 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




Powered by Icy Phoenix