I am using the form handler routines and trying to upgrade to the latest zikula releases. When I try to change this line
class quickcheck_admin_newTFQuestionHandler extends pnFormHanlder {
to
class quickcheck_admin_newTFQuestionHandler extends Form_Handler {
I get this error in my PHP log file.
PHP Fatal error: Class 'Form_Handler' not found in /Applications/MAMP/htdocs/zikula_1_2/modules/Quickcheck/pnadmin.php on line 256
I am trying to do this in zikula 1.2.0 on my site. This code works in 1.3, is it basically an upgrade issue?
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Class Form_Handler not found
-
- Rank: Softmore
- Registered: May 30, 2005
- Last visit: May 31, 2010
- Posts: 340
-
- Rank: Softmore
- Registered: May 30, 2005
- Last visit: May 31, 2010
- Posts: 340
I just did a test upgrade on my home site to 1.2.8, the latest stable release. It did not get rid of the error. Thanks for any help on this. -
- Rank: Softmore
- Registered: May 30, 2005
- Last visit: May 31, 2010
- Posts: 340
More information,
I can get this to work in my 1.3 site on my local server. So the question is, is 1.3 ready for production use? Or can someone propose a quick fix to get this to work in 1.2.8? -
- Rank: Registered User
- Registered: Mar 06, 2011
- Last visit:
- Posts: 37
Zikula isn't upward compatible, if something works in 1.3 it doesn't mean it will also work in 1.2.x. Otoh, a year ago you stated Quickcheck does work in 1.2.4 but didn't work in 1.3.0?
Must be me not understanding what you mean...
Edited by bvdbos3 on Oct 26, 2011 - 12:59 AM. -
- Rank: Team Member
- Registered: Jan 19, 2003
- Last visit: Apr 06, 2010
- Posts: 442
In 1.2.x the old version should work using pnFormHandler.
IMHO Zikula 1.3.1 is ready for production use - at least if all extensions required for the corresponding project are available. But to become sure you must decide this for yourself, as I may totally different use cases than other people.
--
Guite | ModuleStudio -
- Rank: Softmore
- Registered: May 30, 2005
- Last visit: May 31, 2010
- Posts: 340
bvdbos3
Zikula isn't upward compatible, if something works in 1.3 it doesn't mean it will also work in 1.2.x. Otoh, a year ago you stated Quickcheck does work in 1.2.4 but didn't work in 1.3.0?
Must be me not understanding what you mean...Edited by bvdbos3 on Oct 26, 2011 - 12:59 AM.
I am in the process of getting it to work in 1.3 and am there. Now I am going back and trying to get it to still work with 1.2 v for those that can't upgrade at the moment. In other words trying to do some backward compatibility. I had the old version and some stuff must have snuck back into the old version.
Oh jeez this was silly on my part. I need to read the error messages I am getting more carefully. It told me that execute did not exist. So look up the class genius! I did and what I am supposed to call is pnFormExecute. A simple switch and it all works. -
- Rank: Softmore
- Registered: May 30, 2005
- Last visit: May 31, 2010
- Posts: 340
Guite
In 1.2.x the old version should work using pnFormHandler.
IMHO Zikula 1.3.1 is ready for production use - at least if all extensions required for the corresponding project are available. But to become sure you must decide this for yourself, as I may totally different use cases than other people.
Thanks that got me on the right track. I am in the middle of updating a book and really don't want to go through an upgrade. (How difficult is the upgrade from 1.2.4 to 1.3?)
BTW, congratulations on the 0.5.3 release of module studio. I tested it on my mac and it comes up fine. I did not try any work in it, but I will next time I make a new module! Thanks for putting this together.
- Moderated by:
- Support
Users on-line
- 0 users
This list is based on users active over the last 60 minutes.
