WordPress Version: 2.6.2
TDO Mini Forms Version: 0.12.4
Operating System (if known): XP
Webserver Software: Unix
Link to Website: http://www.sprkus.com
Error Message:
Error: Got a 404 error when checking http://www.sprkus.com/wp-content/plugins/tdo-mini-forms/tdomf-form-post.php! This will prevent posts from being submitted. The permissions may be wrong on the tdo-mini-forms folder.
Error: Got a 404 error when checking http://www.sprkus.com/wp-content/plugins/tdo-mini-forms/tdomf-form-ajax.php! This will prevent forms that use AJAX from submitting posts. The permissions may be wrong on the tdo-mini-forms folder.
Hi, I would love to check out this plugin, but i get a couple of errors after I install it. I\’ve confirmed that the tdo-min-forms folder is set to 777. I changed those two folders inside to 777 as well. I even temporarily set the plugins folder AND wp-content folder t 777 and it still didn\’t work. Any suggestions? Thanks.
I have a similar problem here – TDOMF tells me “Got a 406 error when checking …”
Changed the TDOMF folder to 777, same error.
In the server log it says “[admin][08-10-08(9:36:47)] Did not receive a 200 response when checking http://mydomain.com/WP/wp-content/plugins/tdo-mini-forms/tdomf-form-post.php”
WP Super-cache is *not* installed – only plugins are qTranslate, Role Scoper and TDOMF.
Server stats: Apache/2.0.52 (CentOS), PHP 5.2.4.
You have a server/host configuration problem. The files tdomf-form-post.php must be accessible from the web, otherwise you cannot use the forms to submit posts!
What I recommend is checking if you can access the wp-content folder, then the plugins folder and then the tdo-mini-forms folder. i.e.
http://www.sprkus.com/wp-content/
http://www.sprkus.com/wp-content/plugins/
http://www.sprkus.com/wp-content/plugins/tdo-mini-forms/
http://www.sprkus.com/wp-content/plugins/tdo-mini-forms/tdomf-form-post.php
FYI, I was able to get to the tdo-mini-forms folder but not access the tdomf-form-post.php. You should check your hosts error log to see what the error message is (not the tdomf log). You may need to contact your host’s administrator about it.
(or
http://mydomain.com/WP/wp-content/
http://mydomain.com/WP/wp-content/plugins/
http://mydomain.com/WP/wp-content/plugins/tdo-mini-forms/
http://mydomain.com/WP/wp-content/plugins/tdo-mini-forms/tdomf-form-post.php
I assum mydomain.com is not a valid URL?)
Hmmm… my posting seems to have disappeared somewhere. OK, here goes again…
There is no problem whatsoever to access the WP/wp-content/, WP/wp-content/plugins/ and WP/wp-content/plugins/tdo-mini-forms/ folders using a webbrowser, as long as there is an index file in the folder (if that is what you meant).
The files themselves also can be accessed without a problem, here’s some output:
tdomf-form-post.php says “TDOMF: No Form id!”
tdomf-form-ajax.php tells me “alert(‘TDOMF: No Form id!’);”
I even tried setting permissions to 777 recursively for all files and directories inside the tdo-mini-forms directory – I’m still getting “Error: Got a 406 error when checking…” in the TDO mini forms main page in WP-admin.
philby said:
The files themselves also can be accessed without a problem, here’s some output:
tdomf-form-post.php says “TDOMF: No Form id!”
tdomf-form-ajax.php tells me “alert(‘TDOMF: No Form id!’);”
Then you’re good to go. Everything should work. The error that appears might be due to your hosts configuration around outbound links but if you can access tdomf-form-post.php and tdomf-form.ajax.php directly and get those messages than everything is okay, it just appears that the error checking code isn’t working.
There were intended to cut down on support requests. A lot of people didn’t seem realise that tdomf-form-post.php had to be accessible. Having the error means they have a chance to fix it themselves before coming here!
I might see if it makes sense to have a “dismiss” or “disable” error message…
Sparkus, can you access tdomf-form-post.php from the web? Does it says “TDOMF: No Form id!”? If it does, then you can safely ignore the error message.
If you do have wp-super-cache, deactivating it is not enough. Make sure to clear the cache and the in wp-content remove the cache dir and advanced-cache.php. Then disable wp-super-cache. See if the error goes away. If it does, you can then renable wp-super-cache.
No, it says the file isn’t found when I go there from the Web.
I cleared the WP Super Cache’s cache, removed the cache folder in wp-content. I had no advanced-cache.php file in my wp-content folder, only an index.php file, which I left. I then deactivated Super Cache and activated TDO. I still got the same two 404 errors.
wp-content is set to 755 (WP-Cache doesn’t like 777 – the errors didn’t change when I changed it to 777 anyway), tdo-mini-forms folder is set to 777, as is the tdomf-form.post.php file.
I’m looking at my own setup now. I see “advanced-cache.php”, a “cache” dir folder and “wp-cache-config.php”.
What I did was go into wp-super-cache configuration, and set the “WP Super Cache Status” to off. Then clicked the “Delete Cache” and “Delete Expired”. Then I deactivate the plugin. Now I go into wp-content and delete “advanced-cache.php”, “cache” and “wp-cache-config.php”. Finally then, I open my .htaccess and remove the wp-super-cache rules that were automatically added (they are between “# BEGIN WPSuperCache” and “# END WPSuperCache”). That should remove WP Super Cache from your site. Don’t worry, when you reactivate it and turn it back on, everything gets created anew.
The reason you didn’t see “advanced-cache.php” is it’s a “symlinked” file which FileZilla doesn’t always recognise.
Hi, I am trying it out for my new WP blog. I encountered the same error, the 2 404 error. I don’t have Super cache, or any other form of cache plugin, and I tried out in the default theme. I even removed all other plugin just to test. Also, when I tried to access tdomf-form-post.php from the web, I encountered 404 not found error.
Is this because of my hosting server set up? How can I solve this?
Thanks
You need to set the permissions on tdomf-form-post.php and tdomf-form-ajax.php to be viewable from the web. Normally you just run “chmod 755″ on the files, which gives owner read/write/execute access and groups and others read/execute access. But some hosts need them to be set to 777 (read/write/execute for all). Refer to your hosts documentation for what the permissions should be.
HeyAdam said:
Did anyone find an answer for this?
To what specifically? There is a lot covered in this topic. If you’re getting 404 errors when you try to submit a post or try to access tdomf-form-post.php, then you have a host configuration problem and you need to modify the permissions of the files to make them accessible via the web.
I’m getting the same 2 404′s. Here are my URL’s:
http://www.andrewofnagy.net/sandbox/wp-content/plugins/tdo-mini-forms/tdomf-form-post.php
http://www.andrewofnagy.net/sandbox/wp-content/plugins/tdo-mini-forms/tdomf-form-ajax.php
This is a very new install of WP and I don’t have super cache installed. Permissions are set to 777. I can get to all the folders, but not those actual files.
The only thing I can think of is that I have WP installed in the root and also in /sandbox/. The 404 I am getting is the root installation theme, so that’s what I was thinking. Thanks for any help.
Andrew Nagy said:
I’m getting the same 2 404′s. Here are my URL’s:http://www.andrewofnagy.net/sandbox/wp-content/plugins/tdo-mini-forms/tdomf-form-post.php
http://www.andrewofnagy.net/sandbox/wp-content/plugins/tdo-mini-forms/tdomf-form-ajax.php
I assume the permissions on the files is still not right or you’re .htaccess has some configuration that breaks access to them. I’ve had this problem myself on another host, and you just have to get the right combination of permissions on the files.
Nouman said:
Please sort out this issue as i am being affected with the this Error: Got a 404 error when checking… Please help out.
What happens when you create a form and try to submit? This problem is not to do with TDOMF but with configuration of you’re host. The files at the specified URLs must be access from the web so you may need to modify you’re .htaccess or contact you’re host about getting the right permissions on the files and folders.
Right.. One aspect of the problem is solved. When 404 = Wrong permissions, BUT… heres the other part of the problem, when permissions are RIGHT I still get Internal Server Error.
When I try to enter http://mysite.com/wp-content/plugins/tdo-mini-forms/tdomf-post.php and tdomf-ajax.php
Permissions are set to 777 on both files + the whole folder actually.
“Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, postmaster@www.MYSITE.COM (geez, contact myself?!) and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.”
Please help. I’ve been fightin for a couple of hours now. I already fixed a problem with old php version. I found a fix for my webhost.
What should I do with this “Internal Server Error” when trying to access the files?
Any help greatly appreciated,
Thanks
Peter
hi,
im still encoutering the 404 erros on both files. the permission of 777 is set to the whole folder actually but it still doesnt work.
this is the log:
[root][01-09-09(23:28:59)] Did not receive a 200 response when checking http://gpgt.sg/wp-content/plugins/tdo-mini-forms/tdomf-form-post.php:
array (
‘date’ => ‘Tue, 01 Sep 2009 15:28:58 GMT’,
‘server’ => ‘Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4′,
‘x-powered-by’ => ‘PHP/5.2.9′,
‘x-pingback’ => ‘http://gpgt.sg/xmlrpc.php’,
‘expires’ => ‘Thu, 19 Nov 1981 08:52:00 GMT’,
‘cache-control’ => ‘no-store, no-cache, must-revalidate, post-check=0, pre-check=0′,
‘pragma’ => ‘no-cache’,
‘set-cookie’ => ‘PHPSESSID=fa5125024e80142744fba5b1daef78ed; path=/’,
‘connection’ => ‘close’,
‘content-type’ => ‘text/html; charset=UTF-8′,
‘response’ => 500,
)
can someone help me with this? thanks.
Hey,
I’ve been wrestling this same problem for 2 weeks. I’ve had an advanced PHP guy look at this. Nothing!!
What would I put in the .htaccess file that might allow these files to be visible via the web?
I have the permissions correct.
I’m not using any special cache plugins etc.
This plugin is amazing, but can’t believe I can’t get it working! It worked fine locally on my MAMP setup on my mac.. this is nuts.
Also, would be happy to pay thedeadone to trouble shoot this, if you can fix it and tell me why this is happening!
thanks
Steve
This post fixed my problem and I’m not hosted by 1and1
http://wordpress.org/support/topic/204256?replies=16#post-860103
I added the php.ini file with this in it:
allow_url_fopen = On
allow_url_include = On
Fixed
Mark Cunningham said:
You need to set the permissions on tdomf-form-post.php and tdomf-form-ajax.php to be viewable from the web. Normally you just run “chmod 755″ on the files, which gives owner read/write/execute access and groups and others read/execute access. But some hosts need them to be set to 777 (read/write/execute for all). Refer to your hosts documentation for what the permissions should be.
Thanks, this fixed my problem!
when i go to the form hacker i get a ‘Unknown: open(/home/users/web/b63/glo.createyourlead/cgi-bin/tmp/sess_616f3fb609326af74e78bbdc4bafa7e8, O_RDWR) failed: No such file or directory (2) in Unknown on line 0′….and that was after i set my permissions to 750 and i got a ‘no form ID’ which is ok
I had the same problem.
I am using a shared hosting account in Hostgator and had the same error. I tried changing the file permissions that it didn’t work. I deactivated and deleted the TDO MINI FORMS plugin. I deactivated all other plugins. Then I installed and activated the TDO Mini forms plugin and it worked! Then I activated all other plugins. All plugins worked fine!
Hi Guys,
I was having the same problem with TDO on a hostgator account as well. Hostgator seems to throw a server error when a web-accessible directory or file that is writable by group. This will result in the 404′s or 500′s that you are seeing on the TDO Mini Forms admin page, as well as when you try to pull a page up in your browser.
You can fix this by changing the file permissions on all files inside the “wp-content” folder to 755. This will let wordpress write to the files from inside wp-admin as needed, but 755 is not writable by group and thus, will not cause anymore unsightly errors with TDO.
This is a result discovered by comparing a vanilla fantastico wordpress installation with a custom installation I had done on two separate hostgator accounts. Any mistakes made are mine.
Hope this helped!
- Gj
admin
Administrator
October 7th, 2008 at 4:01 pm
Are you using wp-super-cache or super-cache plugins? I’ve found that these plugins can prevent access to files within plugin subfolders (not just TDOMF).
Permalink | Quote