Forums

Form not working on IIS server Error 500

hjortlund 21 Aug, 2013
Hi

I have made a form on a Linux server, and I have now transferred the form to an SSL protected IIS server, but I receive some errors. If I use the "Test form"-button in the "Wizard edit" then everything works perfectly on the IIS server (most of the time), but when I try the form via the front-end menu, then I get an error 500 when I click submit?
If i set Error reporting to maximum then this error appears:
Notice: Undefined offset: 0 in C:\inetpub\wwwroot\intra\plugins\content\jvchart\jvchart.php on line 46 Fatal error: Class 'JModel' not found in C:\inetpub\wwwroot\intra\plugins\content\globalvariables\globalvariables.php on line 214

I am very much hoping that somebody can help me, as I have spent a lot of work hours developing on the linux server, and now it doesn't work..

Thanks
Nikolaj
GreyHead 21 Aug, 2013
Hi Nikolaj,

Please see this FAQ - I think that is the problem here.

We have also seen some SQL problems reports on IIS servers, mainly around LIMIT syntax. There is another thread here if you need it.

Bob
hjortlund 22 Aug, 2013
Thank you very much. You've made my day 😀

The only thing that bugs me now, is on my search results page the word "Array" appears at the very top of the page. Is it easy to hide?

Nikolaj
GreyHead 22 Aug, 2013
Hi Nikolaj,

That sounds like a piece of debug code left in somewhere. Please post a link to the form so I can take a quick look - there may be some clues.

Bob
hjortlund 23 Aug, 2013
Hi Bob

I just sent you a PM with link and password. Thank you very much for looking into it 😀

Nikolaj
GreyHead 23 Aug, 2013
Hi Nikolaj,

I can see the 'Array' but can't work out what is causing it :-( It may be from the Show HTML action you have in the On Submit event. I don't think that is doing anything useful. If that doesn't cure it then taking a copy of the form and removing actions should help pin it down.

Bob

PS I installed exTplorer on the site to check the files in the CSV Export action and make sure that there wasn't any stray debug code in there.
This topic is locked and no more replies can be posted.