Laravel issue __DIR___ [closed]












1















Notice: Use of undefined constant DIR - assumed 'DIR' in /home/flamore/domains/fans.cal24.pl/public_html/index.php on line 21

Warning: require(DIR/../laravel/bootstrap/autoload.php): failed to open stream: No such file or directory in /home/flamore/domains/fans.cal24.pl/public_html/index.php on line 21

Fatal error: require(): Failed opening required 'DIR/../laravel/bootstrap/autoload.php' (include_path='.:/usr/local/lib/php') in /home/flamore/domains/fans.cal24.pl/public_html/index.php on line 21




i'm still a noob at php but i can't get this to work










share|improve this question















closed as off-topic by DavidPostill Dec 24 '18 at 18:43


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.













  • Which PHP version are you using?
    – grawity
    Dec 24 '18 at 15:57










  • i use PHP 7.1.2
    – Krzysztof J
    Dec 24 '18 at 17:37






  • 1




    Welcome to Super User! Issues specific to programming and software development are off topic, see On-Topic. Try Stack Overflow but please first read How do I ask a good question?.
    – DavidPostill
    Dec 24 '18 at 18:43
















1















Notice: Use of undefined constant DIR - assumed 'DIR' in /home/flamore/domains/fans.cal24.pl/public_html/index.php on line 21

Warning: require(DIR/../laravel/bootstrap/autoload.php): failed to open stream: No such file or directory in /home/flamore/domains/fans.cal24.pl/public_html/index.php on line 21

Fatal error: require(): Failed opening required 'DIR/../laravel/bootstrap/autoload.php' (include_path='.:/usr/local/lib/php') in /home/flamore/domains/fans.cal24.pl/public_html/index.php on line 21




i'm still a noob at php but i can't get this to work










share|improve this question















closed as off-topic by DavidPostill Dec 24 '18 at 18:43


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.













  • Which PHP version are you using?
    – grawity
    Dec 24 '18 at 15:57










  • i use PHP 7.1.2
    – Krzysztof J
    Dec 24 '18 at 17:37






  • 1




    Welcome to Super User! Issues specific to programming and software development are off topic, see On-Topic. Try Stack Overflow but please first read How do I ask a good question?.
    – DavidPostill
    Dec 24 '18 at 18:43














1












1








1








Notice: Use of undefined constant DIR - assumed 'DIR' in /home/flamore/domains/fans.cal24.pl/public_html/index.php on line 21

Warning: require(DIR/../laravel/bootstrap/autoload.php): failed to open stream: No such file or directory in /home/flamore/domains/fans.cal24.pl/public_html/index.php on line 21

Fatal error: require(): Failed opening required 'DIR/../laravel/bootstrap/autoload.php' (include_path='.:/usr/local/lib/php') in /home/flamore/domains/fans.cal24.pl/public_html/index.php on line 21




i'm still a noob at php but i can't get this to work










share|improve this question
















Notice: Use of undefined constant DIR - assumed 'DIR' in /home/flamore/domains/fans.cal24.pl/public_html/index.php on line 21

Warning: require(DIR/../laravel/bootstrap/autoload.php): failed to open stream: No such file or directory in /home/flamore/domains/fans.cal24.pl/public_html/index.php on line 21

Fatal error: require(): Failed opening required 'DIR/../laravel/bootstrap/autoload.php' (include_path='.:/usr/local/lib/php') in /home/flamore/domains/fans.cal24.pl/public_html/index.php on line 21




i'm still a noob at php but i can't get this to work







php website dir






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 24 '18 at 17:46







Krzysztof J

















asked Dec 24 '18 at 15:54









Krzysztof JKrzysztof J

813




813




closed as off-topic by DavidPostill Dec 24 '18 at 18:43


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.




closed as off-topic by DavidPostill Dec 24 '18 at 18:43


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This question is not about computer hardware or software, within the scope defined in the help center." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.












  • Which PHP version are you using?
    – grawity
    Dec 24 '18 at 15:57










  • i use PHP 7.1.2
    – Krzysztof J
    Dec 24 '18 at 17:37






  • 1




    Welcome to Super User! Issues specific to programming and software development are off topic, see On-Topic. Try Stack Overflow but please first read How do I ask a good question?.
    – DavidPostill
    Dec 24 '18 at 18:43


















  • Which PHP version are you using?
    – grawity
    Dec 24 '18 at 15:57










  • i use PHP 7.1.2
    – Krzysztof J
    Dec 24 '18 at 17:37






  • 1




    Welcome to Super User! Issues specific to programming and software development are off topic, see On-Topic. Try Stack Overflow but please first read How do I ask a good question?.
    – DavidPostill
    Dec 24 '18 at 18:43
















Which PHP version are you using?
– grawity
Dec 24 '18 at 15:57




Which PHP version are you using?
– grawity
Dec 24 '18 at 15:57












i use PHP 7.1.2
– Krzysztof J
Dec 24 '18 at 17:37




i use PHP 7.1.2
– Krzysztof J
Dec 24 '18 at 17:37




1




1




Welcome to Super User! Issues specific to programming and software development are off topic, see On-Topic. Try Stack Overflow but please first read How do I ask a good question?.
– DavidPostill
Dec 24 '18 at 18:43




Welcome to Super User! Issues specific to programming and software development are off topic, see On-Topic. Try Stack Overflow but please first read How do I ask a good question?.
– DavidPostill
Dec 24 '18 at 18:43










0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

Index of /

Tribalistas

Listed building