• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Laravel: 500 SERVER ERROR

sezohessen

New Pleskian
I got 500 | SERVER ERROR after deployment the project .I run key:generate, config:cache, optimize But no thing happened.
.env file is exist , I also migrate the database successfully
 
Did you check the error logs of the subscription?

First make sure error logging is active:
Subscription -> PHP Settings -> error_logs = on

Next, check the logs for errors:
Subscription -> Logs
 
I have the same error with my script it is also Laravel and PHP. 500 Server Error in the contact us page and new customer registration or when they place an order an email should go to the customer and to the admin and the 500 server error is displayed on the page and no email is being sent.
the admin dashboard for Contact us and Mailchimp has a setting where I fill in the required files. attached are the settings for the email setup for Contact us and the other incoming and outgoing emails (new user registration and order placements) do not work. when I try to subscribe to the website the error "401: Your API key may be invalid, or you've attempted to access the wrong datacenter." shows in the subscribe form.

I am relatively new to the Plesk and VPS Sever and do not know how to get this taken care of. please let me know if you need me to check the log files and share them here if that will help you to know the errors and issues I have. the Email Form with the same script works fine in the cPanel shared hosting.

Thank you.

Attachments​

 

Attachments

  • Capture.PNG
    Capture.PNG
    30.7 KB · Views: 10
  • Newsletter error.PNG
    Newsletter error.PNG
    38.4 KB · Views: 10
  • newsletter settings.PNG
    newsletter settings.PNG
    16.1 KB · Views: 9
Yes, I did and checked the settings for that specific domain and the error that it shows is

AH01071: Got error 'PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/autoload.php) is not within the allowed path(s): (/var/www/vhosts/MySite.com/:/tmp/) in /var/www/vhosts/MySite.com/httpdocs/vendor/vonage/nexmo-bridge/src/Autoloader.php on line 69', referer: https://MySite.com
 
Yes, I did and checked the settings for that specific domain and the error that it shows is

AH01071: Got error 'PHP message: PHP Warning: file_exists(): open_basedir restriction in effect. File(/autoload.php) is not within the allowed path(s): (/var/www/vhosts/MySite.com/:/tmp/) in /var/www/vhosts/MySite.com/httpdocs/vendor/vonage/nexmo-bridge/src/Autoloader.php on line 69', referer: https://MySite.com

Please have a look at this post to fix the issue:

 
Thank you maartenv. I am new to Plesk and do not much more about changing these redirects/code. Could you please tell me when part of the codes needs to be changed on my end so I can try?

Is it something I need to commit from Github or just copay and add it to a specific part of the codes in the app?
I really appreciate your help in this regard.
Thank you,
 
/var/www/vhosts/MySite.com/httpdocs/vendor/vonage/nexmo-bridge/src/Autoloader.php
in line 69
tries to access an area that is outside your own webspace. It is very likely due to the slash before "autoload.php", because that tells the server to start looking for autoload.php in the root directory for the server's hard disk. You'll need to find where the /autoload.php is defined and either change it to your full path to the file in your webspace or to a relative path, relative to the script path of the script that is requesting it.
 
Back
Top