• 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!
  • 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.

Search results

  1. V

    Resolved CronJobs - Error on mysqli_connect

    Solved! Don't know how or why, but the cron did not like to start with the config file! So, I added the connection to the cron script, and it works fine now! thanks for the help!
  2. V

    Resolved CronJobs - Error on mysqli_connect

    it does not return anything... Still only this: "Task "/var/www/vhosts/lojaweb.pt/dev.lojaweb.pt/lojapd/system/crons/getpayments.php" completed with error in 0 seconds." you can try yourself! https://lojaweb.pt/crons/getpayments The PHP is Working, it make a connection with database to...
  3. V

    Resolved CronJobs - Error on mysqli_connect

    I commented all code, and tried line by line, it crashed on "mysqli_connect()"
  4. V

    Resolved CronJobs - Error on mysqli_connect

    No message, just this info: "Task "/var/www/vhosts/lojaweb.pt/dev.lojaweb.pt/lojapd/system/crons/getpayments.php" completed with error in 0 seconds." there is any log that I can check what error came up?
  5. V

    Resolved CronJobs - Error on mysqli_connect

    Thats the thing... when I run the code by URL, it works, but by cron job it fails! define('DB_SERVER', 'localhost'); define('DB_USERNAME', '********'); define('DB_PASSWORD', '**********'); define('DB_DATABASE', 'lojaweb_astra'); $db = mysqli_connect(DB_SERVER, DB_USERNAME, DB_PASSWORD...
  6. V

    Resolved CronJobs - Error on mysqli_connect

    thanks for the reply Yes! it is.. in fact the website is working perfectly!
  7. V

    Resolved CronJobs - Error on mysqli_connect

    Hi there, I'm having a big trouble trying to run a php script with the command mysqli_connect(), it always return error (doesn't say what error), i debugged and the mysqli_connect does not work. What should I do to make this work? thanks
Back
Top