Google Custom search is not working

15 replies · opened Oct 3, 2016

JjohnanuOct 3, 2016

Hello,
Google custom search is not searching when i created my website custom cx code.Also google map to not showing when uploaded to hosting server. Please resolve the two issues.

Regards,
Johnanu

JjohnanuOct 3, 2016

Hello,
Here is website name msfsvizagprovince.org. Following are my ftp details to login to my website msfsvizagprovince.org.

FTP Username: msfs@msfsvizagprovince.org
FTP Password : msfs_$49@Nb
FTP Server: ftp.msfsvizagprovince.org
FTP & explicit FTPS port: 21

Also please help me to resolve the google custom page not working but google custom search public url is working. Also my google map in contact page is not showing up. Please help me to resolve this issues at the earliest as i launched the site and my client is annoyed why search engine and map not showing up.

Regards,
Johnanu

SSemicolon WebSTAFFOct 3, 2016

Hello,

We have just checked out your Website and the issues are:

  1. You will need to use the Google Maps API key for the Google Maps to work properly. Using the Google Maps API Key was optional before but it has become mandatory recently. Please find the following code:
http://maps.google.com/maps/api/js

and replace it with:

https://maps.google.com/maps/api/js?key=YOUR_API_KEY

You can generate your API Key (Browser Key) for Google Maps from here: https://developers.google.com/maps/documentation/javascript/ and then Click on Get a Key in the Header. Make sure that you have replaced YOUR_API_KEY in the above code with your Google Maps API Key.

This will definitely fix your issue.

  1. The JS Code you have used for your cx Key is corrupted. Please consider Copy/Pasting the JS Code for the Google Custom Search Default Template (search.html) from the Package/HTML Folder again and add your CX Key. This will definitely fix your issue.

Hope this Helps!

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

JjohnanuOct 4, 2016

Hello,
Thank you for the fas support.I really appreciate you for the fast support.I tried update my api key for google map and for google custom search engine a new cx have been generated for the site but nothing worked out.Both are not at all working. Also my contact form is not able to submit messages through the contact form. I just changed the email in php script but nothing worked out. Please help me.

Regards,
Johnanu

SSemicolon WebSTAFFOct 5, 2016

Hello,

  1. We have just checked out your Website again and the Issue is not with your CX Code but with your HTML code Validation. The Code you have pasted in the Google Custom Search Area is incorrect and not properly pasted. We have attached the Image of the Section where the Code is incorrect. Please consider replacing the code section highlighted in the image with the following code:

	(function() {
		var cx = '018235415892622997446:nomxwxdgad8';
		var gcse = document.createElement('script');
		gcse.type = 'text/javascript';
		gcse.async = true;
		gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
		var s = document.getElementsByTagName('script')[0];
		s.parentNode.insertBefore(gcse, s);
	})();

This will fix your issue with the Google Custom Search.

  1. Regarding your Issue with Google Maps not working, the issue is that the API you have generated is not allowed to be used on your Domain which is why it is not displaying the Maps.
  • Please go to your Google Maps API Console: https://developers.google.com/maps/documentation/javascript/get-api-key and then Click on Get a Key Button.

  • Select your API Project and click Enable API.

  • Click on the API Console Link after the Option appears after the Clicking the Enable API button above.

  • after Navigating to the API Console of your API Project, make sure that the Key Restriction is set to None to avoid issues.

This should fix the Google Maps issue for you.

  1. Regarding your Issue with the Contact Form, the issue is that the http://msfsvizagprovince.org/include/sendemail.php is returning a 500 Internal Server Error. Please re-upload this File and this should fix your issue.

Hope this Helps! 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.

JjohnanuOct 6, 2016

Hello,
Thank you very much for the fast reply. Now my google custom search and google map are working successfully.Today i have download files from Theme forest and upload sendemail.php and still the contact form doesn't work. Please help me with this last issue.

Regards,
Johnanu

SSemicolon WebSTAFFOct 6, 2016

Hello,

Thank You so much for your Continued Patience!

Since re-uploading the include/sendemail.php file did not fix the issue, we suspect your issue is related to the Version of PHP you are using on your Web Servers. Please consider upgrading your Web Server's PHP Version to the Latest Version by contacting your Web Hosting Provider and this should automatically fix your issue. 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.

JjohnanuOct 6, 2016

Hello,
I have updated my web server php version to 7.0 and still my contact form is not working. Please help me.

Regards,
Johnanu

SSemicolon WebSTAFFOct 6, 2016

Hello,

Thank You so much for your Patience! Can you please provide us with your FTP Details in a Private Reply so that we can check out the exact issue and provide you with a more accurate solution for this. 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.

JjohnanuOct 11, 2016

Hello,
Its been 4 days and still my contact form issue is not resolves. Please resolve the issue at the earliest as my contact form is online and my client is eagerly waiting for the fix.

Thanks & Regards,
Johnanu

SSemicolon WebSTAFFOct 12, 2016

Hello,

We Really Apologize about the Delays and the Inconveniences! We have been working on your Issue since the past 48 Hours and the issue remains with your Hosting Environment since all the PHP Files on your Server inside the include Folder returns a 500 Internal Server Error. We are using the Latest Version of the very Popular PHPMailer Plugin which is even used by the WordPress so we guess this is not an issue with any particular plugin or the Template Files. The issue appears to be with the PHP Configuration on your Server. Please consider contacting your Web Hosting Provider about this error or consider Turning on the Error Reporting on your Web Server:

Check the error_reporting, display_errors and display_startup_errors settings in your php.ini file. They should be set to E_ALL and On respectively (though you should not use display_errors on a production server, so disable this and use log_errors instead if/when you deploy it). You can also change these settings (except display_startup_errors) at the very beginning of your script to set them at runtime (though you may not catch all errors this way):

error_reporting(E_ALL);
ini_set('display_errors', 'On');

After that, restart server.

This will help you determine the reason for the Errors. Hope this Helps! 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.

JjohnanuOct 14, 2016

Hello,
I have contacted with your message to my namecheap hosting server support team said that they have disabled sending forms using mails like gmail for security reason to protect receiving spam mails. But said for contact forms smtp authentication can be used. Thank you for the efforts you put in resolving the issue. Have a great day.

Thank & Regards,
Johnanu

SSemicolon WebSTAFFOct 15, 2016

Hello,

Thank you so much for your Continued Patience! We Really Really Appreciate it!

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

Mmacaulay077Feb 23, 2017

I am hoping you can help me with my Custom google search I have changed the
var cx = to my google number but nothing is showing up in the results page.

How do I link the search box to the search results page so it will pull results.

I can not find any documentation

Lisa

SSemicolon WebSTAFFFeb 28, 2017

Hello,

The Google Custom Search Engine has not yet Indexed your Website's Links which is why it is taking some time to be displayed. The Search Results will eventually start displaying within the next 2-3 Days but can take upto a week.

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