-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not parse the undefined file at undefined file #50
Comments
I am experiencing this same issue. |
Hi ivyroberts! Try to change description of your to award to fit in one line. As you can see on http://keenecommons.net/badges/awards/1239356037/json/ - your description contains new line. |
Wow! Thank you. |
I'm getting this same issue. It doesn't matter how short/long my description is, or how many lines it takes up. I still get the error returned. |
Ack. I too am getting the error. (using PHP gadget-badge-it-lite) What is odd is that I've got two test sites with a bit different settings. One site is working and the other isn't. The settings in both are slightly different, but I can't identify the problem. I'm pooring through all of the http references in the assertion (the output I've created it in php), the badgeClass.json and the organization.json. All http references are available, so not sure what I may have missed. Better error messaging might help.... such as what the undefined file might be trying to reference. Update: The problem was eventually solved by removing all .htaccess coverage from the entire site. This probably seems obvious but the site seems quite vulnerable currently. |
I'm seeing the same thing, just to add to the chorus. Doesn't matter how long my description is. |
@pbamma I've got the same problem: my test site works; the one we want to issue badges from doesn't. :( |
@jducl @mrjarbenne: just seeing your recent posts on this thread. if you can share the link to your award, I can take a look at the assertion file it generates to see where it's breaking. |
ping? |
I'm also getting the same error on my sites. |
By following all my links I found an invalid url. Please check yours ^ |
You can only have 128 characters. |
My Name only has 10 characters |
Sorry--more info needed. 128 characters in the description. AND I discovered that you need to have a version number. Can't just leave it blank. Let me know if this works for you? |
I'm having the same issue. I discovered that the full URL in the "criteria" section of my json file returns a missing 404 page (can't be found by WordPress). For example, WordPress can't find my http://www.mysite.com/badges/badgename". In my case, I tried to add a new Badge named "Video Badge". WordPress created a Permalink: http://www.mysite.com/badges/video-badge". However, when I tried to view this page, it comes up as a 404 "can't find page. This is the same URL that is added to the criteria section of the json file. Therefore, I believe this is why I'm getting the error and not completing the backpack process. Can anyone suggest a fix. Thanks!! |
Update: I fixed my issue. First, I added "1" as the version number. This caused a validation error. I changed it to "1.0" and it worked. Second, my WP site was password protected with the plugin "Private Community For BP". So, the link to the json file, http://mysite.com/awards/1437347421/?json=1 was prompting a login or register window. Once I disabled the "Private Community For BP" plugin, the accept badge process finally worked without the "undefined file at undefined file" error. Q: Can WPBadger work within a password protected WP site?? Thanks. |
I'm having the same difficulty. When I create a new badge with little or no description it works fine, but all of these older badges with longer descriptions are not working. I tried to reissue the badge with a shorter description but it still does not work. |
Diddo. What tools exist for ensuring that the badge created is a valid open badge? |
Hi, I just setup the latest version of Wordpress on my Windows 2008 R2 server and have enabled the plugin but having the same issue with accepting the badges so it shows on the Mozilla bagpack. Is there a fix for this? We have encountered the following problem: Could not parse the undefined file at undefined file |
I'm having this same issue. Has anyone figured out the problem? |
Try validating your badge assertion file (JSON) in the OpenBadges validator: http://validator.openbadges.org/ To access the assertion file, simply add "json/" to your badge award url, for example if your award url was http://example.com/awards/123456789/, your assertion file url would be http://example.com/awards/123456789/ |
I made sure everything was 128 characters or fewer before posting here. I also installed .7 version from GitHub rather than Wordpress. I've also changed permalinks to default and then changed back. What if the validator says it's invalid? Where could the problem be? |
Dear Chaz, Which domain are you using for issuing badges and also are you using a sub domain by any chance? Best Regards, Mario Fishery From: chazyvr [mailto:[email protected]] I made sure everything was 128 characters or fewer before posting here. I also installed .7 version from GitHub rather than Wordpress. I've also changed permalinks to default and then changed back. What if the validator says it's invalid? Where could the problem be? — |
If it's possible to share the link to the publicly, maybe folks on this thread can help you debug. |
Hi, I'm encountering a few problems issuing a badge through the plugin.
I try to award a badge to myself and get the error "We have encountered the following problem: Could not parse the undefined file at undefined file" this comes after clicking the "Hoorah!" button. I can award the badge ok through badge.us.
Really excited to use this functionality!
Thanks for your support.
Mike.
The text was updated successfully, but these errors were encountered: