Focal Point
[SOLVED] Problem with JavaScript alias './ibi_html/' after upgrade

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/4547022086

January 11, 2016, 10:53 AM
Pondog
[SOLVED] Problem with JavaScript alias './ibi_html/' after upgrade
We recently upgraded from 8.0.0.9 to 8.1.0.5. It wasn't an easy upgrade and at one point we had to go back and do it again. I've installed the upgraded App and Dev Studios on my desktop; have un-installed them and re-installed them, and I'm having a problem opening an HTML page. I have three HTML pages in one folder that are causing a problem. They were all created in App Studio. All three of the pages I can open in App Studio, however, when I run them I get the "JavaScript alias './ibi_html/' is not valid." error. However, two of the pages I can run if I right click on the file in the folder and select "Run". Unfortunately when I try to run the third report it results in the same error message. I can run the individual fexes that make up the third report, however, I can't run the html page.

Is there some some setting that may have been overlooked in the upgrade process? We've poured through the mountains/plethora/reams of documentation regarding upgrades and have come up empty. Has anyone else had this type of experience after an upgrade? I've scoured the forum and have seen several instances regarding this type of error but they don't quite fit this type of scenario.

Any advice would be welcome.

Thanks!

This message has been edited. Last edited by: Pondog,


WebFOCUS 8.1.05
Windows, All Outputs
January 11, 2016, 02:51 PM
Waz
In V8, the alias to ibi_html is now /ibi_apps/ibi_html


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

January 12, 2016, 09:54 AM
Pondog
Hey Waz,

Thanks for the info. Forgive my newbie-ness, but, how do I go about implementing /ibi_apps/ibi_html ?


WebFOCUS 8.1.05
Windows, All Outputs
January 12, 2016, 11:41 AM
Ricardo Augusto
It is supposed to be an alias configured on your webserver.

Which webserver are you using?

For Tomcat Catalina its located on \ibi\tomcat\conf\Catalina\localhost

Files looks like this:
ibi_html.xml
 <?xml version='1.0' encoding='utf-8'?>
<Context docBase="C:\ibi\AppStudio81\webapps\ibi_html" path="/ibi_html">
</Context>


ibi_apps.xml
<?xml version='1.0' encoding='utf-8'?>
<Context docBase="C:\ibi\AppStudio81\webapps\webfocus" path="/ibi_apps" useHttpOnly="true">
</Context>


approot.xml
 
<?xml version='1.0' encoding='utf-8'?>
<Context docBase="C:\ibi\apps" path="/approot">
</Context>
 




I hope it helps.


WebFOCUS 8.1.05 / APP Studio
January 12, 2016, 02:47 PM
Pondog
Ricardo,

We went through and checked the files and everything was in place as you described. I ended up opening a case with IB. Here is their solution:



quote:
We can easily correct this issue by doing the following:

1. From the WebFOCUS Client open the Administration Console
2. Navigate to Configuration > Application Settings > Filters
3. Change the value of IBI_GZIP.enabled to TRUE
4. Save changes

You should no longer encounter the ./ibi_html/ is not valid error.


It worked; this case is closed.


WebFOCUS 8.1.05
Windows, All Outputs
January 12, 2016, 03:57 PM
Waz
You know, I missed that you said its was './ibi_html/'

the setting must turn on absolute addressing or something.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

February 05, 2018, 12:35 PM
thinkWF
Hi,

I am using 8201M. I don't find IBI_GZIP in the filter settings. Can you help me where to find athat.

Thanks.

quote:
Originally posted by Pondog:
Ricardo,

We went through and checked the files and everything was in place as you described. I ended up opening a case with IB. Here is their solution:



quote:
We can easily correct this issue by doing the following:

1. From the WebFOCUS Client open the Administration Console
2. Navigate to Configuration > Application Settings > Filters
3. Change the value of IBI_GZIP.enabled to TRUE
4. Save changes

You should no longer encounter the ./ibi_html/ is not valid error.


It worked; this case is closed.



WebFOCUS 8206.08
Windows 10
Excel, HTML, PDF, AHTML
February 05, 2018, 01:33 PM
FP Mod Chuck
ThinkWF

That setting does not exist in 8.2 anymore. If you are experiencing the same issue I suggest you open a case with techsupport.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
February 05, 2018, 06:57 PM
thinkWF
Thank you Chuck


WebFOCUS 8206.08
Windows 10
Excel, HTML, PDF, AHTML
August 16, 2018, 04:32 PM
prad9293
I am also facing the same issue on 8.2.03
Was there a ticket raised for this issue ?


WEBFOCUS 82
Windows X64
HTML,PDF,EXCEL