[Solved]Instalation over intranet with no web access ?

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
LukeMC
New Member
New Member
Posts: 2
Joined: Thu Sep 25, 2008 8:56 am

[Solved]Instalation over intranet with no web access ?

Post by LukeMC »

Hi,

I am trying to install CMS Made Simple 1.4.1 on a internal web server (Apache 2.0.59 (win32) PHP 5.1.5).

My server has no connection to internet (and won't have ever).

Is there a way to disable the install process to check on internet for version ?

fopen(http://dev.cmsmadesimple.org/latest_version.php)

has you can imagine I can't go tthu the installation because of this error :
Warning: fopen(http://dev.cmsmadesimple.org/latest_version.php) [function.fopen]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in D:\www\cmsmadesimple\lib\test.functions.php on line 837

Fatal error: Maximum execution time of 30 seconds exceeded in D:\www\cmsmadesimple\lib\test.functions.php on line 837
Last edited by LukeMC on Thu Sep 25, 2008 9:43 am, edited 1 time in total.
alby

Re: Instalation over intranet with no web access ?

Post by alby »

LukeMC wrote: Is there a way to disable the install process to check on internet for version ?
No directly.
You can disable check if you edit install/lib/classes/CMSInstallerPage1.class.php
and comment (put a # char in front of) this row:

#$settings['recommended'][] = testRemoteFile(0, lang('test_remote_url'), '', lang('test_remote_url_failed'), $debug);

Alby
LukeMC
New Member
New Member
Posts: 2
Joined: Thu Sep 25, 2008 8:56 am

Re: Instalation over intranet with no web access ?

Post by LukeMC »

thanks. That worked fine (I used */ /* to comment the line though)
Locked

Return to “[locked] Installation, Setup and Upgrade”