2.1.5 Error

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
RussCraig
Profound User
Posts: 62
Joined: Wed May 05, 2010 10:13 am
First Name: Russell
Last Name: Craig
Company Name: Applied Business Services
Phone: 252-482-7666
Address 1: 617 Soundside Rd
City: Edenton
State / Province: North Carolina
Zip / Postal Code: 27932
Country: United States
Location: Edenton, NC
Contact:

2.1.5 Error

Post by RussCraig »

Hi All,

I've recently upgraded to 2.1.5, and opted to use the manual updates to the httpd.conf file as we use SSL. Since upgrading and changing the file, I now get the following message at the top of my browser:

Code: Select all

[an error occurred while processing this directive]
The SSL security warning with Internet Explorer seems to have been fixed, but I am now receiving this message at the top of every browser window. Also, I still cannot Export to Excel using IE, I receive the same error as before:

Code: Select all

Unable to download PUI0009106.pgm from xxxxxx.xxxxxx.com.

Unable to open this Internet site. The requested site is either unavailable or cannot be found.
Please try again later.
Again, the export works fine with Firefox.

I've recompiled my screens and programs, restarted the PUI server instance, running without "workstnid" and "suffixid", all of which result in no change.

Thanks in advance,
-RC
There are 10 types of people in this world: Those who understand binary and those who don't.
RussCraig
Profound User
Posts: 62
Joined: Wed May 05, 2010 10:13 am
First Name: Russell
Last Name: Craig
Company Name: Applied Business Services
Phone: 252-482-7666
Address 1: 617 Soundside Rd
City: Edenton
State / Province: North Carolina
Zip / Postal Code: 27932
Country: United States
Location: Edenton, NC
Contact:

Re: 2.1.5 Error

Post by RussCraig »

Also, are we missing step 4 in the manual instructions?

Thanks,
-RC
There are 10 types of people in this world: Those who understand binary and those who don't.
Bryan641
Profound User
Posts: 72
Joined: Fri Oct 01, 2010 5:07 pm
First Name: Bryan
Last Name: Leaman
Company Name: InVue Security
Phone: 704-752-6513 x221
Address 1: 15015 Lancaster Hwy
City: Charlotte
State / Province: North Carolina
Zip / Postal Code: 28277
Contact:

Re: 2.1.5 Error

Post by Bryan641 »

Are you sure you added the directory section to your httpd.conf file properly? Are you using the default location (show below and in the manual instructions)?

Code: Select all

<Directory /www/profoundui/htdocs/profoundui/userdata/html/>
SetOutputFilter Includes
order allow,deny
allow from all
</Directory>
--Bryan
RussCraig
Profound User
Posts: 62
Joined: Wed May 05, 2010 10:13 am
First Name: Russell
Last Name: Craig
Company Name: Applied Business Services
Phone: 252-482-7666
Address 1: 617 Soundside Rd
City: Edenton
State / Province: North Carolina
Zip / Postal Code: 27932
Country: United States
Location: Edenton, NC
Contact:

Re: 2.1.5 Error

Post by RussCraig »

I will post my httpd.conf file with private data redacted:

Code: Select all

LoadModule ibm_ssl_module /QSYS.LIB/QHTTPSVR.LIB/QZSRVSSL.SRVPGM
LogMaint logs/error_log 7 0

DefaultNetCCSID 1208

Listen 443

AddType application/genie .scn
AddType application/genie .lst
ExpiresByType application/genie A2592000

MaxCGIJobs 1000
MaxPersistentCGI 1000
PersistentCGITimeout 600
Timeout 600

Options +ExecCGI +Includes -Indexes

DocumentRoot /www/profoundui/htdocs/
NameVirtualHost xxx.xxx.xxx.xxx:443
ServerName xxx.xxxxxxx.com:443
AccessFileName .htaccess
TraceEnable On

Alias /profoundui/start.html /www/profoundui/htdocs/profoundui/userdata/html/start.html
Alias /client /www/profoundui/htdocs/profoundui/userdata/html/start.html
ScriptAliasMatch ^/PUI000(11.{2}|1200|2.{2}|3.{3}|4.{3}|91.{2})(.*) /QSYS.LIB/PROFOUNDUI.LIB/PUI000$1$2
ScriptAlias /profoundui/designer /QSYS.LIB/PROFOUNDUI.LIB/PUI0001100.PGM
ScriptAlias /profoundui/genieadmin /QSYS.LIB/PROFOUNDUI.LIB/PUI0002200.PGM
ScriptAlias /profoundui/genie /QSYS.LIB/PROFOUNDUI.LIB/PUI0002100.PGM
ScriptAlias /profoundui/atrium /QSYS.LIB/PROFOUNDUI.LIB/PUI0003000.PGM
ScriptAlias /rpgsp /QSYS.LIB/RPGSP.LIB/
ScriptAlias /profoundui/welcome /QSYS.LIB/PROFOUNDUI.LIB/PUI0004000.PGM
ScriptAlias /profoundui/key /QSYS.LIB/PROFOUNDUI.LIB/PUI0004100.PGM
ScriptAlias /profoundui/custom /QSYS.LIB/PROFOUNDUI.LIB/PUI0005000.PGM
<Directory /www/profoundui/htdocs/profoundui/userdata/html/>
SetOutputFilter Includes
order allow,deny
allow from all
</Directory> 

SSLEngine On
SSLAppName QIBM_HTTP_SERVER_PROFOUNDUI
SSLCacheEnable
RewriteEngine On
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*)? https://%{HTTP_HOST}/$1 [NC,R,L]
DirectoryIndex index.html
<Directory /QSYS.LIB/PROFOUNDUI.LIB/>
    SetHandler cgi-script
    Options +ExecCGI +Includes
    SetOutputFilter Includes
</Directory>

# The following sections control how authentication is handled in Profound UI.

# Use this section to allow for either anonymous sessions, or system sign on using Profound UI sign on program. 

<DirectoryMatch "^/QSYS\.LIB/PROFOUNDUI\.LIB/PUI000(11.{2}|22.{2}|4.{3})\.PGM">
    Require valid-user
    AuthType Basic
    AuthName "Profound UI"
    PasswdFile %%SYSTEM%%
    UserID %%CLIENT%%
</DirectoryMatch>
<VirtualHost xxx.xxx.xxx.xxx:443>
   ServerName xxx.xxxxxx.com
   DocumentRoot /www/profoundui/htdocs
</VirtualHost>

# Use this section to use HTTP Basic authentiction through the HTTP server.

#<DirectoryMatch "^/QSYS\.LIB/PROFOUNDUI\.LIB/PUI000(11.{2}|1200|22.{2}|4.{3})\.PGM">
#    Require valid-user
#    AuthType Basic
#    AuthName "Profound UI"
#    PasswdFile %%SYSTEM%%
#    UserID %%CLIENT%%
#</DirectoryMatch>

# Use this section to use Kerberos authentication through the HTTP server.

#<DirectoryMatch "^/QSYS\.LIB/PROFOUNDUI\.LIB/PUI000(11.{2}|1200|22.{2}|4.{3})\.PGM">
#    Require valid-user
#    AuthType KERBEROS
#    PasswdFile %%KERBEROS%%
#    UserID %%CLIENT%%
#</DirectoryMatch>
There are 10 types of people in this world: Those who understand binary and those who don't.
User avatar
Rob
Profound Logic Staff Member
Posts: 135
Joined: Fri Jan 04, 2008 12:12 pm
First Name: Rob
Last Name: Ferguson
Company Name: Profound Logic Software
Contact:

Re: 2.1.5 Error

Post by Rob »

Are you getting the message [an error occurred while processing this directive] when you are using the visual designer, or when you run an application?
RussCraig
Profound User
Posts: 62
Joined: Wed May 05, 2010 10:13 am
First Name: Russell
Last Name: Craig
Company Name: Applied Business Services
Phone: 252-482-7666
Address 1: 617 Soundside Rd
City: Edenton
State / Province: North Carolina
Zip / Postal Code: 27932
Country: United States
Location: Edenton, NC
Contact:

Re: 2.1.5 Error

Post by RussCraig »

Only when I run an application.
There are 10 types of people in this world: Those who understand binary and those who don't.
User avatar
Rob
Profound Logic Staff Member
Posts: 135
Joined: Fri Jan 04, 2008 12:12 pm
First Name: Rob
Last Name: Ferguson
Company Name: Profound Logic Software
Contact:

Re: 2.1.5 Error

Post by Rob »

We have added a Server Side Include into start.html as part of the custom widget feature in this release. The http configuration changes were to allow Server Side Includes.

There were some SSI issues in early releases of V5R4 for which PTFs have been issued. Can you check to see if you are up to date on all PTF releases for the web server.

You can temporarily remove the line that starts with <!--#include from your start.html This will remove the message but will of course not solve the problem
Bryan641
Profound User
Posts: 72
Joined: Fri Oct 01, 2010 5:07 pm
First Name: Bryan
Last Name: Leaman
Company Name: InVue Security
Phone: 704-752-6513 x221
Address 1: 15015 Lancaster Hwy
City: Charlotte
State / Province: North Carolina
Zip / Postal Code: 28277
Contact:

