Error On fopen() During Installation

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
HardCode
New Member
New Member
Posts: 3
Joined: Fri Aug 15, 2008 2:17 pm

Error On fopen() During Installation

Post 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?
alby

Re: Error On fopen() During Installation

Post 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
HardCode
New Member
New Member
Posts: 3
Joined: Fri Aug 15, 2008 2:17 pm

Re: Error On fopen() During Installation

Post 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.
alby

Re: Error On fopen() During Installation

Post 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
HardCode
New Member
New Member
Posts: 3
Joined: Fri Aug 15, 2008 2:17 pm

Re: Error On fopen() During Installation

Post 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 ???
alby

Re: Error On fopen() During Installation

Post 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
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Error On fopen() During Installation

Post 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?...
clintnelson
New Member
New Member
Posts: 3
Joined: Mon Aug 18, 2008 5:18 am

Re: Error On fopen() During Installation

Post 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 .
Locked

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