Page 1 of 1

Error On fopen() During Installation

Posted: Fri Aug 15, 2008 2:26 pm
by HardCode
Preface: I am a .NET developer on IIS. PHP, MySQL and Apache are new to me, but I'm trying to learn them so I can try out CMSms.

---

I am getting this error when running the installation with the "?debug=1" parameter. The error is:
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:\Apache2.2\htdocs\cmsms\lib\test.functions.php on line 837

Fatal error: Maximum execution time of 30 seconds exceeded in D:\Apache2.2\htdocs\cmsms\lib\test.functions.php on line 837

Fatal error: Maximum execution time of 30 seconds exceeded in D:\Apache2.2\htdocs\cmsms\lib\classes\class.global.inc.php on line 343
The server I am trying to install CMSms on is a virtual test server inside the company network. I can, however, access the URL http://dev.cmsmadesimple.org/latest_version.php from IE on the installation server. Does anyone have any ideas?

Re: Error On fopen() During Installation

Posted: Fri Aug 15, 2008 2:40 pm
by alby
HardCode wrote: The server I am trying to install CMSms on is a virtual test server inside the company network. I can, however, access the URL http://dev.cmsmadesimple.org/latest_version.php from IE on the installation server. Does anyone have any ideas?
But php process (cgi I suppose in IIS) can?
Firewall for example?

Alby

Re: Error On fopen() During Installation

Posted: Fri Aug 15, 2008 2:50 pm
by HardCode
alby wrote: But php process (cgi I suppose in IIS) can?
I'm not sure what this means (I'm pretty new to all forms of web development - WinForms developer here ;) ) If I wasn't clear about the setup I'm using, there was an installation of Apache 2.2 for Windows on the box. I am using that for CMSms.
Firewall for example?
There is no firewall on this box.

Re: Error On fopen() During Installation

Posted: Fri Aug 15, 2008 2:55 pm
by alby
HardCode wrote:
alby wrote: But php process (cgi I suppose in IIS) can?
I'm not sure what this means (I'm pretty new to all forms of web development - WinForms developer here ;) ) If I wasn't clear about the setup I'm using, there was an installation of Apache 2.2 for Windows on the box. I am using that for CMSms.
To this process system can deny outgoing connection.
Try to put (60 seconds) in install/index.php:
ini_set('max_execution_time', '60');

Alby

Re: Error On fopen() During Installation

Posted: Fri Aug 15, 2008 6:22 pm
by HardCode
Okay, I installed xampp on my development laptop. I tried to set it up again and received the same error as in the original post. I also tried your suggestion to add the line to the installation's index.php, but to no avail. Same error on setup. Is it really necessary to "phone home" during the setup to http://dev.cmsmadesimple.org/latest_version.php ???

Re: Error On fopen() During Installation

Posted: Sun Aug 17, 2008 7:17 pm
by alby
HardCode wrote: Is it really necessary to "phone home" during the setup to http://dev.cmsmadesimple.org/latest_version.php ???
No, but it's a check for module/app functionality
Can you send a link of your phpinfo() in PM?

Alby

Re: Error On fopen() During Installation

Posted: Sun Aug 17, 2008 8:01 pm
by Dr.CSS
I've setup a few of them using XAMPP and never had this error, are you changing anything during XAMPP install?...

Are the apache and mysyql running before attempting install of CMSMS?...

Re: Error On fopen() During Installation

Posted: Mon Aug 18, 2008 5:26 am
by clintnelson
Hi,

sorry to butt in on this but I had the same fopen problem and I was setting up cmsms on a standard shared hosting setup. I managed to complete the install by commenting out line 108 in CMSInstallerPage1.class.php .