Google re-captcha stop loading suddenly - recaptcha

We have implemented the Google re-captcha, it was working fine. File - https://www.gstatic.com/recaptcha/releases/CHIHFAf1bjFPOjwwi5Xa4cWR/recaptcha__en.js giving 404.
On our staging environment - We have downloaded - https://www.google.com/recaptcha/api.js and load it locally, once all looks fine. We moved the changes over the Live instance. Till yesterday all looks fine, captcha was loading and working fine but from today not visible on both environment LIVE and Staging, and above mention recaptcha__en.js file giving 404.
1st Ques - Can we download https://www.google.com/recaptcha/api.js and load it from our base URL?
2nd Ques - what is 'CHIHFAf1bjFPOjwwi5Xa4cWR' in https://www.gstatic.com/recaptcha/releases/CHIHFAf1bjFPOjwwi5Xa4cWR/recaptcha__en.js?

Found the error, should not download and load https://www.google.com/recaptcha/api.js from you local setup. It is recommended, even when you load the https://www.google.com/recaptcha/api.js in browser it is written at the top of file that - /* PLEASE DO NOT COPY AND PASTE THIS CODE. */ and I missed it .

Related

Unable to locate the model you have specified - All i did was change servers

I have a codeigniter website, using the latest version of the frame work. I was hosting my website on Azure, and it was working fine - never any issues.
I've just moved all the files to a different server, a linux one - standard normal web hosting type server with cpanel.
My site loads up, however a lot of pages I use that require models, are giving off errors, as if the files do not exist
Unable to locate the model you have specified: UsersModel
Just note : I have read so many articles today, that you need to have uppercase / lowercase and all that stuff, but that's how i already have it setup, it just does not work since changing servers. and it worked perfectly fine yesterday on the Azure server.
Also, when going to the actual file in my address bar, it takes me to the 404 error. not sure if this has anything to do with it?
Did you change your base url in config file ?
All model , controllers, helper ,library name must me capital letter.
If you change server remove index.php from config file where you will get config['index']= ""; and save this.
Still you get error then save base url like domain/project_name/index.php

unable do download file from ie11

unable do download file from ie11, when click on download button post request send to the server. I checked in network section the response will come with content of file but in internet explorer 11 download prompt will not appear instead of that if display error page can not display and url will not correct . This program working fine with Mozilla Firefox.
I created a demo program which runs on my local host with same configuration ie11 works fine. but same program I tried to run on my production server tomcat getting same error.
I had this same problem,but incase of PDF's my pdf file was not downloading from IE, in my case also the file was getting downloaded from the Firefox, I just checked the url, there is no such limit to the length of the url but in this I just reduced the length of the url and it worked, but I didn't get what IE does different in this maybe its the server which is handling the request from IE differently or while sending IE is doing something different, just check if this works, reduce the length of the url and try again.

Nodejs Websocket image upload not working on CentOS

I implemented the websocket file upload implementation as described on:
http://code.tutsplus.com/tutorials/how-to-create-a-resumable-video-uploade-in-node-js--net-25445
It worked great on my Ubuntu VM. But when I uploaded the code to a CentOS 6 server, images didn't work when they got uploaded. I then tried uploading a large text file, and it was fine. I then tried a ZIP, and it still didn't work. The file on the server and the file being uploaded have exactly the same file size so it appears to work fine. I can only assume some sort of character encoding issue? But basically I am really stuck. Anyone got any ideas?
I'm tempted to try using Ajax to get it working if I haven't made any progress in the next day or 2.
I found solution.I had to apply new chain rule for iptables,and allow server to listen on custom port for web sockets..After that,everything works great. I had to make it permanent.

Joomla Server Error 500 after own template installation

I made a template which works perfectly fine locally, but when I install it on a server and set it to default, I get a server error 500. All other (default) templates seem to be working fine, though... Any ideas?
View this tutorial (Admin Tools - Change Folder and File Permissions):
http://www.ostraining.com/blog/joomla/admin-tools-the-quick-and-easy-way-to-change-folder-and-file-permissions/
You may want to check your server error log to see if there is anything more detailed.
500 is a generic error (if no other information is provied by Joomla!).

ABCPdf - Unable to render HTML. Unable to load page

I'm using ABCPdf to convert HTML to a PDF. I'm using the method:
AddImageUrl()
This works fine in Dev and UAT, but on Production I continuously get the message:
Unable to render HTML. Unable to load
page
Anyone see this before? Need more info?
-Ev
I guess you are tying to do URL->pdf generation. It is difficult to directly to do URL->pdf conversion. We ended up URL-Save HTML in local folder ->read HTML and convert to PDF-> delete HTML file from folder - tricky approach but it works. The only flaw is that you need to give read/write permission on a folder on server. Its still better than decreasing security settings.
have you take a look at this http://www.itjungles.com/dotnet/abc2pdf-unable-to-render-html
The default timeout for abcpdf is 15 seconds. If the page is taking longer than 15 seconds, you will get this exception.
Add the line below just after object creation of the document to resolve the issue.
theDoc.XHtmlOptions.Timeout = 10000000;
I found by working backwards (removing elements) from a target html page that omitting the tag (of all things) created this error. also, calling localhost in the target url generated this error.
I have no idea what caused this error, but I stopped the scheduled task that was running, then restarted it and it's worked fnie ever since.

Resources