Page 1 of 1

500 Error after Company or job order in Win/IIS-Solved

Posted: 02 Apr 2017, 08:06
by itsmesri
I am using Windows 10, IIS 10, PHP 5.6 PHP 5.6. I installed composer also. Installation of OpenCat went well. But when I submit new company or new job it is throwing 500. What could be the problem.

Re: 500 Error after submission Company or job order in Win/I

Posted: 02 Apr 2017, 12:18
by cptr13
You're not running Apache?

I'm not sure about IIS at all.


Russ...do you know whether IIS works?

Re: 500 Error after submission Company or job order in Win/I

Posted: 02 Apr 2017, 12:20
by cptr13
Is this a production server? Is there a reason you have to use IIS instead of Apache?

The first thing that jumps out at me is to disable IIS (if you can) and try it with XAMPP, to see if the errors go away

Re: 500 Error after submission Company or job order in Win/I

Posted: 03 Apr 2017, 04:07
by itsmesri
I wish I could.. company site built on .net and deployed on IIS. not I am using opencats as www.company.com/cats.

Re: 500 Error after submission Company or job order in Win/I

Posted: 05 Apr 2017, 05:29
by itsmesri
I fixed this.

This is worked in IIS too. I installed Windows Composer then copied composer.phar file into IIS webroot CATS roots folder. when you can find compose.json file. then just run command in c:\catsrootpath\php composer.phar dump-autoload . Magically it is started working.

Re: 500 Error after submission Company or job order in Win/I

Posted: 08 Apr 2017, 11:39
by cptr13
Ok thanks. I'll mark this solved and add a note about IIS into the documentation.