Application attempting to connect locally

Request for general support related to Logic Invoice.
Post Reply
Chewie
Posts: 9
Joined: Wed May 10, 2017 9:06 pm

Application attempting to connect locally

Post by Chewie » Fri Aug 25, 2017 7:59 am

Loading the Logic invoice application from the local network is working fine, but when I attempt to remote log into it, the CSS files are still trying to locate the address from the local network, ie

When I access it from http://localhost/directory/blah
it loads all the proper css styling.

When I access it from an external source, say a customers machine, it has no styling to it, the source files are trying to locate by internal IP.

If you need more information, I can send you the web link by pm so you can visualize the issue.

Chewie
Posts: 9
Joined: Wed May 10, 2017 9:06 pm

Re: Application attempting to connect locally

Post by Chewie » Fri Aug 25, 2017 8:07 am

Here is what the source shows for the login page (notice the base href line):

<html dir="ltr" lang="en">
<head>
<meta charset="UTF-8" />
<title>Niagara Region IT Services</title>
<base href="http://192.168.0.12/inv/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="http://192.168.0.12/inv/image/upload/favi.png" type="image/png" rel="icon" />
<script type="text/javascript" src="vendor/jquery/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="vendor/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="application/view/javascript/system.js"></script>
<link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="vendor/font-awesome/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="application/view/theme/default/stylesheet/stylesheet.css" />
</head>
<body>
<!-- Powered by Logic Invoice www.logicinvoice.com -->
<header class="navbar navbar-custom navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>

User avatar
Esmond
Site Admin
Posts: 285
Joined: Tue Sep 15, 2015 3:08 pm
Location: Singapore
Contact:

Re: Application attempting to connect locally

Post by Esmond » Fri Aug 25, 2017 2:25 pm

try checking your config.php file, what does it say? The URL is retrieved from the config.php file

Chewie
Posts: 9
Joined: Wed May 10, 2017 9:06 pm

Re: Application attempting to connect locally

Post by Chewie » Fri Aug 25, 2017 9:37 pm

That was it, thanks.

User avatar
Esmond
Site Admin
Posts: 285
Joined: Tue Sep 15, 2015 3:08 pm
Location: Singapore
Contact:

Re: Application attempting to connect locally

Post by Esmond » Sat Aug 26, 2017 1:29 am

Great to hear! cheers!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest