Problems with form.php

8 replies · opened May 16, 2020

Ccjdawson329May 16, 2020

I have loaded the new site on both www.jpstechnologies.com and www.cjddesign.com (this is test site). My contact-us form works on the test site, but when I loaded the files on the client site, it will not submit the form. I've tried reloading a few times to no avail. I just keep getting the spinning gif. This is the error that the developer console is showing: contact-us.html:473 GET http://www.jpstechnologies.com/css/fonts/font-icons.woff net::ERR_ABORTED 404 (Not Found)

The files are in the css/fonts folder, so I'm not sure what the issue is?

Thank you,
CJ

SSemicolon WebSTAFFMay 17, 2020

Hello,

There is a PHP Error in the http://www.jpstechnologies.com/include/form.php File which is why the File is not executed. Please make sure that the Files are error-free for Successful execution.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Ccjdawson329May 18, 2020

Hi,

I've completely replaced my include folder and css/fonts folder with the downloaded Canvas files. The only thing I changed on form.php is the email address. You can check the form and can see that it is not working. These are the developer errors given me:

for more information.
font-icons.woff:1 Failed to load resource: the server responded with a status of 404 (Not Found)
lined-icons.woff:1 Failed to load resource: the server responded with a status of 404 (Not Found)

These are both in the css/fonts folder. I've attached the files that I've uploaded. Everything looks correct. I've set it up exactly as told and the same as on the test site, http://www.cjddesign.com/contact-us.html. It works perfectly on this site!

Do you still think I have an error in the form.php?

Thank you,
CJ

Ccjdawson329May 18, 2020

Not sure why you ask for a file and then can't upload it. Here is my form with the only section that I've changed.
<?php

/*-------------------------------------------------

Form Processor Plugin
by SemiColonWeb

---------------------------------------------------*/

/-------------------------------------------------
PHPMailer Initialization Files
---------------------------------------------------
/

use PHPMailer\PHPMailer\PHPMailer;
use PHPMailer\PHPMailer\Exception;

require 'phpmailer/src/Exception.php';
require 'phpmailer/src/PHPMailer.php';
require 'phpmailer/src/SMTP.php';

/-------------------------------------------------
Receiver's Email
---------------------------------------------------
/

$toemails = array();

$toemails[] = array(
'email' => 'sales@jpstechnologies.com', // Your Email Address
'name' => 'Sales' // Your Name
);

/-------------------------------------------------
Sender's Email
---------------------------------------------------
/

$fromemail = array(
'email' => 'no-reply@jpstechnologies.com', // Company's Email Address (preferably currently used Domain Name)
'name' => 'JPS Technologies' // Company Name
);

SSemicolon WebSTAFFMay 18, 2020

Hello,

The only files allowed currently are Image Files as PHP Files pose a security risk, they are blocked. You can share these file types using Dropbox or Google Drive.

The include/form.php appears to have no errors at the moment and http://www.cjddesign.com/contact-us.html is working as expected and we are receiving a Successful Submission alert. Can you please confirm this by submitting the form?

Additionally, the errors you have mentioned regarding the Font Icons files has nothing to do with the Forms and its functionality will not be affected by this. This error indicates that these files have not been uploaded to the Servers, and simply re-uploading them to their appropriate locations should automatically resolve this issue.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Ccjdawson329May 18, 2020

Yes, I received it off of the cjddesign site: BUT this is a test site. It's on the JPSTECHNOLOGIES.com site that it is not working! http://www.jpstechnologies.com/contact-us.html. See what it does when you try to submit it from this site. I've completely replaced the files as I said a moment ago. Both the Include folder and the css/fonts folder. All files are directly from your download with only the change to the email address.

Thank you!
CJ

Below is from cjddesign email submission. The jpstechnologies form still does not work on my end.

Name
xxa
Email
xxXax@aasd.com
Phone
SADASD
Contact
Doug Dopp
Message
AAXAx
Submit
Submit

Then why

SSemicolon WebSTAFFMay 18, 2020

Hello,

Apologies about the mis-understanding.

We just checked this URL: http://www.jpstechnologies.com/include/form.php and still can see errors. Can you please confirm if both the Servers have the same server configurations? If yes, then make sure that your PHP Engine is up to date. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Ccjdawson329May 18, 2020

Ok, I think you just confirmed my thoughts that this was server related. I don't know how to check the PHP engine, but I will contact hosting again to see if they can resolve the problem. We just upgraded to another platform and I've uploaded the files (new.jpstechnologies.com) and it is still not working.

Thank you,
CJ

SSemicolon WebSTAFFMay 19, 2020

Hello,

We have just checked out the Update Files: http://new.jpstechnologies.com/include/form.php and it appears to be working fine for us. We also tried submitting the Form which gave us a Successful Notification (attached Screenshot). Can you please confirm?

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard