[1]

Sparkus
Subscriber
October 7th, 2008 at 3:55 pm

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.

Permalink | Quote

[2]

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

[3]

Sparkus
Subscriber
October 7th, 2008 at 4:06 pm

Yes I am using wp-super cache. Are they permanently incompatible?

Permalink | Quote

[4]

Sparkus
Subscriber
October 7th, 2008 at 4:25 pm

Hmmm, I deactivated WP-Super-Cache, then activated TDOMF and still got the same errors.

Permalink | Quote

[5]

Sparkus
Subscriber
October 7th, 2008 at 8:31 pm

I guess I’m the only one with this problem. That’s too bad. I’d like to know more before I completely uninstall wp-super-cache to try and get it to work. Uninstalling Super-Cache is a Super-chore.

Permalink | Quote

[6]

philby
Subscriber
October 8th, 2008 at 8:58 am

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.

Permalink | Quote

[7]

admin
Administrator
October 8th, 2008 at 9:14 am

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?)

Permalink | Quote

[8]

philby
Subscriber
October 8th, 2008 at 2:02 pm

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.

Permalink | Quote

[9]

admin
Administrator
October 8th, 2008 at 2:05 pm

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.

Permalink | Quote

[10]

philby
Subscriber
October 8th, 2008 at 2:19 pm

Ah… OK, cool!
(The error warnings do look quite frightening, though — as they should :)

Permalink | Quote

[11]

admin
Administrator
October 8th, 2008 at 2:26 pm

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…

Permalink | Quote

[12]

Sparkus
Subscriber
October 8th, 2008 at 8:03 pm

I double checked that all 4 of those destination folders/file are set to 777 and I’m still getting the two 404 errors.

I guess WP-Super-Cache is just preventing it like you said.

Permalink | Quote

[13]

admin
Administrator
October 9th, 2008 at 11:15 am

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.

Permalink | Quote

[14]

Sparkus
Subscriber
October 9th, 2008 at 2:36 pm

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.

Permalink | Quote

[15]

Sparkus
Subscriber
October 9th, 2008 at 2:40 pm

Check that, for some reason Filezilla wasn’t showing the advanced-cache.php file – but my ISPs file manager is. I’ll get back to you.

Permalink | Quote

[16]

Sparkus
Subscriber
October 9th, 2008 at 2:43 pm

Nope, still didn’t work.

Permalink | Quote

[17]

admin
Administrator
October 10th, 2008 at 10:35 am

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.

Permalink | Quote

[18]

InNeed
Subscriber
November 1st, 2008 at 3:46 am

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

Permalink | Quote

[19]

InNeed
Subscriber
November 1st, 2008 at 4:38 am

Extra info. I tried it out in another blog which is hosted at another hosting vendor, it works! So I guess it is due to the hosting server configuration……

Permalink | Quote

[20]

Mark Cunningham
Administrator
November 3rd, 2008 at 3:53 pm

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.

Permalink | Quote

[21]

HeyAdam
Subscriber
December 1st, 2008 at 6:06 pm

Did anyone find an answer for this?

Permalink | Quote

[22]

Mark Cunningham
Administrator
December 2nd, 2008 at 11:19 am

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.

Permalink | Quote

[23]

Andrew Nagy
Subscriber
January 15th, 2009 at 3:54 pm

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.

Permalink | Quote

[24]

Mark Cunningham
Administrator
January 19th, 2009 at 2:51 pm

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.

Permalink | Quote

[25]

Nouman
Subscriber
April 28th, 2009 at 2:57 am

Hello Everyone,

Please sort out this issue as i am being affected with the this Error: Got a 404 error when checking… Please help out.

Permalink | Quote

[26]

Mark Cunningham
Administrator
May 12th, 2009 at 3:27 pm

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.

Permalink | Quote

[27]

Peter
Subscriber
June 2nd, 2009 at 10:43 pm

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

Permalink | Quote

[28]

hitekhomeless
Subscriber
August 30th, 2009 at 12:59 am

I had this problem. The permissions were correct on the files it mentioned but the directory was not.

chmod 755 tdo-mini-forms

fixed it for me

Permalink | Quote

[29]

wilson
Subscriber
September 1st, 2009 at 4:58 pm

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.

Permalink | Quote

[30]

Steve Rio
Subscriber
December 28th, 2009 at 12:21 am

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

Permalink | Quote

[31]

Ron
Subscriber
January 18th, 2010 at 6:58 pm

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

Permalink | Quote

[32]

Stig
Subscriber
January 25th, 2010 at 12:12 pm

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!

Permalink | Quote

[33]

anthony
Subscriber
February 8th, 2010 at 10:48 am

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

Permalink | Quote

[34]

PanagiotisP
Subscriber
April 10th, 2010 at 7:44 pm

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!

Permalink | Quote

[35]

Greg
Subscriber
August 11th, 2010 at 10:06 am

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

Permalink | Quote

Advertisments

Join the Discussion