Some pages don't render when WEBFILES=True & CheckURLFile=[on]

For general issues related to PWB v2.

Moderators: Tyler, Scott, PWB v2 Moderator

Post Reply
infomaven
Observer
Observer
Posts: 5
Joined: Tue Jan 15, 2008 5:50 pm

Some pages don't render when WEBFILES=True & CheckURLFile=[on]

Post by infomaven »

Dear PWB folks,

We have a weird error showing up in the past few months which we are trying to fix in the short term.
In short, some mobile-friendly web pages have their spacing and CSS messed up when WEBFILES > EnableWebFiles=True is used with the URL.txt. If we switch back to locally-hosted URL.txt (turning off WEBFILES), it works. Very puzzling and hard to track.

It's possible that the only fix would be migrating to PWB v3 (Chrome or IE), but that's a long term fix and not an option this year. We are stuck with Win7/IE11 for now. Checking this forum, we saw this post, but that didn't really get to this weird issue of why WEBFILES would trigger the error. (viewtopic.php?f=1&t=3078&p=7573&hilit=enteprise#p7570)

So, if you have any pointers of why this INI and URL.txt are triggering layout issues when hosted externally in this setup, please reply.

Thanks for your eyes on this! -- Liz / library in Portland, OR
--------------------------------------------------------------------------
Here the deal:
Current installation: Windows 7 / IE 11 / PWB 2.1.1.7 ( also tested using 2.1.1.9)

2 Websites critical to our library are having formatting issues only when we use a URL.txt that is hosted externally.
Settings include:

Code: Select all

[FILES] > CheckURLFile= URL.txt {local copy filename}
[WEBFILES] > EnableWebFiles=True  
                     CheckURLFile="https://cedarmill.org/internal/URL_new_9_25_18.txt" 
With this URL.txt (hosted externally) and PWB.ini (hosted locally), these two pages (and similar pages on these two sites) do not render correctly.

-- https://wccls.org/research/subject (all buttons inside the "box" lose their color, and are centered on the page)
-- https://librarycedarmill.beanstack.com/reader365 (spacing of buttons and columns are ruined, making the page unreadable)

We have experimented with changing some settings in the PWB.ini regarding WindowWidth with no success. The only thing that seems to work with filtering and layout is to turn off WEBFILES functionality. Frustrating! If forced to use locally-hosted URL.txt, updating code much harder and time consuming.

PWB.ini text included below (could not attach as document)
------------------------------------------------------------------------------------------------------------------------------------------------

Code: Select all

[AutoRegister]
RegisterKey=
RegisterPassword=
RegisterDaysLeft=30
RegisterSeconds=15
RegisterShowWindow=False
UseWindowsRegistry=False
RegisterDelayClose=False

[Browser]
RegisteredTo=xxxxxxxxxxx
RegistrationNumber=xxxxxxxxxxxxx
IniFileVersion=2.11
Title=
KioskMode=False
DesktopMode=False
HomePage="https://library.cedarmill.org/opac_cml/"
CommandLineHomePage=False
SearchPage=
WebMailPage=
AddressBarText=Address:
DefaultFontSize=2
DefaultSendLink=True
StartMaximized=False
AlwaysOnTop=False
WindowHeight=
WindowWidth=
WindowTop=0
WindowLeft=0
ShowMenuBar=True
ShowToolBar=True
ShowShellBar=False
ShowAddressBar=True
ShowAnimation=False
ShowStatusBar=True
ShowTitleBar=True
ShowBackButtonMenu=True
ShowInactivityTimer=True
ShowActivityTimer=False
ShowStatusBarTime=False
ShowURLInBrowserCaption=True
DisableMinimizeButton=True
DisableMaximizeButton=True
DisableCloseButton=False
DisableMoveWindow=True
DisableResizeWindow=False
DisableNewWindow=False
DisableINIVersionCheck=False
DisableExit=False
ConfirmClose=False
UseIEFavorites=False
ShowGoButton=False
GoButtonText=Go
AlwaysOnBottom=False
DisableIESubClass=False
ShowWindowRelation=False
MainWindowIndicator=(Main)
ShowKioskBar=False
F1HelpPageURL=
ShowSplashScreen=False
DisableAutoComplete=True
ShellExecuteScripts=False
OpenLinksInNewWindow=False
DisableCtrlEnter=True
SaveWindowPosition=False
MinimizeMemoryUsage=False
StartTimersOnMouseKeyboard=True
AddStationToUserAgent=False
EnableAdvancedClose=False
UpdateWindowOnTime=False
RedrawWindowSeconds=
ConfigRegLocation=
DisableScrollBars=False
MapContextPrintToButton=False
PreventHTMLClosingMainWindow=False
AddressBarReadOnly=True
ShowAddressInBrowserCaption=False
MaximizeOnNonsizeable=False
SecureMode=False
HideCursor=False
ExitPage=
ShowSearchBar=False
SearchBarText=
SearchBarPage=
StatusBarTimeFormat=
StatusBarTimeWidth=
DefaultZoomLevel=

[SecondWindow]
AlwaysOnTop=False
LimitCount=
DisableMinimizeButton=False
DisableMaximizeButton=False
DisableMoveWindow=False
DisableResizeWindow=False
DisableTitleBar=False
WindowHeight= 
WindowWidth=
WindowTop=74
WindowLeft=0
NewPageAsHome=False
OpenInParentWindow=False
DisableUnrequested=False
StartOnDesktopMode=False
OpenDesktopModeLink=True
ShowTimers=False
ShellBarURLNewWindow=False
DisableCloseButton=False
ShowShellBar=False
StartMaximized=False
SecondWindowIndicator=(Secondary)
ShowAddressBar=True
ShowGoButton=False
ShowKioskBar=False
ShowToolBar=True
ShowMenuBar=True
ShowStatusBar=True
DisableShiftClick=False
OpenInFrame=
ForceToFront=True
ShowSearchBar=False

[ToolBars]
MenuBarGripper=False
ToolBarBreak=True
ToolBarGripper=False
ToolBarChevron=True
ShellBarBreak=False
ShellBarGripper=False
ShellBarChevron=True
AddressBarBreak=True
AddressBarGripper=False
MenuBarWidth=1024
ToolBarWidth=1024
ShellBarWidth=1024
AddressBarWidth=
GoButtonGripper=True
GoButtonBreak=False
AlignBottom=False
KioskBarScrollBy=40
AutoSizeButtons=False
ButtonTextRight=False
ToolBarIconHeight=
ToolBarIconWidth=
ShellButtonIconWidth=32
ShellButtonIconHeight=32
KioskToolBarIconHeight=
KioskToolBarIconWidth=
KioskBarButtonColor=
KioskBarBackGroundColor=
SearchBarWidth=
SearchBarBreak=False
SearchBarGripper=True

[Printer]
ShowPrintButtonDialog=False
ForcePrintPreview=False
UseLimitPrintJobs=False
LimitPrintJobs=0
PrintJobLimitTitle=Print Limit
PrintJobLimitMessageFile=PrintLimit.txt
ShowPrintingDialog=True
PrintingTitle=Pay for Printing at Ref Desk
PrintingMessageFile="https://cedarmill.org/internal/print_info.htm"
CheckPrintAccess=False
PrintDialogShowCancel=True
ShowPrintMenuDialog=True
PrintTemplateFile=
ShowPrintIDDialog=False
PrintIDDialogTitle=Print Identification
PrintIDDialogHeight=
PrintIDDialogWidth=
PrintIDDialogFile=printID.htm
AddSystemMenuPrint=False

[Dialogs]
DialogSeconds=15
PolicyTitle=Policy
AccessTitle=Access: Not Permitted
ConfirmCloseDefaultNo=True
ConfirmCloseTitle=Confirm Close
PolicyHeight=
PolicyWidth=
ConfirmCloseSoundFile=
AccessDeniedSoundFile=
AlwaysOnTop=True
SecondInstanceTitle=Second Instance
IncorrectPasswordMessage=Incorrect password entered?!
AccessURLRedirect=
PolicyShowDecline=True
PolicyShowClock=True
MessageHeight=216
MessageWidth=760
OkButtonText=Ok
CancelButtonText=Cancel
DeclineButtonText=Decline
AcceptButtonText=Accept
YesButtonText=Yes
NoButtonText=No
ShowPopupMessage=False
PopupOnMessageTitle=Pop-ups are on
PopupOffMessageTitle=Pop-ups are off
UseHtmlDialogs=True
MessageTop=
MessageLeft=
DisableCloseButton=False

[Files]
WorkingAnimation=
PolicyFile=Policy.txt
HistoryFile=C:\Program Files (x86)\TeamSoftware Solutions\Public Web Browser v2\History.txt
CheckURLFile=URL.txt
CheckIPFile=IP.txt
PopupAdFile=Popup.txt
AccessMessageFile="https://cedarmill.org/internal/Access.htm"
ConfirmCloseMessageFile=
SaveAsErrorMessageFile=
FavoritesFolder=Favorites
ShellBarFolder=ShellBar
StartupScript=
ShutdownScript=
PolicyDeclineScript=
DesktopFile=
SendToAppLink=
SendToAppFile=
CheckPrintFile=
PopupOnButtonFile=
PopupOffButtonFile=
PasswordFile=
NewWindowProcessINI=
InactivityScript=
CheckPostDataFile=
CheckACFile=
ActivityScript=
TimeCheckScriptDay=
TimeCheckScriptNight=
ToolBarIconFolder=
ExecuteOnDenyAccess=

