Online Font-Weight is different than local

13 replies · opened May 14, 2020

SsuppenhuhnMay 14, 2020

Hi,
i've recognized a little issue here. Some fonts are being displayed different online as they are local - it's a h2 heading ( seems that the font weight t300 class isn't working here ) and the fonts used in the navigation - see the attached screenshots.
the site is here

i'm using firefox latest version but it's with ie as well...
not that big deal, but any ideas ?

SSemicolon WebSTAFFMay 14, 2020

Hello,

We have just checked this out and the issue appears to be with the https:// Mixed Content. Since you are using https:// for your Website, make sure that all the External Links on your Page starts from https://. Example:


http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700|Roboto:300,400,500,700

should be replace with:


https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700|Roboto:300,400,500,700

Thats it! This will definitely fix the issue. Hope this Helps!

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

SsuppenhuhnMay 14, 2020

Hey thanks! I'll try this as soon as i get back to the office.

But i do have one further question - but a different topic:
i've recognized that the contact form doesn't work - we've used the contact form with version 4.1 and it was working.
with the usage version 5.9 the contact-form is showing constantly the spinning circle after send-button is pressed but neither a email was sent nor a message is shown ( success, error, etc ) - settings made in the php files are the same as with the previous version.

This Contactform is at the same page as above.
Do you have any idea what i did wrong ?

SSemicolon WebSTAFFMay 14, 2020

Hello,

Apologies about the Inconveniences!

We have checked out your Contact Forms and the issue appears to be with your PHP version as the https://www.esnet-munich.de/baustelle/webseite/include/sendemail.php returns a 500 Internal Server Error. As we have released updates over the years, the various 3rd-Party Plugins included with Canvas have also been updated to their Latest Versions as they included new Features and Security Fixes. Updating your Web Server's PHP Version should automatically fix this. Meanwhile, also consider checking the Documentation > Forms Section for complete list of Options available and always make sure that all the JS/CSS and HTML Files have been completely updated to their Latest Versions.

Hope this Helps!

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

SsuppenhuhnMay 15, 2020

Thanks for the quick response!
The websites HTML / CSS / JS / PHP files should be the latest versions used by the one-page-sideheader template - in this chase i've tested the form with the "old php files" from 4.1 via sendemail.php. The latest php files with form.php causing the same error, sorry for this confusion.
I thought our admin had updated to php version 7.x some month ago as well - i have to check this.

SSemicolon WebSTAFFMay 16, 2020

Hello,

Updating the PHP should fix this.

Do let us know if you are still facing any further issues with this.

SsuppenhuhnMay 17, 2020

seems it doesn't fix it.
are there known issues with php 7 ?

SSemicolon WebSTAFFMay 18, 2020

Hello,

Currently, there are no known issues with the Forms Processor with PHP 6 and above. Please consider adding the .customjs Class to the .form-widget Element and then following code at the very top of your include/form.php File:

error_reporting(E_ALL);

which should display all the possible errors. Please notify us about the Error Message you see, after going through the process above, so that we can provide you with more assistance on this.

Hope this Helps!

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

SsuppenhuhnMay 18, 2020

there's still a error - did i miss to give all files inside the include folder specific permission or something like that? or is it something we have to check because of using https ?

I guess it's a server / php problem in general. Because even calling this simple test.php:

is throwing an internal error

SSemicolon WebSTAFFMay 18, 2020

Hello,

The https:// or folder permissions will not affect the PHP Execution. We guess it is something to do with your Server's PHP.ini Configuration. You will need to contact your Web Hosting Provider for further clarity on this.

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

SsuppenhuhnMay 24, 2020

Hi!
Thanks for your help :-)

Now we've got it working BUT there's still one issue. And because i'm no PHP pro i'm not sure where the problem is coming from the template or serverside: So hope you'll not be angry about my next question ;-)

First:
I was using the non-smtp method: after clicking the send-button, the green success pops up ( top right corner ) and says: everything was fine, email was sent etc.. BUT the receiver email set in form.php never got this mail.
Second:
Using SMTP Method: after clicking the send button - the loading/spinning indicator is showing up and stays there, no message is prompting ( nor a success neighter a error ) BUT the receiver email is now receiving this form-mail.

The recatpcha has no impact on this - same results without it.

Here's the form:
https://esnet-munich.de/test.html

Sorry for bothering you again

SSemicolon WebSTAFFMay 25, 2020

Hello,

Haha, we are always Happy to Help! :)

  1. This is most likely an issue with the PHP mail() Function. The Hosting Servers sometimes are blocked to send emails through this function to prevent SPAM.

  2. Make sure that you set the $mail->SMTPDebug to 0 in the include/form.php File to avoid SMTP Debug Messages which could be the issue with the Notifications not getting displayed:

$mail->SMTPDebug = 0;

This should definitely work fine. Hope this Helps!

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

SsuppenhuhnMay 25, 2020

Awesome works perfect!

But as others we're receiving 10-40 Spammails since the form is active, too - is there another or new approach to prevent this spam than the modified form.php as i downloaded here from your post ?

SSemicolon WebSTAFFMay 26, 2020

Hello,

Yes, you can absolutely use this Download File to prevent SPAM and as it is based on the new include/form.php File.

Hope this Helps!

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