Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKonrad Pilch
2,435 PointsI dont get it errors and blank page
HI,
I get this error:
Warning: include(core/init.php): failed to open stream: No such file or directory in /Applications/MAMP/htdocs/031PHP2012/includes/core/functions/users.php on line 2
Warning: include(): Failed opening 'core/init.php' for inclusion (include_path='.:/Applications/MAMP/bin/php/php5.6.2/lib/php') in /Applications/MAMP/htdocs/031PHP2012/includes/core/functions/users.php on line 2
But everything seem to be right , and the directory too because i did change it too but it doesnt work anyways. Plus when i click login, it should display the username as i echo it but its just blank.
1 Answer
Damien Watson
27,419 PointsHi Konrad,
Not sure if the colon ':' is a valid path character?
include_path='.:/Applications/MAMP/bin/php/php5.6.2/lib/php'
// Should be?
include_path='./Applications/MAMP/bin/php/php5.6.2/lib/php'
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 Pointsi dont know, this is the error i got from writing this code :
But when i click login, the page is blank and plus i get this error message before i even log in.