Advertisement:

Author Topic: Intranet Instalation (without DMZ)  (Read 1751 times)

zectorpt

  • Newbie
  • *
  • Posts: 3
Intranet Instalation (without DMZ)
« on: February 17, 2013, 10:45:14 pm »
Hi,
I need install OSclass in a Intranet without DMZ. Its possible install OSCLASS withou access to internet?

There are any package with all that is needed, or I need that the server stay online(with access to osclass servers) to proceed the instalation?

1 - If is not possible, in config.php its possible insert the proxy configurations to allow access to internet?
2 - My question is related because administration page is too slow...

Mysql: 5.0.45 Source distribution
Apache 2.2
OS: Rhel 5.3

Tks a lot,
Jose
« Last Edit: February 18, 2013, 01:07:32 am by zectorpt »

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Intranet Instalation (without DMZ)
« Reply #1 on: February 18, 2013, 11:46:16 am »
Hi zectorpt,

It should be possible to install Osclass witout internet connection. Internet is required to download geo/country data, but if there's no internet, it should be able to complete the installation without it.

Admin is slow probably because it's trying to get the update information of Osclass/plugins/themes/languages also blog and twitter information.

To fix it, please, modify oc-includes/osclass/helpers/hPreference.php

From

Code: [Select]
function osc_last_version_check() {
        return (getPreference('last_version_check'));
    }

to

Code: [Select]
function osc_last_version_check() {
        return time();
    }

Same for osc_themes_last_version_check(), osc_plugins_last_version_check() and osc_languages_last_version_check()   (those functions are only in 3.1 version!)

Thanks

zectorpt

  • Newbie
  • *
  • Posts: 3
Re: Intranet Instalation (without DMZ)
« Reply #2 on: February 18, 2013, 02:08:05 pm »
Hi _CONEJO,
tks by the answer. I think that your suggestion solved a part of my issue. But... There are links that I press in the backoffice that freeze it.

There are old versions of osclass that don't require Internet connection?

There are more functions that I should disable?

Tks in advanced,
José


_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4689
Re: Intranet Instalation (without DMZ)
« Reply #3 on: February 18, 2013, 02:15:41 pm »
Updates are checked daily, with that modification it should not bother you again.

On admin's dashboard we fetch blog/twitter information, but not on the rest of the admin.


Install new locations required internet connection to do it from the admin, but you will not need it if you download the SQL file directly from : http://geo.osclass.org/downloads/ and then on the admin > tools > import , import it.


reCAPTCHA needs internet connection (that's the way the service is made)


I'm not sure if something else is linked to internet connection, maybe a reference to JQuery libraries, but unless i missed some places... they link to local versions.


If you use firefox, install firebug extension, on chrome open developer console. There're a "net / network" tab on both of them. Reload problematic page, and there should appear all .js, images, css files,... that are called. Identify which one is failing. If everything there, looks normal, then it's a problem of PHP (some files are called within PHP), please tell us which pages are failing for you.

Thanks

zectorpt

  • Newbie
  • *
  • Posts: 3
Re: Intranet Instalation (without DMZ)
« Reply #4 on: February 20, 2013, 06:49:16 pm »
Hi,

I don't know how, but this didn't solve my issue.

May be the php version... May be the mysql version... The fact is admin console is too slowly. Some times it login in seconds, but... sometime the login remain a minute or more.

Someone know if it's possible download old versions of OSclass?

Tks in advanced,
José

tomshaft

  • Guest
Re: Intranet Instalation (without DMZ)
« Reply #5 on: February 20, 2013, 08:46:01 pm »
zectorpt, Concerning your most recent post.
I don't like it when folks give a vague answer like I'm about to give you but long ago I had the same problem. What I discovered is the issue was cause by a plugin file. I do not remember which file. What I did was renamed the plugin folder to plugs. then I confirmed it resolved the issue. Then I re-created a folder correctly called plugins and placed each plugin from "plugs" to plugins until problem appeared. I did discover it was a plugin with a file in the wrong encoding (My fault when I edited a file) but do not recall which one.
 
Likely not your problem but if all else fails may as well give this a try. Epecially if the problem started after you installed a plugin or edited one.
 
Tom
 
 
« Last Edit: February 20, 2013, 08:48:42 pm by tomshaft »