Closed (fixed)
Project:
myTinyTodo
Version:
7.x-1.0-beta6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Aug 2011 at 03:27 UTC
Updated:
20 Mar 2012 at 17:01 UTC
Jump to comment: Most recent file
Followed instructions to the t and got a 404 in the apps embed area:
Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404
127.0.0.1
08/08/11 23:15:48
Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i PHP/5.2.9
I've included an image.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | mytinytodo_1243468_1.patch.txt | 20.04 KB | fizk |
| 404.png | 23.97 KB | liza |
Comments
Comment #1
fizk commentedWhat's the exact address you were trying to view when you get this error?
Comment #2
liza commentedthat's a localhost set up on a computer (hence the 127.0.0.1).
so it's something like
http://12.0.0.1/NAME-OF-SITE-IN-DEVELOPMENT.com/path-of-page
Comment #3
fizk commentedAre you getting this error when viewing the node that has a mytinytodo field? Are these the steps to reproduce? :
1. Install mytinytodo module.
2. Go to a content type and add a myTinyTodo list field.
3. Create a new node of the content type in step #2.
4. View the node created in step #3 and see the 404 error message.
Comment #4
fizk commentedI think the problem is the URLs in the javascript code are hardcoded to /mytinytodo/xxx.
In your install it should be http://127.0.0.1/NAME-OF-SITE-IN-DEVELOPMENT.com/mytinytodo
Do you get a blank page when going to http://12.0.0.1/NAME-OF-SITE-IN-DEVELOPMENT.com/mytinytodo/ajax ?
Comment #5
fizk commentedI've made some changes to use the base path for all URLs. Try using
http://drupalcode.org/project/mytinytodo.git/snapshot/08ffa246431fe2e031...
and let me know if that works for you.
Comment #6
liza commentedyup. that's exactly what i have done.
1) created a content-type called TASK
2) added to it myTinyTodo field
3) created a "task" and left the "Display ToDo list" checked on
4) when i go to the page, i get the actual image you see in the attachment i included previously
Comment #7
liza commentedthanks for responding fiszk, but am a bit confused. the following are the install instructions:
but you're saying myTiny needs to be at the root of the directory?
Comment #8
liza commentedyes i get an internal Drupal 404 (takes me to the search page).
btw, am trying to dowload your link but it's not working :\
if you want to just upload a patch, i can work with that.
Comment #9
fizk commentedThe URLs in the Javascript code were pointing to the root, which works when you're not using subsites.
The attached patch should make the module work for subsites as well.I fixed some other problems with the D6 version. Try using 6.x-1.0-beta3.
Comment #10
fizk commentedI fixed some other problems with the D6 version. Try using 6.x-1.0-beta3.
Comment #11
liza commentedsorry i didnt get back fast enough. so no patch, just the update? i'll do that this weekend.
and thanks for the follow up :)
Comment #12
fizk commentedNo problem. Actually, try using 6.x-1.0-beta4 :)
Comment #13
liza commentedhey,
i upgraded to beta4 as you suggested and still no luck. here's the piece of code the page is outputting:
shouldn't this be pointing to
sites/all/modules/mytinytodo/mytinytodo/...? or do you want us to move the mytinytodo jQuery folder to the root directory?Comment #15
fizk commentedGood catch, I've committed a patch:
http://drupalcode.org/project/mytinytodo.git/commitdiff/c1e6579c677b637c...
Try applying that to beta4 and let me know how it goes.
Comment #16
fizk commentedI'm guessing the last patch fixed the remaining bugs. Let me know if there's anything else.
Comment #17
LochNessMonster commentedHi Fizk,
I've just installed the latest 7.x-1.0-beta6 module on my drupal7 dev site and am getting the same error that Liza had with her 6.x site as follows:
Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404
192.168.56.101
Tue Sep 6 16:49:34 2011
Apache/2.2.17 (Unix) DAV/2 mod_ssl/2.2.17 OpenSSL/1.0.0c PHP/5.3.5 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.10.1
Steps to create this:
- Installed the module in the drupal sites module folder
- Enabled the module in the in admin module settings.
- Created a new content type and added a field with the todo widget.
- Added a new content page with the new to-do list content type and get the object not found error where the widget should be.
Is this a bug or do I need to modify my setup some how?
Cheers,
LochNessMonster
Comment #18
fizk commentedHi Lock,
Try applying this patch and let me know if it works:
http://drupalcode.org/project/mytinytodo.git/commitdiff/358f36247321e971...
Comment #19
LochNessMonster commentedHi fizk,
I've updated the mytinytodo.module file with the new code. The object not found error has gone away but when I create new content now I just see an empty space on the page where I would expect to see the widget.
The generated page source code snippet is as follows:
My module is installed in:
/opt/lampp/htdocs/drupal/sites/all/modules/mytinytodo
Any ideas?
Cheers.
Comment #20
LochNessMonster commentedComment #21
fizk commentedLock,
I could reproduce the problem and it should be fixed with the latest commit:
http://drupalcode.org/project/mytinytodo.git/commitdiff/7a651d746d5a189f...
Let me know if it works for you.
Comment #22
fizk commentedPlease reopen if this issue isn't fixed.
Comment #23
paulap commentedSame Problem with beta 10.
We installed the module as is. Create a new CT with a ToDo field. Create a node.
If we view the node the ToDo Field doesn't display. Instead we get a red message:
- HTTP: 404/Not Found - Some error occured (click for details)
This is the HTML code for the iframe:
iframe scrolling="auto" src="/de/mytinytodo/page?eid=387&delta=57" style="overflow-y: auto; width: 100%; height: 400px; border: none;"
And we use a multilingual environment - with /de/... (at the URL start, German)
Our site-hp is: www.iuk20beta01.com
Thx in advance
Wr paulap
Comment #24
fizk commentedLet's solve your bug in #1490858: Multilangual install gives error: 404 - Object not found.