Code editor bug in PHP form plugin

Status
Not open for further replies.

mmmag

New Member
After transferring the site to a new server, in the PHP form plugin, the PHP code editor started to glitch. Instead of spaces, it shows the letter "B" and does not give normally edit.
 
Check with your browser tools for JS errors and errors in your network response.
BTW: "After transferring the site to a new server..." Did you open and resave your Fabrik connection to give Fabrik the new database parameters?
 
The browser console does not show JS errors. Shows only warnings.
1. This page uses a non-standard "zoom" property. Try using CALC () in the appropriate properties values or use "Transform" with "Transform-Origin: 0".
2. It seems that this site uses the positioning effect associated with scrolling. This may not work very well with asynchronous pan; See https://developer.mozilla.org/docs/mozilla/performance/scrollinkedeffects to get more information and join the discussion of related tools and capabilities!
3. Window.Controllers / Controllers is obsolete. Do not use it to determine the UA.

BTW: "After transferring the site to a new server..." Did you open and resave your Fabrik connection to give Fabrik the new database parameters?
Yes, after the transfer, everything works, besides what I said
 
Ooops... In Google Chrome there is no this bug. But has in Firefox . Why is that? On the old server worked through Firefox. Server settings or what?
 
Your php code is stored in the database in #_fabrik_forms.params. What is in there?
How did you transfer your site?
What is the column collation in the old and new DB?
Did you change your DB collation?
Which Joomla, Fabrik, php versions on your old and new site?
 
Last edited:
How did you transfer your site?
Site moved as is, keeping in zip. The database imported via phpMyadmin as it is. The version of MySQL on the old server 5.7.22-22-LOG, on the new 5.5.5-10.5.11-MariaDB-1: 10.5.11 + Maria ~ Buster
Your php code is stored in the database in #_fabrik_forms.params. What is in there?
The problem appears not only here, but in all places where you need to enter the code. This is the lists when entering the code into PHP plugin and in the settings of the elements, when adding JavaScript, Condition in validations. Those. Wherever you can enter the code.
What is the column collation in the old and new DB?
Did you change your DB collation?
I changed nothing. After finding a problem, I tried to change the database encoding and tables Fabrik_forms.params, Fabrik_elements with utf8_general_ci on utf8mb4_unicode_ci, but it did not help
Which Joomla, Fabrik, php versions on your old and new site?
Joomla! 3.9.14 Stable on old and new site.
php 7.0.31 on old site and 7.0.33 on new.
fabrik 3.8.1 on old and new site.
 
Pretty outdated versions (but the ace editor hasn't changed since years).
Condition in validations
If it's really also here then it's no editor issue (conditions are pure textarea).

So check what you have in your database, maybe try to export and import the DB again.
 
If it's really also here then it's no editor issue (conditions are pure textarea).
.
Here is meant when choosing action - "php" or "isemail" or "regex"... When choosing "notempty" everything is ok.
Pretty outdated versions (but the ace editor hasn't changed since years).
You can tell there's more? I think the problem is in the editor. Maybe rewrite again here files?
 
I think the problem is in the editor.
It's definitively no general issue (nobody else is reporting something similar), so it's on your site or in your database.
Pretty outdated versions
Recent Joomla is 3.9.28, Fabrik3.9.2 (or better GitHub), php7.3+ etc.
 
Solved a problem. It turned out there was no set UTF-8 encoding for php on the new server . Thank you troester.
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top