alexdee67 Posted July 9, 2010 Share Posted July 9, 2010 Hello, I do not understand what the problem is. Everything should be running but its just this small problem. I can't figure it out. I tried to set the permission to something else like 777 but it doesn't make a difference. A push in the right direction would be nice. Thank you! Warning: require(includes/startup.php): failed to open stream: Permission denied in /www/zzl.org/s/e/r/sericous/htdocs/game3/index.php on line 11 Fatal error: require(): Failed opening required 'includes/startup.php' (include_path='.:/usr/lib/php') in /www/zzl.org/s/e/r/sericous/htdocs/game3/index.php on line 11 Link to comment https://forums.phpfreaks.com/topic/207269-not-requiring-a-file-needed/ Share on other sites More sharing options...
tronicsmasta Posted July 9, 2010 Share Posted July 9, 2010 can i see a few lines before and a few lines after your require() line? i think your trying to include from the wrong place... i have to see a few lines though... Link to comment https://forums.phpfreaks.com/topic/207269-not-requiring-a-file-needed/#findComment-1083709 Share on other sites More sharing options...
alexdee67 Posted July 9, 2010 Author Share Posted July 9, 2010 <?php ////////////////////////////////////////////////////// // // The PHP RPG Project // // Version : 1.0.0a // Author : The XPHPX Team! // // ////////////////////////////////////////////////////// require("includes/startup.php"); // setup some default variables $music = ''; $ask_pvp_battle = false; $pvp_id = ''; $opp_name = ''; Link to comment https://forums.phpfreaks.com/topic/207269-not-requiring-a-file-needed/#findComment-1083720 Share on other sites More sharing options...
wildteen88 Posted July 9, 2010 Share Posted July 9, 2010 What permissions have you set to your includes folder and statup.php to? PHP is unable to access the folder/file due to an issue with the permissions. Link to comment https://forums.phpfreaks.com/topic/207269-not-requiring-a-file-needed/#findComment-1083727 Share on other sites More sharing options...
alexdee67 Posted July 9, 2010 Author Share Posted July 9, 2010 766 the install file didn't tell me to change that one. Would I have to make it writable for everyone? 777 permission. Link to comment https://forums.phpfreaks.com/topic/207269-not-requiring-a-file-needed/#findComment-1083730 Share on other sites More sharing options...
alexdee67 Posted July 9, 2010 Author Share Posted July 9, 2010 I used 777 and 766 both are not changing the error. So maybe 666 but I don't know how that would allow anything to happen. Link to comment https://forums.phpfreaks.com/topic/207269-not-requiring-a-file-needed/#findComment-1083736 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.