PHP Warning messages in embargo.php

Project:RUcore dlr/EDIT
Version:6.1
Component:Code
Category:bug report
Priority:normal
Assigned:triggs
Status:closed
Description

[30-Nov-2011 15:21:15] PHP Warning: fopen(/mellon/htdocs/dlr/EDIT/TMP/policy.html) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in /mellon/htdocs/dlr/EDIT/embargo.php on line 86
[30-Nov-2011 15:21:15] PHP Warning: flock() expects parameter 1 to be resource, boolean given in /mellon/htdocs/dlr/EDIT/embargo.php on line 87
[30-Nov-2011 15:21:15] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /mellon/htdocs/dlr/EDIT/embargo.php on line 88
[30-Nov-2011 15:21:15] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /mellon/htdocs/dlr/EDIT/embargo.php on line 89
[30-Nov-2011 15:21:15] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /mellon/htdocs/dlr/EDIT/embargo.php on line 90
[30-Nov-2011 15:21:15] PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /mellon/htdocs/dlr/EDIT/embargo.php on line 91
[30-Nov-2011 15:21:15] PHP Warning: flock() expects parameter 1 to be resource, boolean given in /mellon/htdocs/dlr/EDIT/embargo.php on line 92
[30-Nov-2011 15:21:15] PHP Warning: fclose() expects parameter 1 to be resource, boolean given in /mellon/htdocs/dlr/EDIT/embargo.php on line 93

Comments

#1

Status:active» test

#2

Status:test» fixed

Verified.

1) created an embargo for rutgers-lib:1743
2) visited it in the search interface, links were not present and embargo messages appeared
3) created a new emabrgo back dated to a jan 1, 2011.
4) visited same object in search interface and datastream links were present again

#3

Status:fixed» closed

Closing. Went in manage Embargo of an object and nor error were thrown to the php_error log.

Back to top