extra_data_directory) || filemtime(__FILE__) > filemtime($paths->extra_data_directory)) { $error_message_help = "
Have you checked that PHP has write access to the directory that index.php
is located in (and all it's contents and subdirectories)? Try sudo chown USERNAME:USERNAME -R path/to/directory
and sudo chmod -R 0644 path/to/directory; sudo chmod -R +X path/too/directory
, where USERNAME
is the username that the PHP process is running under.
Oops! It looks like $settings->sitename couldn't create the extra data directory to unpack additional files to.
$error_message_help")); } } if(!touch($paths->extra_data_directory)) { http_response_code(503); exit(page_renderer::render_minimal("Unpacking error - $settings->sitename", "Oops! It looks like $settings->sitename isn't able to change the last modified time of the extra data directory.
$error_message_help")); } $temp_filename = tempnam(sys_get_temp_dir(), "PeppermintExtract"); $temp_file = fopen($temp_filename, "wb+"); if($temp_file === false) { http_response_code(503); exit(page_renderer::render_minimal("Unpacking error - $settings->sitename", "Oops! $settings->sitename wasn't able to create a new temporary file with tempnam()
. Perhaps your server is mis-configured?
Oops! $settings->sitename wasn't able to open itself (i.e. index.php
) for reading. $error_message_help