Re: 2.1.5 Error

Post by Bryan641 »

I'm getting the same error at 2.1.6 and I'm on i5OS 6.1.

Here are some additional details:

When I use "/profoundui/start?pgm=" my custom widget works, but I get the error:
Image

When I use "/profoundui/start.html?pgm=" my custom widget doesn't work and I don't get the error, even though the SSI statement is in my start.html:
Image

Relevant portions of my httpd.conf:

Code: Select all

DocumentRoot /www/profoundev/htdocs/

Alias /profoundui/start.html /www/profoundev/htdocs/profoundui/userdata/html/start.html

ScriptAliasMatch ^/PUI000(11.{2}|1200|2.{2}|3.{3}|4.{3}|91.{2})(.*) /QSYS.LIB/PROFOUNDEV.LIB/PUI000$1$2
ScriptAlias /profoundui/designer /QSYS.LIB/PROFOUNDEV.LIB/PUI0001100.PGM
ScriptAlias /profoundui/genieadmin /QSYS.LIB/PROFOUNDEV.LIB/PUI0002200.PGM
ScriptAlias /profoundui/genie /QSYS.LIB/PROFOUNDEV.LIB/PUI0002100.PGM
ScriptAlias /profoundui/atrium /QSYS.LIB/PROFOUNDEV.LIB/PUI0003000.PGM
ScriptAlias /rpgsp /QSYS.LIB/RPGSP.LIB/
ScriptAlias /profoundui/welcome /QSYS.LIB/PROFOUNDEV.LIB/PUI0004000.PGM
ScriptAlias /profoundui/start /QSYS.LIB/PROFOUNDEV.LIB/PUI0005001.PGM
ScriptAlias /profoundui/key /QSYS.LIB/PROFOUNDEV.LIB/PUI0004100.PGM
ScriptAlias /profoundui/custom /QSYS.LIB/PROFOUNDEV.LIB/PUI0005000.PGM


<Directory /QSYS.LIB/PROFOUNDEV.LIB/>
    AllowOverride None
    SetHandler cgi-script
    Options +ExecCGI +Includes
    SetOutputFilter Includes
</Directory>

<DirectoryMatch "^/QSYS\.LIB/PROFOUNDEV\.LIB/PUI000(11.{2}|22.{2}|4.{3})\.PGM">
    Require valid-user
    AuthType Basic
    AuthName "Profound UI"
    PasswdFile %%SYSTEM%%
    UserID %%CLIENT%%
</DirectoryMatch>

my start.html, which should be original as supplied with the package:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <link href="/profoundui/proddata/css/profoundui.css" rel="stylesheet" type="text/css">
<!--#include virtual="/profoundui/custom" -->
  <script type="text/javascript" src="/profoundui/proddata/js/runtime.js"></script> 
  <title>Profound UI</title>
  <script type="text/javascript">
    window.onload = function() { pui.start() };
  </script>
</head>

<body>
  <div id="pui">
  </div>
</body>
     
</html>
--Bryan
User avatar
Rob
Profound Logic Staff Member
Posts: 135
Joined: Fri Jan 04, 2008 12:12 pm
First Name: Rob
Last Name: Ferguson
Company Name: Profound Logic Software
Contact:

Re: 2.1.5 Error

Post by Rob »

Unfortunately Server Side Includes proved too unreliable. On some sites they work perfectly and on others not at all, even with identical http configuration files. Because of this, we removed the use of SSI in version 2.1.6. I suggest you download the latest version. There are some instructions to manually to remove the SSI components if you do not install the new http config file.

Note: In version 2.1.6 , the URL start.html is changed to just start The old URL will still work but if you want to use custom widgets you will need to use the new url.

old url:
http://IPAddress:8080/profoundui/start.html

new url:
http://IPAddress:8080/profoundui/start
Bryan641
Profound User
Posts: 72
Joined: Fri Oct 01, 2010 5:07 pm
First Name: Bryan
Last Name: Leaman
Company Name: InVue Security
Phone: 704-752-6513 x221
Address 1: 15015 Lancaster Hwy
City: Charlotte
State / Province: North Carolina
Zip / Postal Code: 28277
Contact:

Re: 2.1.5 Error

Post by Bryan641 »

Oh, thanks. I'm at 2.1.6 but I still had the SSI in the html. I'll remove it.
--Bryan

[edit]Hmm. Now that I think about it, maybe I added it back into start.html from my copy, when I noticed it went missing. Probably my bad there. Thanks again!
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests