Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
can't create new users
#1
Issues : unable to create new users

Steps to get the error msg :
1) after fresh install, change admin account with new password (ok)
2) create a new group and add admin to it (ok)
3) create a new user

Error msg :
Incorrect integer value: '<?= LetoDMS_Core_User::role_guest ?>' for column 'role' at row 1
INSERT INTO tblUsers (login, pwd, fullName, email, language, theme, comment, role, hidden) VALUES ('test', 'xxxxxxx', 'test user', 'joe@blow.com', 'English', 'clean', 'test', '<?= LetoDMS_Core_User::role_guest ?>', '0')

LetoDMS Version : see output from check.php

LetoDMS Installed URL : ( optional)

PHP version : see output from check.php

MYSQL Version : see output from check.php

Windows or Linux Server : Windows

have you followed the installation instructions from LetoDMS ( yes)


output from check.php:
==========================
LetoDMS 3.0.0 check configuration (check version : 3.00-06)
Check Apache configuration

Apache version: Apache/2.2.19 (Win32) PHP/5.3.6

mod_rewrite : Ok
Check PHP configuration

PHP version: 5.3.6

gd2 : Ok
mbstring : Ok
database - mysql - : Ok
ldap (optional) : Error
Active PHP extension: php_ldap (optional)

Check LetoDMS configuration

settings->_rootDir : Ok
settings->_coreDir : Ok
settings->_httpRoot : Ok
settings->_ADOdbPath : Ok
database : Ok
LetoDMS version: 3.0.0 (2011-06-02 12:09:10)

database : Ok
Check other configuration

Cookies : OK
Informations

Limit size for uploading file (upload_max_filesize): 2M

Limit size for uploading file (post_max_size): 8M

SMTP server (SMTP): localhost

Limits of the execution time (max_execution_time): 30 s

Safe mode (safe_mode): OK

Open Basedir (open_basedir): OK

END
==============================

I found this thread: http://forums.letodms.com/showthread.php?tid=336

and replaced '<? =' with '<?php echo ... ;' in a couple of places in the file 'out/out.UsrMgr.php', and now it works.

can this be fixed in the next release?
Reply


Messages In This Thread
can't create new users - by broebel - 06-03-2011, 02:40 AM

Forum Jump:


Users browsing this thread: