Skip to main content
bronwynh7080238
Participant
November 2, 2017
Answered

Internal Server Reporting - Adobe Captivate

  • November 2, 2017
  • 1 reply
  • 913 views

Hi there

Apologies if this question has already been answered elsewhere but I have looked and found no answer. I am new to Captivate and have had to pick it up in the last two weeks.

I have three training courses published on our internal server, all of which are set up to report results to the internal server, however only one of them is producing xml files in the CaptivateResults folder.

I'm struggling to understand what I've done wrong as all of the courses are set up exactly the same and point to the same internalServerReporting.php file, but only one of them is reporting results accurately.

For info, I'm using Adobe Captivate 9. When I try and run the script from the web browser, I get the following errors, which seems bizarre as one of the courses is reporting fine and they all point to the same php file in the same location:

! ) Warning: mkdir(): File exists in C:\wamp\www\internalServerReporting.php on line 35
Call Stack
#TimeMemoryFunctionLocation
10.0004136480{main}( )..\internalServerReporting.php:0
20.0004136640mkdir ( )..\internalServerReporting.php:35

 

 

( ! ) Notice: Undefined variable: CompanyName in C:\wamp\www\internalServerReporting.php on line 36
Call Stack
#TimeMemoryFunctionLocation
10.0004136480{main}( )..\internalServerReporting.php:0

 

 

( ! ) Warning: mkdir(): File exists in C:\wamp\www\internalServerReporting.php on line 37
Call Stack
#TimeMemoryFunctionLocation
10.0004136480{main}( )..\internalServerReporting.php:0
20.0020137232mkdir ( )..\internalServerReporting.php:37

 

 

( ! ) Notice: Undefined variable: DepartmentName in C:\wamp\www\internalServerReporting.php on line 38
Call Stack
#TimeMemoryFunctionLocation
10.0004136480{main}( )..\internalServerReporting.php:0

 

 

( ! ) Warning: mkdir(): File exists in C:\wamp\www\internalServerReporting.php on line 39
Call Stack
#TimeMemoryFunctionLocation
10.0004136480{main}( )..\internalServerReporting.php:0
20.0031137456mkdir ( )..\internalServerReporting.php:39

 

 

( ! ) Notice: Undefined variable: CourseName in C:\wamp\www\internalServerReporting.php on line 40
Call Stack
#TimeMemoryFunctionLocation
10.0004136480{main}( )..\internalServerReporting.php:0

 

 

( ! ) Warning: mkdir(): File exists in C:\wamp\www\internalServerReporting.php on line 41
Call Stack
#TimeMemoryFunctionLocation
10.0004136480{main}( )..\internalServerReporting.php:0
20.0042137584mkdir ( )..\internalServerReporting.php:41

 

 

( ! ) Notice: Undefined variable: Filename in C:\wamp\www\internalServerReporting.php on line 42
Call Stack
#TimeMemoryFunctionLocation
10.0004136480{main}( )..\internalServerReporting.php:0

 

 

( ! ) Warning: fopen(./CaptivateResults////////): failed to open stream: No such file or directory in C:\wamp\www\internalServerReporting.php on line 43
Call Stack
#TimeMemoryFunctionLocation
10.0004136480{main}( )..\internalServerReporting.php:0
20.0053137760fopen ( )..\internalServerReporting.php:43

 

 

( ! ) Notice: Undefined variable: Filedata in C:\wamp\www\internalServerReporting.php on line 44
Call Stack
#TimeMemoryFunctionLocation
10.0004136480{main}( )..\internalServerReporting.php:0

 

 

( ! ) Warning: fwrite() expects parameter 1 to be resource, boolean given in C:\wamp\www\internalServerReporting.php on line 44
Call Stack
#TimeMemoryFunctionLocation
10.0004136480{main}( )..\internalServerReporting.php:0
20.0066137840fwrite ( )..\internalServerReporting.php:44

 

 

( ! ) Warning: fclose() expects parameter 1 to be resource, boolean given in C:\wamp\www\internalServerReporting.php on line 45
Call Stack
#TimeMemoryFunctionLocation
10.0004136480{main}( )..\internalServerReporting.php:0
20.0074137840fclose ( )..\internalServerReporting.php:45

 

First time ever posting on here, so if I've posted in the wrong place, apologies.

Any help would be much appreciated

Thanks

This topic has been closed for replies.
Correct answer bronwynh7080238

I would use your browser's developer tools to see if the course is actually sending the info to the PHP file so you can figure out if it's the course, or the PHP file.  Sounds like it's the course.  Strange that one of the courses is working and producing the xml files.  The best way to troubleshoot is to open the developer tools in Google Chrome and go to the "Networking" tab to see the traffic from the course.


Hi Jim, thank you for your help.

After trawling the web high and low, I've figured out that the reason why they weren't reporting is because they had '&' symbols in the file names. The course that was working didn't. I've just removed the '&' signs and all seems to be reporting now. I really didn't think that would make a difference but apparently it does.

Thank you for your help all the same.

1 reply

Legend
November 2, 2017

So when you test your courses in your browser, are you seeing a web address that begins with http or https?  If not, that's probably the issue.  You may be running your project from the local disc vs. running it from your WAMP server.

bronwynh7080238
Participant
November 9, 2017

Hi Jim


Thanks for the reply, I've double checked and the web address begins with http. The test that is reporting correctly also begins with http.

Legend
November 9, 2017

I would use your browser's developer tools to see if the course is actually sending the info to the PHP file so you can figure out if it's the course, or the PHP file.  Sounds like it's the course.  Strange that one of the courses is working and producing the xml files.  The best way to troubleshoot is to open the developer tools in Google Chrome and go to the "Networking" tab to see the traffic from the course.