Google Form submit issue - google-forms

When I was trying submit my google form or upload a file, I see that "There is a problem. Please try again.."
This issue only gets fixed when my Google Cloud is cleared.
Why can't I fill out a form when my account's storage is full?

The process of the file upload of Google Form works as follows:
File is uploaded to your (respondent's) Google Drive
Ownership is transferred to the form owner
Sharing is removed from you
As you could see, you are required to have enough space to upload the file to your Google Drive.

Related

Direct upload of Video to Vimeo

I'm trying to upload directly to Vimeo from my computer in a Wordpress site using $lib->upload($_FILES["fileToUpload"]["tmp_name"], false); but it keeps failing. Plus it can't upload large files above 1MB,target is to allow users to upload upto 100MB in a single upload
Most of the conversation happened in the comments above, but I'm adding an answer here anyway.
The video was being uploaded successfully, the problem was that the video was returning as "untitled".
To edit a video you need to perform the API call $lib->request($video_uri, ['name' => $title], 'PATCH');, and ensure your token has the edit scope.

Google Analytics Receiving Data -- but no analytics in view source

My client created a website and a google analytics account. The report indicates that the account is receiving data -- and yet, when we do a view-source of the pages of the site, there is definitely absolutely no analytics code there. How is this posssible?
It is possible that the Analytics code is added via Javascript, not appearing in the "View Source" page. It is also possible for it not to appear in the inspector either.
I do not know how this happens, but I have encountered scripts that exist and run although they are not displayed in either the source page or the live DOM inspector (in Google Chrome). This happened to me while loading a PHP template containing Javascript through an Ajax request.
If you have access to the source code of your website, search the entire project for for the Analytics ID (Here's how to find it: https://support.google.com/analytics/answer/1032385?hl=en), and you'll locate your tracking code.
If your project is running on a Linux server, here's a post about how to quickly find a keyword (like the Analytics ID) in a folder: How do I find all files containing specific text on Linux?

asp.net application - View uploaded file instead of downloading

We have a asp.net application which allows users to upload files.
After the file has been uploaded, users get an option to download the file to view it.
We wish to also give a preview link. Clicking this link should open the file in the browser pop-up (Chrome and Firefox).
Users typically upload pdf, common image formats and word documents.
Any help would be really appreciated.
Thank You
Yash
Based on your requirement, I think you can use Google Docs Viewer.
Sample can be found over here
For more information this is the link of google blog explaining Google Docs Viewer.

How to avoid "Video not found or access denied" error for anonymous users in a Drupal video sharing site?

I have a web application in Drupal 6 that shows video content to users. Currently if I as an admin create a video node and upload the video, can see the video (and playback).
However if I am an anonymous user, I am unable to do any sort of playback even though I can access the video node. When I hit play in the JW player, I get a "Video not found or access denied" error even though I have made the video a public video. The path that I get along with the player is one that is incorrect as it has a "system" in it so my player is unable to play it.
What can i do to make sure that the uploaded files share the same permissions as the video node. So that if a user can see a video, they should be able to able to play it.
I went to admin -> file settings and changed the setting to Private so that Drupal controls the file system. Now an anonymous who does not have access to watch the video CANNOT see the player which is cool however they still cannot play the video on nodes they should have access to.
Any ideas guys?
Maybe you should provide more details about what modules you have enabled. If you do set a private download method (completely understandable), you may need to implement the file download hook.
http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hook_file_download/6

Tracking File Downloads with Google Analytics

I have an html file that gets loaded when a user connects a flash drive to their PC. That HTML contains a direct link to a PDF on our server. (They don't want to put the PDF on the drive for some reason) Anyway, I'm trying to figure out how to track how many times this PDF is accessed from one of these drives.
Since the user is being taken directly to the file and not a landing page, is there a way I can attach analytics to the link that directs the user to the file? I was thinking a Virtual Page View would work but I don't understand exactly how GA would be getting that data.
Can anyone help demystify this?
GA needs to run javascript. PDFs will not invoke a call to GA when hit directly from search results, emails, or flash drives.
You might be able to track it by creating a rewrite rule on your server to a page that runs the GA code then loads the PDF on that page.
I had a similar feature on my site and it worked well except that while tracking the PDFs, the page that loaded the PDF was inflating my pageviews numbers. I didn't want PDF's to be mixed in with pageviews because it confused the client who had been used to separating the two. I created a filter for the PDF 'calling' page and the pageview number settled back down.
I ended up removing this method and falling back to the server logs for PDF downloads and GA for everything else.
GA is a javascript tracker. Plain and simple.
The issue is not the JavaScript, since you can include that locally, but the fact that GA won't work on HTML loaded from a filesystem.
The landing page can be built so that it automatically triggers the download and GA while that happens. Pageviews won't be an issue, since downloads should be tracked as events anyway.
You can attach a javascript function to the link and have it track the page view with Google Analytics
Check this out for more.
It's an easy way to track any file download on a website.

Resources