Community Support for OpenDocMan (Deprecated)
Can't display page images - Printable Version

+- Community Support for OpenDocMan (Deprecated) (https://forum.opendocman.com)
+-- Forum: OpenDocMan Community Discussion (https://forum.opendocman.com/forum-5.html)
+--- Forum: OpenDocMan Support - Community Based (https://forum.opendocman.com/forum-6.html)
+--- Thread: Can't display page images (/thread-547.html)



Can't display page images - pxsant - 09-04-2012

If I am using the server where Opendocman is installed, accessing the main page and other pages after login everything looks normal. If I access the program from any other system on the network, the login page is normal. After I log in, none of the page graphic images show so the page looks like a text page. Eveything works but the page(s) appearance is all unformatted because of the lack of images.

Any ideas all?


Re: Can't display page images - Stephen - 09-04-2012

I would try to right-click->save on one of the missing images (such as the opendocman logo) and see where it is trying to load the image from. Then, verify your base_url setting is correct in the Admin->Site Settings.

You could also check the HTML code of the page and look at what URL's are being used to load the CSS and javascript resources to see if the URL's are incorrect.


Re: Can't display page images - pxsant - 09-04-2012

Everything in the configuration looks OK but obviously I am missing something. The clue is that all is normal when running opendocman from the server but not when run from any network workstation. That might imply a 'localhost' reference vs a specific IP address reference.

I have attached a screen shot of the improper display from a workstation.


Re: Can't display page images - pxsant - 09-04-2012

I resolved the issue.

By default, the install sets the base_url to ../localhost/your opendoc directory. This works fine from the server but will not work from a network workstation. You have to replace "localhost" with the specific IP address of the server and then workstations work fine (use the admin ID and go to "Settings"). Just for additional reference you should assign the server a fixed IP address and not get an address via DHCP to insure the server will always have the same IP. Most routers will always assign the same IP to a given MAC address but that is not always so or necessarily reliable.

I substituted the server name instad of the IP address and all works fine - as in <!-- m --><a class="postlink" href="HTP://hp-dc7700/opendocman">HTP://hp-dc7700/opendocman</a><!-- m -->. This is a better method since the IP address is not referenced.