privatecore

Results 4 comments of privatecore

@sunuazizrahayu https://github.com/bcit-ci/CodeIgniter/blob/3.1-stable/system/helpers/captcha_helper.php#L125 replace if statement with: ```php if (in_array(substr($filename, -4), array('.jpg', '.png')) && (intval(str_replace(array('.jpg', '.png'), '', $filename)) + $expiration) < $now) { @unlink($img_path.$filename); } ``` this error occurs in the...

This issue (or better said — behavior) is more about MySQL itself: https://dev.mysql.com/doc/refman/8.0/en/innodb-locking.html#innodb-insert-intention-locks Possible solutions: https://medium.com/assoconnect/dealing-with-deadlocks-on-insert-requests-59eb93ef8dce https://mariadb.com/kb/en/data-warehousing-high-speed-ingestion/ Second link is more interesting in case changes can be made to the...

@mertdogan check your log files -> you should have errors with this configuration: https://github.com/bcit-ci/CodeIgniter/blob/3.1-stable/system/libraries/Session/Session.php#L183 also, take a look at this article: https://web.dev/articles/samesite-cookies-explained#samesitenone_must_be_secure in short: a session with SameSite=None without the...

@drkNsubuga it's not an error, but warning https://github.com/bcit-ci/CodeIgniter/blob/develop/system/libraries/Session/drivers/Session_database_driver.php#L409 according to the message, sql query does not return expected result (null): > GET_LOCK(str,timeout) > > Returns 1 if the lock was...