Home › Forums › Quform PHP › QuForm works on localhost (WAMP) and gives PHP error once it's live
- This topic has 5 replies, 2 voices, and was last updated 10 years, 6 months ago by invasoria.
- AuthorPosts
- May 28, 2014 at 9:03 am #11083invasoriaParticipant
The following error appears only at the live version of a website:
There was a problem
Fatal error: Cannot redeclare class Quform_Filter_Trim in /volume1/web/MSSG/application-for-employment/quform/lib/Quform/Filter/Trim.php on line 12Did I do anything wrong with the process.php file?
May 28, 2014 at 9:48 am #11084AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
May 28, 2014 at 5:49 pm #11088invasoriaParticipantSent! Thank you. 🙂
May 29, 2014 at 4:47 pm #11096AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
May 29, 2014 at 5:01 pm #11100invasoriaParticipantHi!
Well, something weird’s going on. After trying to reupload the complete folder the following error came up:
There was a problem
Fatal error: Uncaught exception 'Exception' with message 'Filter 'trim' does not exist' in /volume1/web/MSSG/application-for-employment/quform/lib/Quform/Element.php:730
Stack trace:
#0 /volume1/web/MSSG/application-for-employment/quform/lib/Quform/Element.php(212): Quform_Element->_loadFilter('trim', Array)
#1 /volume1/web/MSSG/application-for-employment/quform/process.php(184): Quform_Element->addFilter('trim')
#2 {main}
thrown in /volume1/web/MSSG/application-for-employment/quform/lib/Quform/Element.php on line 730
And now, after manually uploading every file that gave me an error (Trim.php and Element.php) the following error comes up:
There was a problem
An Ajax error occurred.
May 29, 2014 at 5:23 pm #11101invasoriaParticipantThis is veeery strange. I followed the same setup to a different folder and now it’s working there… Seems to be a server/permissions problem. I’ll post something back in case I find a solution or have a final comment.
- AuthorPosts
- You must be logged in to reply to this topic.