- Moderated by:
- Support Team
-
- rank:
-
Freshman
- registered:
- September 2007
- Status:
- offline
- last visit:
- 01.10.07
- Posts:
- 2
I'm trying to do a clean installation of PN 0.764, but I get the following error after the database is created:
Quote
Uploaded Data
pn_headlines updated.
pn_module_vars updated.
pn_users updated.
pn_groups updated.
pn_modules updated.
pn_user_property updated.
pn_admin_category updated.
pn_admin_modules updated.
pn_users updated.
pn_group_membership updated.
Settings successfully installed
pnRender successfully installed
Error: Xanthia not initialised
This happens on WinXP with Apache 2.0.x, PHP5, Mysql 5.0, and clean empty databases. I'm working on a local machine, so no problems with FTP uploads that are missing files. I extracted the full zip-file with the code, so all files must be present.
What else could possibly cause this? -
- rank:
-
Professional
- registered:
- February 2005
- Status:
- offline
- last visit:
- 09.04.08
- Posts:
- 1480
As you are using PHP5, you need to disable strict mode.
Perhaps that would help?
Peter
--
Peace
______________________________________
The commonest cause of problems is solutions. -
- rank:
-
Professional
- registered:
- September 2006
- Status:
- offline
- last visit:
- 21.11.08
- Posts:
- 1450
Or debugging the Xanthia initialization:
in the modules/Xanthia/pninit.php file replace:
Code
if ($dbconn->ErrorNo() != 0) {
pnSessionSetVar('errormsg', _XA_CREATETABLEFAIL." on $table...");
return false;
}
with:
Code
You'll get on the screen the error message returned by the MySQL server and the SQL code to detect what's wrong with it.
If you want can post them here and get a disgnostic.
--
- Mateo T. -
Mis principios... son mis fines -
- rank:
-
Freshman
- registered:
- September 2007
- Status:
- offline
- last visit:
- 01.10.07
- Posts:
- 2
It seems my problem here was indeed due to MySQL5 Strict mode being enabled. Thanks for the pointer.
BTW, since this is a known issue, it seems strange that the installation script doesn't check for it... just like it checks for problematic PHP settings. -
- rank:
-
Professional
- registered:
- December 2003
- Status:
- offline
- last visit:
- 21.11.08
- Posts:
- 2975
BladeBlade
BTW, since this is a known issue, it seems strange that the installation script doesn't check for it... just like it checks for problematic PHP settings.
I would suggest a Feature Request, but .7 is no longer being developed.. .8 does check, IIRC.
--
David Pahl
Zikula Support Team
