baaarcin
Forum Replies Created
-
Forum: Plugins
In reply to: [Loco Translate] Language duplicate appears on its own@bamby4523, I didn’t update Forminator plugin since, but back then you could edit the custom path for css stylesheet in Forminator -> Settings -> Data -> File Upload Storage. Maybe in the current version you can’t.
As for home.pl, I have an idea – navbar and footer widgets are probably stored in database, while theme files are stored in ftp. I don’t remember well, but I think I had similar issue after migrating to home.pl, and the solution (sugested by home.pl support) was to create temporary folders named “TMP” in _public_html directory, WordPress root directory, wp-content/uploads etc. I would try this first.Thanks. The default path was “//wp-content/uploads/forminator/” with double “/”, I changed it to “/wp-content…” and it worked. I am marking this thread as resolved. Thanks again!
Hi! The hosting support suggested adding a temporary folder (“TMP”) inside the WordPress directory, and it worked. I can finally edit and save changes to forms, I can also import forms from the old version of the website. I can also use the WordPress theme editor to edit theme files now, so these problems were connected.
However, one problem remains – the specific stylesheets for the forms (in wp-content/uploads/forminator/[form id]/css) don’t load on the website (although they load while displaying Preview in Forminator panel)
Safari Network tab says: “An error occured trying to load the resource”, Safari console says: “Failed to load resource: A server with the specified hostname could not be found”, followed by a wrong path: “https://wp-content/uploads/forminator/941_6f5377eb22c9eeae9ac829bd0fa09c04/css/style-941.css?ver=1690917598”.
So, https:// is added to a relative URL.
Do you know how to fix it?
Thanks in advance.- This reply was modified 2 years, 8 months ago by baaarcin.
Ok, thanks! I’ll check these things and let you know what was the cause of the problem.
Hi, thanks for your reply.
The new site is simpy the old site copied via FTP to a different server/hosting service. The original server used PHP 8.0, the new one uses 8.2, but I tried changing it to 8.0 with no result.Because the site is live now as per my client’s request (without the form), I would have to make a copy of it to switch theme and disable the plugins, so I would like to do that as a last resort (all the plugins and everything is identical to the old site anyway)
In the panel of the new hosting service all additional security features are turned off. There are no additional rules in .htaccess.
The issue happens on every browser I have tried: Firefox 115.0.2, Chrome 115.0.5790.114, Safari 13.1.3 on Mac, Opera 99.0.4788.88 on Windows.
I have two ideas:
1) Can the database be an issue? The old database was MariaDB 10.5, which contents I exported and imported into a mySQL 5.7 database (it didn’t work in mySQL 8.0, I guess they weren’t compatible). But I think only form entries and form reports are stored in the database.
2) With the new hosting provider (home.pl), I can’t save changes while editing WordPress theme files in Theme Editor. I have to edit them through FTP. This doesn’t only happen with this particular website, I’ve had this issue with every other website hosted by home.pl.
Since theme files are in /wp-content, it makes me think there are some additional security measures and access to /wp-content is somehow limited. But it doesn’t explain why I was able to edit Forminator forms, and after a number of changes I am no longer able to. The form’s .css file (in /wp-content/uploads/forminator/[form id]/css) reflects all my color changes I made while I was still able to save the form.Hi, thanks for the response.
This is a form from the old site (on which everything works perfectly): https://drive.google.com/file/d/17b0GKpqEh6yC5fntThOPRCMMFvXDJmkF/view?usp=sharingThis is a form from the new site, with clean Forminator installation, it was created on the new website from scratch (could save initially, now it doesn’t save anymore)
https://drive.google.com/file/d/1MmaawHsiHp6Lwd9U1WgMHzQKv7HQXVt2/view?usp=sharing
I also tried to rollback the plugin, so far to 1.23.3, with no success.
Sometimes, I get more detailed information from the console than what I previously posted:https://drive.google.com/file/d/1jlENy4uNcfex7JiY0JZGCAyzxFTv7pPb/view?usp=sharing
The lines 1 and 25 of code in form-scripts.js were extremely long, so I unminified the code using unminify.com to see where the error occurs, maybe that will point you in the right direction:Error: Request failed with status code 400
Update: I deleted the plugin and all the data, and installed it once again.
I added all my fields (10), this time I started with Select and Checkbox field, and I was able to save the form after adding the remaining fields.
Then I started customizing colors, saving the form after each change – when I got to Send Button font color, I couldn’t save the plugin anymore. And now I can’t save any new changes to the form.
I also checked – I can make a new simple form on the old website, export it and import into the new website, but I can’t import forms with more fields and color customizations. Almost as if there was a limit of the lines of code (?). Something is seriously wrong.