-
- 199 Posts
That would be great. FYI: I have only 4 Resources: the default Home, the Contact directory that SPForm creates on install, and a simple About resource
So when I say I see nothing, and since I don’t have an error page, it defaults to the Home resource. The About page displays, no issues with that.
MySQL: 5.0.45
PHP: 5.2.6
Linux 2.6.9-023stab048.6-enterprise #1
cURL enabled
PDO enabled
FFox Apple 3.6.8
Firebug DIS-abled
-
- 24,544 Posts
See if there’s anything in the MODX Error log. Also, make sure the contact form resource has a real template with a DOCTYPE.
[update] I just did a fresh install of MODX 2.1.3 and installed SPForm through Package Manager. It worked fine for me. I also tried installing an upgrade from SPForm 3.1.6 and that worked as well.
-
- 199 Posts
The contact form does have a real template with a DOCTYPE. I tried 2 things:
1) I added an error page. That’s what the Contact page loads.
2) I changed Page Settings for Contact from modResource to modDocument.
Error log has only one item in it. Not sure if it’s related:
[2011-08-07 04:18:00] (ERROR @ /connectors/resource/index.php) Error caching lexicon topic lexicon/en/core/resource
Maybe I’ll try re-installing SPForm? Hmmmm.... be nice to resolve this as I have it working in my 2.1 sites.
MySQL: 5.0.45
PHP: 5.2.6
Linux 2.6.9-023stab048.6-enterprise #1
cURL enabled
PDO enabled
FFox Apple 3.6.8
Firebug DIS-abled
-
- 24,544 Posts
I’m afraid I don’t have much to offer. You’ve probably already tried manually deleting the files in the core/cache directory. Make sure your core/cache directory is writable.
The error message is probably unrelated unless the problem is caused by a corrupted cache that happened in the past.
It’s possible you just have a corrupted download of SPForm -- it happens.
Make sure the core/components/spform/classes/ directory has the two class files and that the four Tpl chunks got installed and named correctly.
What does your SPForm tag look like?
-
- 199 Posts
You’ve probably already tried manually deleting the files in the core/cache directory. Make sure your core/cache directory is writable.
It’s okay to delete EVERYTHING in the core/cache directory?
It’s writable alright.
The 2 class files and 5 TPL chunks were installed. Not sure if they were named correctly but I can figure that out.
My tag form looks like
Do I need some kind of Capcha installed?
MySQL: 5.0.45
PHP: 5.2.6
Linux 2.6.9-023stab048.6-enterprise #1
cURL enabled
PDO enabled
FFox Apple 3.6.8
Firebug DIS-abled
-
- 24,544 Posts
It’s okay to delete EVERYTHING in the core/cache directory?
Absolutely.
You shouldn’t need Captcha unless you have it turned on in the SPForm properties. It’s off by default.
-
- 199 Posts
Uninstalled the package. Removed the package. Cleared the Cache via the Manager. Deleted the directories in the core/cache directory. Paused to see how the site performed. All okay.
Reinstalled SPForm 3.2: same old same old: it throws up an error. The error log doesn’t log anything.
It’s weird Bob, how I occasional problems for Evo and Revo SPForm on some sites while it runs perfect on other sites; all on the same dedicated virtual server.
MySQL: 5.0.45
PHP: 5.2.6
Linux 2.6.9-023stab048.6-enterprise #1
cURL enabled
PDO enabled
FFox Apple 3.6.8
Firebug DIS-abled
-
- 24,544 Posts
Quote from: Peter at Aug 08, 2011, 10:43 PM
Uninstalled the package. Removed the package. Cleared the Cache via the Manager. Deleted the directories in the core/cache directory. Paused to see how the site performed. All okay.
Reinstalled SPForm 3.2: same old same old: it throws up an error. The error log doesn’t log anything.
It’s weird Bob, how I occasional problems for Evo and Revo SPForm on some sites while it runs perfect on other sites; all on the same dedicated virtual server.
When you say "throws up an error" is there an error message?
-
- 199 Posts
Nope. I’ll turn on Debug to see what that shows....
It doesn’t show anything. I have an Error page for, errors, what else? The URL displays "contact.html" but displays my default Error page message.
MySQL: 5.0.45
PHP: 5.2.6
Linux 2.6.9-023stab048.6-enterprise #1
cURL enabled
PDO enabled
FFox Apple 3.6.8
Firebug DIS-abled
-
- 24,544 Posts
Is the Contact page in a protected resource group, by any chance.
If you’re getting forwarded to the error page, it suggests that either the Contact page isn’t published, or it’s protected in some way by security settings.
It neither of those conditions fits. Try putting this at the top of the SPForm snippet (just below the <?php tag):
return "SPForm is Executing";
See if that message shows up on the page when you preview the contact form.