Error in V1.6.1 in shared hosting environments (open_basedir restriction)
-
short description: sys_get_temp_dir() shows the temp-dir of the server (/tmp in my case) but the shared hosting environment will never get access to this path
sie also:
https://stackoverflow.com/questions/13186069/sys-get-temp-dir-in-shared-hosting-environment
https://php.net/manual/de/function.sys-get-temp-dir.phpproblematic file: ./plugins/wp-super-cache/wp-cache-phase2.php
problematic function: function wp_cache_replace_line( $old, $new, $my_file )
problematic line: 1058
problematic code: $tmp_file = tempnam(sys_get_temp_dir(), ‘wpsc’ );
temporary solution: $tmp_file = tempnam(‘/path/to/your/shared/environment/tmp-dir’, ‘wpsc’ );
all tries to overwrite temp-dir doesn’t work in my case
- The topic ‘Error in V1.6.1 in shared hosting environments (open_basedir restriction)’ is closed to new replies.