Hi,
I'm setting up an internal server on WAMP for publishing elearning and to host our quizzes. However on the first hurdle we have hit a problem. The wamp server seems fine, we can publish to the web server location and the files play, however when we look in the folder we get the ..\captivateresults folder created but nothing below this.
Also when we go to report we get an error about no company detailed etc.
When I browse to the PHP file on the wamp box http:\\localhost\internalserverreporting.php we get:-
| ( ! ) Warning: mkdir(): File exists in D:\wamp\www\internalServerReporting.php on line 35 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 |
0.0008 |
244032 |
{main}( ) |
..\internalServerReporting.php:0 |
| 2 |
0.0008 |
244264 |
mkdir ( ) |
..\internalServerReporting.php:35 |
| ( ! ) Notice: Undefined variable: CompanyName in D:\wamp\www\internalServerReporting.php on line 36 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 |
0.0008 |
244032 |
{main}( ) |
..\internalServerReporting.php:0 |
| ( ! ) Warning: mkdir(): File exists in D:\wamp\www\internalServerReporting.php on line 37 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 |
0.0008 |
244032 |
{main}( ) |
..\internalServerReporting.php:0 |
| 2 |
0.0035 |
245176 |
mkdir ( ) |
..\internalServerReporting.php:37 |
| ( ! ) Notice: Undefined variable: DepartmentName in D:\wamp\www\internalServerReporting.php on line 38 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 |
0.0008 |
244032 |
{main}( ) |
..\internalServerReporting.php:0 |
| ( ! ) Warning: mkdir(): File exists in D:\wamp\www\internalServerReporting.php on line 39 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 |
0.0008 |
244032 |
{main}( ) |
..\internalServerReporting.php:0 |
| 2 |
0.0055 |
245504 |
mkdir ( ) |
..\internalServerReporting.php:39 |
| ( ! ) Notice: Undefined variable: CourseName in D:\wamp\www\internalServerReporting.php on line 40 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 |
0.0008 |
244032 |
{main}( ) |
..\internalServerReporting.php:0 |
| ( ! ) Warning: mkdir(): File exists in D:\wamp\www\internalServerReporting.php on line 41 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 |
0.0008 |
244032 |
{main}( ) |
..\internalServerReporting.php:0 |
| 2 |
0.0076 |
245688 |
mkdir ( ) |
..\internalServerReporting.php:41 |
| ( ! ) Notice: Undefined variable: Filename in D:\wamp\www\internalServerReporting.php on line 42 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 |
0.0008 |
244032 |
{main}( ) |
..\internalServerReporting.php:0 |
| ( ! ) Warning: fopen(./CaptivateResults////////): failed to open stream: No such file or directory in D:\wamp\www\internalServerReporting.php on line 43 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 |
0.0008 |
244032 |
{main}( ) |
..\internalServerReporting.php:0 |
| 2 |
0.0097 |
245960 |
fopen ( ) |
..\internalServerReporting.php:43 |
| ( ! ) Notice: Undefined variable: Filedata in D:\wamp\www\internalServerReporting.php on line 44 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 |
0.0008 |
244032 |
{main}( ) |
..\internalServerReporting.php:0 |
| ( ! ) Warning: fwrite() expects parameter 1 to be resource, boolean given in D:\wamp\www\internalServerReporting.php on line 44 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 |
0.0008 |
244032 |
{main}( ) |
..\internalServerReporting.php:0 |
| 2 |
0.0119 |
246064 |
fwrite ( ) |
..\internalServerReporting.php:44 |
| ( ! ) Warning: fclose() expects parameter 1 to be resource, boolean given in D:\wamp\www\internalServerReporting.php on line 45 |
| Call Stack |
| # | Time | Memory | Function | Location |
| 1 |
0.0008 |
244032 |
{main}( ) |
..\internalServerReporting.php:0 |
| 2 |
0.0131 |
246048 |
fclose ( ) |
..\internalServerReporting.php:45 |
this is the standard internalserverreporting.php file taken from the captivate install.
So I'm guessing the php file isn't working as directed. I'm no php programmer. Has anyone seen or experienced this?