Start ::
Extensions and Distributions Support ::
Modules ::
Error when installing the SendForm module
Moderated by: Support Team
-
- rank:
-
Freshman
- registered:
- March 2003
- Status:
- offline
- last visit:
- 09.04.08
- Posts:
- 33
Hope someone can help me. I have PostNuke 0.8 RC2 installed and tried to install the SendForm module. When initializing I get this error in the admin panel.
_PNC_DBCREATETABLEERROR - (users) - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMES
Any ideas? -
- rank:
-
Helper
- registered:
- August 2003
- Status:
- offline
- last visit:
- 02.09.08
- Posts:
- 394
mmh, I would have to try what it does in my install now. Hold on ...
I tried on SVN version from last weekend. Install goed ok, only one remark about dir pnTemp/SendForm not existing. But the install goes ahead and succeeds. A good idea would be to use RC3 at least.
edited by: espaan, Apr 09, 2008 - 12:55 AM
-----
http://www.erikspaan.nl
http://www.avwijchen.nl
Involved in: BlankTheme, StoriesExt, Menu templates, SmugView, ValueAddon News and zikula.nl -
- rank:
-
Helper
- registered:
- August 2003
- Status:
- offline
- last visit:
- 02.09.08
- Posts:
- 394
You're running RC2, that's a Release Candidate already. In RC3 a lot of bugs have been resolved already. So IMO only benifcial. Release Candidates come without waranties off course.
-----
http://www.erikspaan.nl
http://www.avwijchen.nl
Involved in: BlankTheme, StoriesExt, Menu templates, SmugView, ValueAddon News and zikula.nl -
- rank:
-
Freshman
- registered:
- March 2003
- Status:
- offline
- last visit:
- 09.04.08
- Posts:
- 33
I upgraded to RC3. The site went down. After a few minutes with the heart pounding it went up and running with RC3. Sadly it didnīt change anything. The SendForm module still gives the same error.
_PNC_DBCREATETABLEERROR - (users) - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMES
-
- rank:
-
Helper
- registered:
- August 2003
- Status:
- offline
- last visit:
- 02.09.08
- Posts:
- 394
mmhh, strange. What version of MySQL and PHP are you running?
I tested with PHP 5.2.3 and MySQL 5.0.19
it's the DB creation piece of code that is executed in pninit.php that gives the error. Aparantly the ON UPDATE statement is not taken in.
Do you have phpMyAdmin available for database access? You can try to get the database in there manually and see if it gives the same error:
-----
http://www.erikspaan.nl
http://www.avwijchen.nl
Involved in: BlankTheme, StoriesExt, Menu templates, SmugView, ValueAddon News and zikula.nl -
- rank:
-
Helper
- registered:
- August 2003
- Status:
- offline
- last visit:
- 02.09.08
- Posts:
- 394
The easiest way is to leave out the ON UPDATE statement. You should adapt pninit accordingly:
-----
http://www.erikspaan.nl
http://www.avwijchen.nl
Involved in: BlankTheme, StoriesExt, Menu templates, SmugView, ValueAddon News and zikula.nl -
- rank:
-
Software Foundation
- registered:
- Status:
- offline
- last visit:
- 31.08.08
- Posts:
- 4474
you should at the very least upgrade to the latest mysql 4.1.x build - mysql 4.0.x had various 'strange' issues and is completly deprecated.
-----
regards from germany
..::[Zikula Application Framework]::.. ..::[SEO-Blog]::.. ..::[CMS Sicherheit]::.. -
- rank:
-
Helper
- registered:
- August 2003
- Status:
- offline
- last visit:
- 02.09.08
- Posts:
- 394
And do check out the update of Sendform 0.5.3
here
-----
http://www.erikspaan.nl
http://www.avwijchen.nl
Involved in: BlankTheme, StoriesExt, Menu templates, SmugView, ValueAddon News and zikula.nl
Start ::
Extensions and Distributions Support ::
Modules ::
Error when installing the SendForm module
