QSF Portal has exited with an error


unlink(./stats/register1218725574.png) [function.unlink]: Permission denied

Warning [2]:
The error was reported on line 221 of /opt/lampp/htdocs/pabulum/func/register.php

Code:
218     {
219         // Need to get rid of other image files since the names will all be different now.
220         foreach( glob("./stats/*.png") as $filename ) {
221             unlink($filename);
222         }
223
224         require './lib/jpgraph/jpgraph.php';



Backtrace:

File:
Line:
Call: See above for details.

File: /opt/lampp/htdocs/pabulum/func/register.php
Line: 221
Call: unlink('.')

File: /opt/lampp/htdocs/pabulum/func/register.php
Line: 72
Call: register->create_image()

File: /opt/lampp/htdocs/pabulum/func/register.php
Line: 64
Call: register->registration()

File: /opt/lampp/htdocs/pabulum/index.php
Line: 150
Call: register->execute()




Check status of problem (recommended)
View debug information (advanced)
Return to the board