“The file you tried to upload is too large.” Error
-
Hello,
Having an issue uploading image files for our entries and I reviewed our php configs as well as the Plugin Settings and I am still getting the error. Below are the log files with annotations.
We also tested uploading the file to the same location using a different file management plugin and it was successful.
Thank You![05/22/24 3:51pm UTC] record values in $_POST array
\\ php.ini setting: upload_max_filesize = 3700M
\\ Line 104: “if ( filesize( realpath( $field_file[ ‘tmp_name’ ][ $i ] ) ) > ini_get( ‘upload_max_filesize’ ) )” [05/22/24 3:51pm UTC] Undefined variable $field_file in C:\inetpub\wwwroot\wp-content\plugins\participants-database\classes\PDb_File_Uploads.php on line 104
[05/22/24 3:51pm UTC] Trying to access array offset on null in C:\inetpub\wwwroot\wp-content\plugins\participants-database\classes\PDb_File_Uploads.php on line 104
[05/22/24 3:51pm UTC] realpath(): Passing null to parameter #1 ($path) of type string is deprecated in C:\inetpub\wwwroot\wp-content\plugins\participants-database\classes\PDb_File_Uploads.php on line 104\\Error Message but file size is 124 KB
[05/22/24 3:51pm UTC] File size exceeded php configuration limits: mccarthy.png Log file initiated at: May 22, 2024 3:51 pm UTC\\Screen Error Message is: The file you tried to upload is too large. The file must be smaller than 3700000K.
[05/22/24 3:51pm UTC] strip_tags(): Passing null to parameter #1 ($string) of type string is deprecated in C:\inetpub\wwwroot\wp-admin\admin-header.php on line 36
- You must be logged in to reply to this topic.