
Hi,
I've spoken to the creator of the custom component I have for saving form result PDFs, and there is nothing in that component that is hard coded to the previous site.
I've also made a video of the issue.
I can't find anywhere to change the settings in the Calcbuilder component, so I assume that there's some hard-coded information somewhere that needs to be changed to resolve this:
https://1drv.ms/v/c/80b09a14952e9490/IQDuyEubnf4MS4QL5_A0yrKbAaqkbPeF_H1ZQ6JOAnHbwZc?e=5nZXly
I have set up an admin account for you, and the details are in the private data box.
Hi,
at the calcbuilder there is no hard-coded information either, so as a first step we suggest to check this configuration params instead:
Calculator->preferences->pdf storage->Storage path for PDF files : this folder must be present, and writable in your new server
Translation files : at com_calcbuilder.ini you have the key
DOWNLOAD_PDF
this is the name of the downloaded pdf file.
This is the default component behavior, but we see you have modified the core code of the extension, and the part that is storing the file before sending the email is now made by your custom code, so you'll need to contact your custom developer to fix this part, we can't give support to external custom code, sorry. The right way to introduce custom functions would be inside the php section of the calculator, because if you modify the extension, then you won't be able to update the component in the future.
If you want to discard any calcbuilder or new server issue, you can install latest version for a while, try the default email, pdf and attach functions and confirm if they work properly without your changes. Then you can install your modified version and look for the problem at your custom code.
Hope this helps, regards
Silvia Martín
Moonsoft Team
Hi again.
I got hold of the component creator, and the forms are now sending and saving as they should.
However, when I went to change the forms to suit the new project, I discovered that I cannot add or edit any of the option or multi option fields on any of them, including new forms.
I made a video of that issue for you too.
https://1drv.ms/v/c/80b09a14952e9490/IQAi1hOZosnKT6WSArIztjcnAfQtxcI2w3OtZ7fAdGworSk?e=FB1UjV
I am guessing your component is somehow not synched up with the database on the new site? I would assume that would be automatic though?
I have tried updating the database and clearing the cache, but neither of those things work.
Really need this to actually work!
Hi again,
I am also getting errors when I try to use these forms on the frontend, obviously because there are arrays set up for options that are showing up on the frontend, but that don't actually exist on the backend or in the table.
Here's an example: https://1drv.ms/b/c/80b09a14952e9490/IQD4K852YgChSb2I-niA8UiAAerxykWNHq-hp114pppX2MY?e=PAYen8
Hi,
those problems seem related to some source fields that are not present on your cloned website, that are part of the component and they are required for both back and front end. We found 2 folders that are missing at your new site:
- /media/com_calcbuilder/js
- /media/com_calcbuilder/css
Please copy them from the old website and try again, and let us know if there is still any issue remaining.
Kind regards
Silvia Martín
Moonsoft Team
Thank you. That solved that issue, but please see my new ticket.
Ok, we close the ticket with this solution.
Hi there,
I cloned a website I built from www.drawafence.com to www.jobsiteforms.ca.
The new site does something similar to the old one, and I've reused some of the forms on the new site.
However, I have made some changes to the forms:
- Changed the email address and subject line
- Changed the print options to reflect the new site
However, even though I can't find any other places to change site info in the Calcbuilder component, it's still not working correctly. Specifically, I am having the following issues:
- When I generate a PDF, and then click to download it from my browser, it automatically names the file with the old site (DrawAFence.com)'s name
- Although the site sends the email about the document generation, it does not attach the PDF. I have set the forms to DO that attachment.
- It seems to be saving the forms somewhere other than my new site? I have a custom component to do file storage, and the files are not showing up there.
I am running version 5.5.5 because of the custom code I had to add to run my component, and the site is on J 5.3.1, however, since this setup is still working on the original site, I can't figure out why it's not working on this one.
Please advise if there is something else I need to change or setup so that I can fix this issue.
Thanks.