Validation not working after php update

Status
Not open for further replies.

hdouglas

Member
This is a continuation of issue in http://fabrikar.com/forums/index.ph...500-error-with-ajax-field-verification.48092/

I have a large/complex form (multi page with about 200 elements)
Everything has worked perfectly for over a year
Site needs updating and I have updated (in this order)
Fabrik to 3.8
Joomla to 3.8.3
At this point everything works but the site is running php5.5
When php is updated to 5.6 or 7.0 or 7.1 the field validation breaks

I have been able to create a new form in the php7.1 environment, add a group and 2 field elements both with 'notempty' validation, it all works

I have analysed the AJAX output from the non working form with wireshark and with the exeception of the date/time the output in php5.5 and php7.1 are both identical

The returned values however are very different, in php5.5 I get a normal response, the field is accepted and the ajax gif disappears
In the php7.1 verison the returned response is a 500 Server Error which delivers back a page saying:

Date: Sat, 30 Dec 2017 10:21:08 GMT
Server: Apache
X-Powered-By: PHP/7.1.7
P3P: CP="NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM"
Cache-Control: no-cache
Pragma: no-cache
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=UTF-8

5a5
<!DOCTYPE html>
<html lang="en-gb" dir="ltr">
<head>
<meta charset="utf-8" />
<title>0 - syntax error, unexpected end of file, expecting &#039;;&#039;</title>
<link href="/templates/system/css/error.css" rel="stylesheet" />
<!--[if lt IE 9]><script src="/media/jui/js/html5.js"></script><![endif]-->
</head>
<body>
<div class="error">
<div id="outline">
<div id="errorboxoutline">
<div id="errorboxheader">0 - syntax error, unexpected end of file, expecting &#039;;&#039;</div>
<div id="errorboxbody">
<p><strong>You may not be able to visit this page because of:</strong></p>
<ol>
<li>an <strong>out-of-date bookmark/favourite</strong></li>
<li>a search engine that has an <strong>out-of-date listing for this site</strong></li>
<li>a <strong>mistyped address</strong></li>
<li>you have <strong>no access</strong> to this page</li>
<li>The requested resource was not found.</li>
<li>An error has occurred while processing your request.</li>
</ol>
<p><strong>Please try one of the following pages:</strong></p>
<ul>
<li><a href="/index.php" title="Go to the Home Page">Home Page</??az?uu?`?9,??Y?0Eg..@6?b?q??P???????%?????
??<L?1a></li>
</ul>
<p>If difficulties persist, please contact the System Administrator of this site and report the error below.</p>
<div id="techinfo">
<p>
syntax error, unexpected end of file, expecting &#039;;&#039; </p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>
 
Hi
Joomla was updated from 3.7.5 to 3.8.3
However before that update Fabrik was updated from 3.6 (I think) to 3.8
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top