Closed GoogleCodeExporter closed 9 years ago
Actually the full error is as follows:
WARNING [2] scandir(cache/store/91/1c/a8/911ca8fed0e4c2767acba37dfef99701/)
[function.scandir]: failed to open dir: No such file or directory
Error on line 88 in file
/home/vaenyc/webapps/killboard/common/includes/class.cachehandler.php
PHP 5.2.11 (Linux), EDK 3.1.4 (Tyrannis)
File: /home/vaenyc/webapps/killboard/common/includes/class.cachehandler.php,
line: 88, function: scandir
File:
/home/vaenyc/webapps/killboard/common/includes/class.cachehandlerhashed.php,
line: 123, class: CacheHandler, function: removeDir
File: /home/vaenyc/webapps/killboard/common/includes/class.cache.php, line:
227, class: CacheHandlerHashed, function: remove
File: /home/vaenyc/webapps/killboard/common/kill_detail.php, line: 124, class:
cache, function: deleteCache
File: /home/vaenyc/webapps/killboard/common/includes/class.pageassembly.php,
line: 60, function: call_user_func
File: /home/vaenyc/webapps/killboard/common/includes/class.pageassembly.php,
line: 29, class: pageAssembly, function: call
File: /home/vaenyc/webapps/killboard/common/kill_detail.php, line: 1215, class:
pageAssembly, function: assemble
File: /home/vaenyc/webapps/killboard/common/index.php, line: 310, function:
include
File: /home/vaenyc/webapps/killboard/index.php, line: 21, function: include
WARNING [2] scandir() [function.scandir]: (errno 2): No such file or directory
Error on line 88 in file
/home/vaenyc/webapps/killboard/common/includes/class.cachehandler.php
PHP 5.2.11 (Linux), EDK 3.1.4 (Tyrannis)
File: /home/vaenyc/webapps/killboard/common/includes/class.cachehandler.php,
line: 88, function: scandir
File:
/home/vaenyc/webapps/killboard/common/includes/class.cachehandlerhashed.php,
line: 123, class: CacheHandler, function: removeDir
File: /home/vaenyc/webapps/killboard/common/includes/class.cache.php, line:
227, class: CacheHandlerHashed, function: remove
File: /home/vaenyc/webapps/killboard/common/kill_detail.php, line: 124, class:
cache, function: deleteCache
File: /home/vaenyc/webapps/killboard/common/includes/class.pageassembly.php,
line: 60, function: call_user_func
File: /home/vaenyc/webapps/killboard/common/includes/class.pageassembly.php,
line: 29, class: pageAssembly, function: call
File: /home/vaenyc/webapps/killboard/common/kill_detail.php, line: 1215, class:
pageAssembly, function: assemble
File: /home/vaenyc/webapps/killboard/common/index.php, line: 310, function:
include
File: /home/vaenyc/webapps/killboard/index.php, line: 21, function: include
WARNING [2] rmdir(cache/store/91/1c/a8/911ca8fed0e4c2767acba37dfef99701)
[function.rmdir]: No such file or directory
Error on line 106 in file
/home/vaenyc/webapps/killboard/common/includes/class.cachehandler.php
PHP 5.2.11 (Linux), EDK 3.1.4 (Tyrannis)
File: /home/vaenyc/webapps/killboard/common/includes/class.cachehandler.php,
line: 106, function: rmdir
File:
/home/vaenyc/webapps/killboard/common/includes/class.cachehandlerhashed.php,
line: 123, class: CacheHandler, function: removeDir
File: /home/vaenyc/webapps/killboard/common/includes/class.cache.php, line:
227, class: CacheHandlerHashed, function: remove
File: /home/vaenyc/webapps/killboard/common/kill_detail.php, line: 124, class:
cache, function: deleteCache
File: /home/vaenyc/webapps/killboard/common/includes/class.pageassembly.php,
line: 60, function: call_user_func
File: /home/vaenyc/webapps/killboard/common/includes/class.pageassembly.php,
line: 29, class: pageAssembly, function: call
File: /home/vaenyc/webapps/killboard/common/kill_detail.php, line: 1215, class:
pageAssembly, function: assemble
File: /home/vaenyc/webapps/killboard/common/index.php, line: 310, function:
include
File: /home/vaenyc/webapps/killboard/index.php, line: 21, function: include
WARNING [2] Cannot modify header information - headers already sent by (output
started at /home/vaenyc/webapps/killboard/common/includes/class.edkerror.php:63)
Error on line 126 in file /home/vaenyc/webapps/killboard/common/kill_detail.php
PHP 5.2.11 (Linux), EDK 3.1.4 (Tyrannis)
File: /home/vaenyc/webapps/killboard/common/kill_detail.php, line: 126,
function: header
File: /home/vaenyc/webapps/killboard/common/includes/class.pageassembly.php,
line: 60, function: call_user_func
File: /home/vaenyc/webapps/killboard/common/includes/class.pageassembly.php,
line: 29, class: pageAssembly, function: call
File: /home/vaenyc/webapps/killboard/common/kill_detail.php, line: 1215, class:
pageAssembly, function: assemble
File: /home/vaenyc/webapps/killboard/common/index.php, line: 310, function:
include
File: /home/vaenyc/webapps/killboard/index.php, line: 21, function: include
Original comment by revi...@gmail.com
on 19 Oct 2010 at 10:54
This will be fixed in the next release. Until then you can change the root
index.php and set the error level reported to E_ERROR.
Original comment by kovellia
on 20 Oct 2010 at 1:01
Oh, and the process is that
* you post a comment
* the cached file with old comments is removed
* the now empty cache directory is removed
* the page redirects back to the kill (to prevent refresh reposting)
The directory removal step was not working but it's not essential and may even
be removed in the future. So it's safe to ignore the warning.
Original comment by kovellia
on 20 Oct 2010 at 1:08
This issue was closed by revision r1051.
Original comment by kovellia
on 20 Oct 2010 at 1:09
Original issue reported on code.google.com by
revi...@gmail.com
on 19 Oct 2010 at 10:48