How to resolve "500 Internal error: There is a problem with the resource you are looking for, and it cannot be dispalyed" when deleting a scheduled tasks in Spotfire Statistica Server (WebStatistica)

How to resolve "500 Internal error: There is a problem with the resource you are looking for, and it cannot be dispalyed" when deleting a scheduled tasks in Spotfire Statistica Server (WebStatistica)

book

Article ID: KB0070138

calendar_today

Updated On:

Products Versions
Spotfire Statistica 14.0.x

Description

When creating/editing/deleting existing Statistica Server scheduled tasks from either Tools>>"My Scheduled Tasks" or from "For Administrators">>"Scheduled Tasks", either one or both of the following errors appear:

1.  When using a  remote or client browser:


500 Error from client browser


2.  When using a browser on the Statistica Server:

PHP error



Known causes

  • PHP.ini file contains an incorrect path to the WebStatistca TEMP file ( location of TEMP file:  <drive>:\WebStatisticaPub\wwwroot\PHP\TEMP)
  • Permissions for the TEMP users do not have write access.  

Environment

OS: Windows

Resolution

INCORRECT PATH

If the php.ini file, the php configuration file, has the incorrect path which does not match the actually installed location, then modify the php.ini file.   For example, Statistica Server has been installed with the TEMP folder at this location E:\WebStatisticaPub\wwwroot\PHP\TEMP but the path in the file shows  C:\WebStatisticaPub\wwwroot\PHP\TEMP or:

 
 ; Temporary directory for HTTP uploaded files (will use system default if not ; specified). ; https://php.net/upload-tmp-dir upload_tmp_dir = C:\WebStatisticaPub\wwwroot\PHP\TEMP

The resolution is to replace the incorrect path with the correct path and save the file: 
 
 ; Temporary directory for HTTP uploaded files (will use system default if not ; specified). ; https://php.net/upload-tmp-dir upload_tmp_dir = E:\WebStatisticaPub\wwwroot\PHP\TEMP

PERMISSIONS ISSUE

To resolve, add the SWS_ADMIN and SWS_USER groups, created when Statistica Server was installed, to the TEMP via the Security tab (right-click>>select Security).  

1.  Add the groups:

php TEMP folder permissions

2.  Add the Read and Write permissions for each group:

Read and Write permissions
 

Issue/Introduction

This article discusses a specific error when creating/editing/deleting Statistica Server scheduled tasks.