Troubleshooting and Known Issues
Table of Contents:
Troubleshooting and Known Issues
Troubleshooting SuperContainer
I keep getting an "ERROR" when I use the plugin functions
When an ERROR
occurs, definitely make use of SCLastError, a plug-in function which returns detailed information on what the error is referring to -- and often provides great clues on how to resolve the issue.
This function is * invaluable * and can save you from hours (or even days) of headache when trying to develop a FileMaker solution that makes use of plugin functions. By reading through our section on Error Reporting with SuperContainer Companion plug-in, you will find out how to check for errors on each plug-in function that is used.
With that said, more often than not, the ERROR
usually will refer to the base URL not being set yet. See: SCSetBaseURL().
I downloaded the Demo... now what?!
We have several resources available that go into some detail on how to get started with SuperContainer -- most notably our documentation and the SuperContainerExample.fp7
file that comes with the downloaded content. The documentation outlines several steps on how to get started with SuperContainer, deploying an instance of SuperContainer on your machine, uploading files, and general use of the plugin .
In addition to our standard documentation for the plug-in, we also have a Product Support wiki page for SuperContainer that delves a bit deeper into the product, offering solutions and answers to common questions, usage tips, and troubleshooting help. I recommend that as a Go-To source for information and as a first line of defense when questions arise.
The SuperContainer forum on FMForums is also an ideal source of information and contains several threads of valuable information pertaining to the product.
If by chance, you would prefer to kick back and relax and let the makers of SuperContainer help to integrate its storage functionality into your solution, that's a perfectly viable option as well! We offer custom development work and can help integrate SC for you at our hourly rate of $165/hr. If this is something you think you would be interested in, please do not hesitate to contact us.
We are also available for any general support questions you may have about SuperContainer, or any of our plugins, so feel free to send an e-mail or give us a call if things start to get sticky.
Companion Plugin Documentation: https://static.360works.com/plugins/SuperContainer/plugin-documentation.html SC FMForums Page: https://fmforums.com/forum/122-supercontainer-by-360-works/
How do I know how SuperContainer is deployed?
To check if you are running multiple instances of SuperContainer, you can simply open/launch your favorite browser -- whether Safari or Internet Explorer and type the following into the address bar:
http://myServerAddress/SuperContainer/ (if connecting remotely)
http://localhost/SuperContainer (if running from the server machine)
If you type the above in and get a page that displays the version of SuperContainer, this means that you have deployed SuperContainer via the WPE of FMS. If you get a 404 error or File Not Found exception, this means you are not running SC via the WPE. Next, try putting the following into your web browser's address bar:
http://myServerAddress:8020/SuperContainer (if connecting remotely)
http://localhost:8020/SuperContainer (if running from the server machine)
When specifying the "8020" port number, this indicates that you are running SuperContainer in "standalone-mode". If you receive a page that displays the version of SuperContainer, this means that you have deployed SC in standalone-mode (i.e. You have double-clicked the SuperContainerServer.jar file).
Double Scroll Bars on Web Viewer
There have been some instances when double scroll bars have been displayed when viewing an image within a SuperContainer web viewer. If this is the case, it may be that the window size has been exploded/increased and is being viewed at a value greater than 100%. This has been known to force scroll bars to display even with the "style=noscroll" set as a URL parameter. Ensure that the window is being displayed at 100%(max) initially. If the size of the window needs to be edited after the preview is generated to a value greater than 100%, this is possible to do -- if done after the web viewer has loaded.
PC Users are getting a Security Warning when Uploading
If your users are getting an error similar to:
"Warning - Security" "Java has discovered application components that could indicate a security problem." "Name: SuperContainer applet"
In the past, upgrading the Java JRE has fixed this issue. If you are running an older version of Java, try updating to the latest and see if this resolves the issue.
Not able to upload large files, SC deployed with FMS
IIS 7 has a default upload size configured at 30 MB. You can modify this value by doing the following:
- Open IIS Manager
- Select the Default WebSite (if changing this setting for a specific website, select that one instead)
- Double-click on "Request Filtering"
- Select "Rules"
- Click "Edit Feature Settings..."
- In the dialog window that opens you can see the "Maximum Allowed Content Length" field. It is set to 30 million bytes (30 MB) by default.
- Modify this value to the desired max upload file size (you cannot exceed 2,147,483,647) and click OK afterward. You should not need to restart.
You can also modify the max upload file size of IIS by manually adding the following code to the site's web.config file. The maximum value you can enter is 2,147,483,647.
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="2000000000"/>
</requestFiltering>
</security>
</system.webServer>
Note: Ensure you place the code within the <configuration>
brackets (basically paste it in just before the </configuration>
tag), and that the file is properly formatted (indentation = 4 spaces)
Image files are not resizing
In its normal configuration, SuperContainer can generate thumbnail images of JPEGs, PNGs, GIF files, and most TIFF files. It will not generate thumbnails for PDF files, CMYK JPEG or TIFF files, RAW files, or Photoshop files. If you are running the SuperContainer Server on OS X, you can enable OS X Core Image processing to resize more file types. See the 'Enabling OS X Core Image resizing' section above for instructions on doing this.
File looks like it uploaded but is not visible when I revisit the file/record
The files are actually not being uploaded to the SuperContainer server at all! With the advent of the Apple bug and the disabling of the Drag-and-Drop feature, which hinged on the use of Java applets, users have been dragging files/folders to the SuperContainer web viewer (this does not actually upload the file to SuperContainer but instead only stores a temporary reference to the location of that file).
In order for the file to be uploaded to the server, the user would need to click the button labeled "Upload File" after choosing/dragging the file to the Web Viewer.
By default, the web viewer has a "Choose File" button and an "Upload File" button... I would suggest that you ensure that they are first selecting the file with the Choose File button then, clicking the "Upload file" button to actually send the file to the server.
NOTE: It is important to note that we have (fairly recently) released a newer version of SuperContainer (version 2.852), which restores the Drag-and-Drop functionality without using Java applets. By upgrading to the latest version, you should be able to successfully drag and drop files to the Web viewer without need of using the "Choose File" and "Upload File" buttons at all.
Seeing the same document for all records
If you're having a problem with all of your records pointing to the same SuperContainer file, and you see that replacing it in one record replaces it in all other records, it's because your URL is not unique for each record. Include the primary key, or some other unique value, into the Web Viewer URL for each record, and then each record will be associated with its own separate file
How to handle "ERROR" response from plugin
If you try to call a plugin function, and you get a result of ERROR
, then call the SCGetLastError function to get a text description of what happened. It is always a good idea to have your scripts check the result of all plugin calls to see if an error occurred.
List all locations of log files
When troubleshooting a problem that you're having, we may ask you to send us a copy of your log files. There are several different log files for the different components of SuperContainer, and they are located in different places depending on whether you are running on Windows or Mac.
-
360PluginBridge
- Macintosh:
/Users/yourUserName/Library/Logs/360PluginBridge.log
- Windows:
C:\Documents and Settings\All Users\Shared Documents\360PluginBridge.txt
- Macintosh:
-
SuperContainer Server log (default location):
- Macintosh:
/Users/Shared/SuperContainer/SuperContainer.log
- Windows:
C:\Documents and Settings\SuperContainer\SuperContainer.log
- Macintosh:
-
SuperContainer companion plugin log:
- Macintosh:
/Users/yourUserName/Library/Logs/360Plugin Logs/360Plugin.log
- Windows:
C:\Documents and Settings\All Users\Shared Documents\360Works FM Pro\360Plugin.log
- Macintosh: