Hi
Using PHPMaker – 2022.6Access one of my tables has now started to produce an error 500I have turned on PHP Error logging and I’m get this error ( i change my domain name to test)mod_fcgid: stderr: PHP Warning: file_exists(): open_basedir restriction in effect. File(/mimages/log-2021-11-25.log) is not within the allowed path(s): (/var/www/vhosts/test.org/:/tmp/) in /var/www/vhosts/test.org/httpdocs/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php on line 117, referer: https://test.org/welcomeNothing has changed on my host as far as im aware so im not sure where to start lookingKind Regards
John B
As the error message said, it cannot write the log file because the path is not allowed to access. You need to always configure the global file upload folder (which includes the log folder by default) as writable. The path of the upload (and log) folder should not starts with “/” or it will be considered as absolute path.
thanks, so that error has now gone and now im getting this#0 /var/www/vhosts/test.org/httpdocs/vendor/doctrine/dbal/src/Connection.php(1780): Doctrine\DBAL\Driver\API\MySQL\ExceptionConverter->convert()
#1 /var/www/vhosts/test.org/httpdocs/vendor/doctrine/dbal/src/Connection.php(1719): Doctrine\DBAL\Connection->handleDriverException()
#2 /var/www/vhosts/test.org/httpdocs/vendor/doctrine/dbal/src/Connection.php(1067): Doctrine\DBAL\Connection->convertExceptionDuringQuery()I have regenerated and uploaded all the files and the site works fine apart from list page which looks at just one tableKind Regards
John B
Since the error said “handleDriverException”, are you sure you have enabled the pdo_mysql extension for PHP?