Unable to install Composr

Post

Posted
Rating:
#6819 (In Topic #1595)
Hello,

I'm trying to install Composr on my Win 10 pc, with IIS, PHP and MySQL. But I'm getting below error: Could you please help?
 

HTTP Error 500.19 - Internal Server Error

The requested page cannot be accessed because the related configuration data for the page is invalid.

Detailed Error Information:

Module    IIS Web Core
Notification    BeginRequest
Handler    Not yet determined
Error Code    0x8007000d
Config Error    
Config File    \\?\E:\wwwroot\composr\web.config
Requested URL    http://localhost:80/composr/install.php
Physical Path    E:\wwwroot\composr\install.php
Logon Method    Not yet determined
Logon User    Not yet determined

Config Source:

   -1: 
    0: 

More Information:

This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.

View more information »

Post

Posted
Rating:
Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5
#6820
Hmm, this looks like it could be a bug in our shipped web.config file.
That file is not critical, please try deleting it and seeing what happens.

In the mean-time, I'll look into it.

Post

Posted
Rating:
#6821
Thanks. I deleted the web.config and installation proceed further. Along the way, I got another error about 'cms_catalogue_fields' table not exist. After manually creating the table, the installation was successful. I used below code to create the table:

code

CREATE TABLE cms_catalogue_fields (
    cf_options varchar(255) NOT NULL,
    cf_put_in_search tinyint(1) NOT NULL,
    cf_put_in_category tinyint(1) NOT NULL,
    cf_required tinyint(1) NOT NULL,
    cf_default longtext NOT NULL,
    cf_searchable tinyint(1) NOT NULL,
    cf_visible tinyint(1) NOT NULL,
    cf_defines_order tinyint NOT NULL,
    cf_order integer NOT NULL,
    cf_type varchar(80) NOT NULL,
    cf_description longtext NOT NULL,
    cf_name longtext NOT NULL,
    c_name varchar(80) NOT NULL,
    id integer unsigned auto_increment NOT NULL,
    PRIMARY KEY (id)
)

Post

Posted
Rating:
#6822
I could not reproduce any of these issues unfortunately.

I suspect the initial issue is due to IIS not having the rewrite module installed. However, I set up a test Windows 10 machine with IIS Express 10 and (1) rewrite came bundled and (2) even when I disabled it in the configuration and explicitly deleted the DLL and restarted IIS it still didn't complain. I think the version of IIS I installed is hard-coded to recognise IIS rewrite rule configuration (and ignore it) even when the rewrite extension is not installed. So I think this is an issue with different test environments. Our Web Platform installer for Composr does specify rewrite should be installed, and I'd recommend installing it. I'll document it as a dependency.

The catalogue_fields error, possibly caused by two copies of the installer running in parallel, and one removed the table while the other was using it. Or something like that. I'll code the installer to use ignore_user_abort(false); to try and reduce the chance of this happening.

Post

Important!
Posted
Rating:
#6823

Automated fix message

TQ said

Hi Patrick,

Any update on this issue?

Even though I'm only getting a couple of emails a day, there is a significantly larger number of attempts displayed in the action log. With a membership of over 89,000 I am concerned that I will be loosing traffic because not everyone is aware of my direct email address.

I would very much appreciate it if you could take another look at this problem.

Kind regards

TQ
 
This issue has now been filed on the tracker as issue #4636, with a fix.

Post

Posted
Rating:
#6824
Ok, Thanks for looking into. I tried installing using Web PI as well, and got below error:

Screenshot 2021-04-05 224502.png

Anyhow, I got it working when installed manually and removing web.config + creating a table manually.

Thanks for your support! The CMS is looking good b t w.

Post

Posted
Rating:
#6834

cnmuranjan said

Ok, Thanks for looking into. I tried installing using Web PI as well, and got below error:

Screenshot 2021-04-05 224502.png

Anyhow, I got it working when installed manually and removing web.config + creating a table manually.

Thanks for your support! The CMS is looking good b t w.

Thanks and thanks. The web platform installer has been re-released with some fixes.

Post

Posted
Rating:
#6841
Thanks! :)
3 guests and 0 members have recently viewed this.