Page 1 of 1

[Solved]Instalation over intranet with no web access ?

Posted: Thu Sep 25, 2008 9:02 am
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

Re: Instalation over intranet with no web access ?

Posted: Thu Sep 25, 2008 9:34 am
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

Re: Instalation over intranet with no web access ?

Posted: Thu Sep 25, 2008 9:43 am
by LukeMC
thanks. That worked fine (I used */ /* to comment the line though)