[WebFiles]
EnableWebFiles=True	
CheckURLFile="https://cedarmill.org/internal/URL_new_9_25_18.txt"
CheckIPFile=
CheckPrintFile=
PopupAdFile=

[Directories]
SaveAsDirectory=
SaveAsErrorTitle=Removable Media required
DownloadDirectory=

[RestrictedSave]
EnableRestrictedSave=False
RestrictedSaveApp=

[Security]
StationEnvironmentVariable=COMPUTERNAME
UseUniqueHistoryFiles=False
WriteHistoryFile=True
TrackURL=True
CheckURLAccess=True
CheckIPAccess=True
ClosePopupAds=False
ShowAccessDialog=True
LogAccess=False
ClearCacheOnHome=True
ClearCacheOnClose=True
DisableAddressDropDown=True
DisableContextMenu=False
UseCustomContextMenu=True
ShowPolicyDialog=False
OnlyAccessHTTP=True
DisableSecondInstance=True
RestartOnClose=False
ShowPasswordDialog=False
PasswordTitle=Public Web Browser
Password=password
CheckInitialURL=True
DisableFileDownload=False
AllowSingleLinkLevel=False
AllowBrowseOnDeny=False
LogoffOnExit=False
ShowFilterStatus=False
FilterOnText=<Filter On>
FilterOffText=<Filter Off>
ShowProxyStatus=False
ProxyOnText=<Proxy On>
ProxyOffText=<Proxy Off>
ShowDenyDialogOncePerSession=False
OnlyAccessInternet=True
DebugAccessString=False
AllowLinkLevelDepth=0
CheckPostDataAccess=False
DisableFileUploads=False
TrackLogon=False
CacheFilterFiles=False
CheckACAccess=False
SecondInstanceNavigateCurrent=False
RebootOnExit=False
PreventFileDownload=False
EnableFileDownload=True
EnableAlternateOverrideKeys=False
LogDeniedAccess=False
EnableFilterOrLogic=False
LocalMachineLockdown=False
EnableSecurityBand=False

[Overrides]
ExitBrowser=
Logoff=
Shutdown=
ResetActvityTime=
ResetPrintLimit=
RestrictedSave=
ReReadINIFile=
OpenSysedit=
OpenRegedit=
OpenExplorer=
DisableProxy=
DisableFilters=
ShowAddressBar=
OverrideURLKeyword=

[HTMLError]
EnableRedirect=False
DebugErrorNumber=False

[Java]
EnableExternalJava=False
JavaExit=
JavaActivity=
JavaRegister=
JavaHideToolbar=
JavaExecute=
JavaReadINIFile=
JavaPrint=
JavaHideAddressBar=
JavaOverrides=
JavaStartApp=
JavaSetActivity=
JavaGetActivity=

[ScreenSaver]
EnableScreenSaver=False
ScreenSaverSeconds=1200
EnablePolicyScreenSaver=False
PolicyScreenSaverSeconds=10
DisableScreenSaverOnPolicyClose=False
DisableScreenSaverOnClose=False
WindowsScreenSaverExe=
WindowsScreenSaverMinutes=0

[Inactivity]
InactivityTimer=True
InactivitySeconds=60
InactivityMessageTitle=Alert!
InactivityMessageFile="https://cedarmill.org/internal/Inactivity.htm"
InactivityAction=Exit
InactivitySoundFile=
InactivityStartOnOpen=False
InactivityShowDialog=True
ResetOnMouseMove=True
ResetOnMouseButton=True
ResetOnKeyboard=True

[Activity]
ActivityTimer=False
ActivitySeconds=1200
ActivityMessageTitle=Warning
ActivityMessageFile=Activity.txt
ActivityWarnAt=120
ActivityWarnTitle=Warning
ActivityWarnMessageFile=ActivityWarn.txt
ActivityAction=Exit
ActivitySoundFile=
ActivityStartOnOpen=False
ActivityShowInTitleBar=True
ActivitySecondWarnAt=5
ActivitySecondWarnMessageFile=ActivityWarn.txt
DisableDialogTimer=False

[TimeCheck]
EnableTimeCheck=False
TimeToActionDay=10:14:00
TimeToActionNight=
TimeToWarnSeconds=300
MessageTitleDay=Day Action
MessageFileDay=Access.txt
MessageTitleNight=
MessageFileDNight=
MessageTitleWarnDay=Day Warning
MessageFileWarnDay=Access.txt
MessageTitleWarnNight=
MessageFileWarnNight=
ActionDay=Exit
ActionNight=

[Proxy]
UseCustom=False
ProxyEnable=
ProxyServer=
ProxyOverride=
AutoConfigURL=

[PageSetup]
UseCustom=False
Footer=&u&b&d
Header=&w&bPage &p of &P
MarginBottom=0.75000
MarginLeft=0.75000
MarginRight=0.75000
MarginTop=0.75000
Duplex=1
Orientation=1

[Buttons]
Back=True
Forward=True
Separator1=False
Stop=True
Refresh=True
Home=True
Separator2=True
Search=False
Favorites=False
Print=False
PrintPreview=False
Separator3=True
Send=False
WebMail=False
Separator4=False
About=False
Policy=False
Separator5=False
New=False
Save=False
Separator6=False
Cut=False
Copy=False
Paste=False
Find=False
TextSize=True
Encoding=False
Popup=False
Shell=False
Zoom=False

[KioskButtons]
Back=True
Separator1=True
Forward=True
Separator2=True
Stop=True
Separator3=True
Refresh=True
Separator4=True
Home=True
Separator5=True
Print=True
Separator6=True
ScrollUp=True
Separator7=True
ScrollDown=True
Separator8=True
Close=True

[MenuItems]
FileMenu=True
FileNew=True
FileOpen=False
FileSaveAs=True
FileSeparator1=False
FilePageSetup=False
FilePrintPreview=False
FilePrint=False
FileSeparator2=False
FileSend=False
FileSendFile=False
FileSendLink=False
FileSeparator3=False
FileProperties=False
FileExit=True
EditMenu=True
EditCut=True
EditCopy=True
EditPaste=True
EditSeparator1=True
EditSelectAll=True
EditSeparator2=True
EditFind=True
ViewMenu=True
ViewSeparator1=False
ViewGoto=True
ViewGotoBack=True
ViewGotoForward=True
ViewGotoHome=True
ViewGotoSearch=False
ViewStop=True
ViewRefresh=True
ViewTextSize=True
ViewTextSizeLargest=True
ViewTextSizeLarge=True
ViewTextSizeMedium=True
ViewTextSizeSmall=True
ViewTextSizeSmallest=True
ViewZoom=False
ViewZoomIncrease=False
ViewZoomDecrease=False
ViewZoomLarge=False
ViewZoomNormal=False
ViewZoomSmall=False
ViewZoomCustom=False
ViewSeparator2=False
ViewSource=False
ShellMenu=False
FavoritesMenu=False
FavoritesAdd=True
FavoritesOrganize=True
FavoritesSeparator=True
HelpMenu=False
HelpPolicy=True
HelpAbout=True

[ContextMenu]
MenuBack=True
Forward=True
Separator0=True
OpenLink=True
OpenLinkNew=True
SaveTarget=True
PrintTarget=True
Separator1=True
ShowPicture=True
SavePicture=True
SetWallPaper=False
SetDeskTopItem=False
Separator2=True
Cut=True
Copy=True
CopyShortcut=True
Paste=True
Separator3=True
Encoding=False
Separator4=False
Print=True
Refresh=True
Separator5=False
Properties=False

[URLKeys]
EnableURLKeys=False
EnableURLFKeys=False

[Addons]

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Some pages don't render when WEBFILES=True & CheckURLFile=[on]

Post by Scott »

Try moving the PWB v2 folder from the Programs File folder to the root of the C drive, for example C:\PWB. Or at the very least relocate the URL filter file.

In Windows Vista and newer, the Program Files folder is read only. PWB will not be able to download and modify the URL filter file in the Program Files folder.

--Scott

infomaven
Observer
Observer
Posts: 5
Joined: Tue Jan 15, 2008 5:50 pm

Re: Some pages don't render when WEBFILES=True & CheckURLFile=[on]

Post by infomaven »

Hi Scott, thanks for the reply.

To clarify your advice, are you saying that the WEBFILES=True function may work if we relocate the PWB v2 folder on the local drive and/or just move the URL.txt? Thanks again for your assistance. - Liz

As in: Shall we try

Code: Select all

[WEBFILES]
WEBFILES=True & WEBFILES > CheckURLFile="https://webaddress/URL.txt"

And

[FILES] 
CheckURLFile="C:\URL.txt"

Scott
Site Admin
Site Admin
Posts: 2539
Joined: Mon Dec 16, 2002 12:31 pm
Location: Rochester, MN
Contact:

Re: Some pages don't render when WEBFILES=True & CheckURLFile=[on]

Post by Scott »

Either one should work. The issue stems from files in the Program Files folder not being writable.

--Scott

Post Reply