Unable to install Composr

Post

Posted
Rating:
#7874 (In Topic #2387)
Avatar
Standard member
cnmuranjan is in the usergroup ‘Fan in training’
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 »

Online now: No Back to the top

Post

Posted
Rating:
Item has a rating of 5
#7876
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
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.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#7877
Avatar
Standard member
cnmuranjan is in the usergroup ‘Fan in training’
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)
)

Online now: No Back to the top

Post

Posted
Rating:
#7878
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
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.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Important!
Posted
Rating:
#7879
Avatar
Site director
admin is in the usergroup ‘Administrators’

Automated fix message

cnmuranjan said

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 »

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

Post

Posted
Rating:
#7880
Avatar
Standard member
cnmuranjan is in the usergroup ‘Fan in training’
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.
Online now: No Back to the top

Post

Posted
Rating:
#7898
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’

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.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#7907
Avatar
Standard member
cnmuranjan is in the usergroup ‘Fan in training’
Thanks! :)
Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Forum statistics:
  • 2,051 topics, 7,194 posts, 10,824 members
  • Our newest member is gracenayjanjoh
Birthdays:
Back to Top