biow0lf / evedev-kb

Automatically exported from code.google.com/p/evedev-kb
1 stars 0 forks source link

Error when posting comment #148

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Post a comment on a killmail

What is the expected output? What do you see instead?

I'm not sure if other people are receiving the error, they haven't complained. 
Also, the comment actually does show up and gets posted, it just doesn't 
refresh the page properly it looks like. The 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

What version of the board are you using? Official release (no longer the "beta" 
one) 3.1.4 (Tyrannis) rev Dev 1038
What version of PHP and MySQL does the board run on?

What is the url of a page where the error occurs or has occurred?
http://killboard.brick-squad.com/?a=kill_detail&kll_id=60848

Original issue reported on code.google.com by revi...@gmail.com on 19 Oct 2010 at 10:48

GoogleCodeExporter commented 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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1051.

Original comment by kovellia on 20 Oct 2010 at 1:09