• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

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