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 trialloiclebunetel
4,184 PointsPHP Warning: shell_exec() has been disabled for security reasons
When i look into the preview i have this error message.
And after that the code of the challenge appear.
It seems that my code made an error althought it's correct and i can go to the next task.
jhdsfjhdfs hjkhkjkhj
Courses Plus Student 2,980 PointsI believe Team Treehouse uses shell_exec() function to isolate the code you type into their 'workspace/console/shell' to run your applications/programs.
loiclebunetel
4,184 PointsAs i rarely go the the preview before write my code i realised that the error is already there, i mean before i write code. It's for the different tasks of 'Creating the Menu and Footer' in' build a simple application'. So i guess this problem don't come from my code !
4 Answers
Chris Shaw
26,676 PointsSeems like the challenge is attempting to do something isn't not allowed to /cc Jim Hoskins Randy Hoyt
Martin Mekhaiel
14,297 Pointsi had the same problem and there was a problem with my code, please just post your code and lets see.. :) regards
loiclebunetel
4,184 Points@Martin -> It's not a problem from my code because the error message is there without any code that i wrote.
@Chris - > ok so this is a bug ?
Chris Shaw
26,676 PointsNot a bug per say but an oversight in the challenge(s) as there is no need for anything to be executing shell_exec
as that is a far more advanced function that Treehouse don't teach.
loiclebunetel
4,184 PointsOk thanks
Jeff Busch
19,287 PointsJeff Busch
19,287 PointsShow us your code please.