Topic RSS
7:21 pm
All cforms data has been erased!
Please go to your Plugins tab and either disable the plugin, or toggle its status (disable/enable) to revive cforms!
7:56 pm
March 6, 2005
OfflineIt looks like – for some reason – that the plugin can't set & save it's basic/default settings to the WP options database.
The reason you see this message is due to the form count being 0, whereas when activating the plugin it should be set to 1 (for the default form).
Can you access yor WP tables directly? You could check if any cforms_* entries exist in your wp_options table…which I doubt, just based on what you're seeing.
Unfortunately, I have not a clue as to why your implementation of WP is not letting cforms write to its tables…
8:37 pm
March 6, 2005
OfflineThat's what I figured. So we're still at square one:
It looks like – for some reason – that the plugin can't set & save it's basic/default settings to the WP options database. Why?
Does it work with other plugins?
Do you have a special wp_config setup?
Anything else that could interfere with a plugin writing to your WP DB?
9:14 pm
I don't know too much about MySQL but I don't think there's anything special there.
Other plugins work OK. (Akisme, Event Calendar, Math Comment Spam Protection, WP-dTree, WP-Scriptaculous and wpPHPMailer)
No special wp-config
<?php
// ** MySQL settings ** //
define('DB_NAME', 'wordpress'); // The name of the database
define('DB_USER', '****'); // Your MySQL username
define('DB_PASSWORD', '****'); // …and password
define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value// You can have multiple installations in one database if you give each a unique prefix
$table_prefix = 'wp_'; // Only numbers, letters, and underscores please!// Change this to localize WordPress. A corresponding MO file for the
// chosen language must be installed to wp-includes/languages.
// For example, install de.mo to wp-includes/languages and set WPLANG to 'de'
// to enable German language support.
define ('WPLANG', 'us');/* That's all, stop editing! Happy blogging. */
define('ABSPATH', dirname(__FILE__).'/');
require_once(ABSPATH.'wp-settings.php');
?>
I can't think of anything that would stop it from writting to the DB (especially since WP writes to it fine).
9:25 pm
OK, I just logged on to WP admin on the server itself and it worked fine so it must be something in our firewall (maybe) but anyways, it works and I'm narrowing down the problems.
Thanks for you quick responses,
Rob
4:23 am
OK, I got it all installed and the admin is working.
I put a form on a oage but when I submit it i get '405 Method not allowed'
I'm pretty sire this is a problem with a application mapping in IIS but what do i need to add to IIS?
I have .php allow all verbs. Not sure what else it could be.
Thanks for any help,
Rob
8:09 am
March 6, 2005
OfflineRob,
Sorry I can't be of much help, but neither have I any experience with IIS nor have I ever run into issues with web servers complaining about cforms.
If you've turned on DB Tracking and use attachments, check writing permissions on the upload directory.
Also, quickly google'ing I found this link, excerpt:
Cause
The file type is not registered in the IIS script map settings (e.g. .html or .htm). IIS 5.1 only allows HTTP requests of type to GET to unmapped files. HTTP requests of type POST, HEAD, and all others are responded to with a 405 resource not allowed error.
As a security note, you should always remove unused script mappings. This is the default behavior of IIS 6, which will only serve named extensions and refuse all others.
Resolution
Add a script map for the extension. A script map associates a particular file type with a given script module. The web server runs the module on the given file and sends the output to the browser, instead of sending the file directly to the browser.
- Go to "Control Panel"-"Administrative Tools"-"Internet Information Services".
- Expand the tree to "COMPUTERNAME"-"Web Sites"-"Default Web Site".
- Right-click on "Default Web Site" and select "Properties". (Alternately, select "Default Web Site" and press Alt+Enter.)
- Select the "Home Directory" tab.
- Click the "Configuration" button.
- From the "Mappings" tab, select the "Add" button.
- Click the "Browse…" button, choose "Dynamic Link Libraries *.dll" from the "Files of Type" dropdown, and select c:\\WINDOWS\\System32\\inetsrv\\asp.dll.
- Type ".html" (without quotes) in the "Extension" box.
- Select the "Limit to:" radio button, and type in "GET, POST" (without quotes) in the box next to it.
- Click the "OK" button and close all the dialogs. (If the "OK" button is greyed out, then make sure all the entries are correct and try clicking in the file name box.)
See the screen shot below. You must adjust the above instructions to your particular OS, web site configuration, and file type. You can associate the file type with a different script engine besides asp.dll, which is the ASP 3.0 script engine. There is no need to give IWAM_COMPUTERNAME permission to the file, only IUSR_COMPUTERNAME needs NTFS read and execute permission.
8:24 am
March 6, 2005
OfflineThere is another PHP error on your page:
PHP Notice: Undefined variable: HTTP_SERVER_VARS in C:\\Inetpub\\development\\wordpress\\wp-content\\plugins\\wp-dtree\\dtree.php on line 38
May or may not have to do with the above.
3:55 pm
I turned on tracking but when I go to to the tracking tab I found this:
No data available at this time.
I guess it's not getting far enough to send anything to the tables?
I found that google link but it didn't help.
I removed the plugin wp-tree that was giving the error.
6:22 pm
March 6, 2005
OfflineMy guess is, that your server has an issue with the form POST method, but I have no clue how to resolve it.
Any IIS specialists here?
Have you tried other contact form plugins?
2:20 am
Finially figured it out!
My permalinks were set to something like this:
http://www.mysite.com/?page_id=38
It needs to be:
http://www.mysite.com/index.php/?page_id=38
IIS needs to see the .php in there somewhere so it knows how to handle the request.
7:55 am
March 6, 2005
OfflineAaaaah, good to know! Thanks for the update and I'm glad it's working now!
4:35 pm
I am on a linuix server and I get the same error message.
What would I need to check?
Thanks in advance.
Let me know if you need any more info from me.
7:53 am
March 6, 2005
Offline9:21 pm
March 6, 2005
OfflineLooked at your site, but can neither see the form, nor an error.
2:09 am
That's exactly the point.
I activated the plug-in and I only get the following :
All cforms data has been erased!
Please go to your Plugins tab and either disable the plugin, or toggle its status (disable/enable) to revive cforms!
I have toggled status several times and
I also installed the new version 5.0 and still nada…
7:57 am
March 6, 2005
OfflineThe only reason for why this appears is non existing form count setting (in wp_options: cforms_formcount).
During activation and if no cforms data is available, the plugin starts from scratch and creates a first set of data (with default form), including the above setting.
- have you had cforms installed and working earlier?
- can you access your wp_options (via DB admin tools) table in your WP installation to see if any 'cforms_…' option has been set ?
- is there anything special about your WP/server that would not allow a plugin to write to wp_options?
6:06 pm
1. This is the first time I have run cforms, it has never worked. Is there a setting I need to set manually?
2. I didn't find any fields within the wp_options table. Let me know if there is a specifc area that you want me to check.
I just see the following:
| option_id | bigint(20) |
FAQs
Home
Add Reply
Add Topic
Quote









