SearchSearch   ProfileProfile   Log inLog in   RegisterRegister 

Users quota not created

 
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum
View previous topic :: View next topic  
Author Message
clefranc



Joined: 16 Apr 2008
Posts: 25

PostPosted: Thu Apr 24, 2008 12:10 am    
Post subject: Users quota not created

Hi,
When using Bulk Accounts creation, users quota and other attributes are not created. I can't even enter value in the Users page, I click save and the values are erased. I'm using FirstSpot v5.1.0 on Windows 2003 and SQL 2005 Express.

What I'm doing wrong?

Thanks,
Christian
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Thu Apr 24, 2008 4:30 am    
Post subject:

Sorry, FirstSpot doesn't support SQL Express.

Either you use the default datasource, or use the exact version of MySQL or MS SQL stated in readme.rtf.
_________________
~ Patronsoft Limited ~
Back to top
clefranc



Joined: 16 Apr 2008
Posts: 25

PostPosted: Thu Apr 24, 2008 6:16 pm    
Post subject:

Sorry, my mystake, I've installed MySQL and it work now. But I wonder what's missing in the Express version of SQL Server 2005?

Thanks,
Christian
Back to top
clefranc



Joined: 16 Apr 2008
Posts: 25

PostPosted: Thu Apr 24, 2008 7:37 pm    
Post subject:

Ok, still my mystake, it doesn't work with MySQL and MSSQL. The test I did with MySQL was with a user created using the Users tab, I then created a batch of users with Bulk Accounts. When I try to modify any of them, the values are revert back to original, like MSSQL. Only with the default database, I can change values.

All this because I'm trying to use the TOTAL data transfer on Bulk Accounts, it doesn't copy from the plan I choose (even using the default database).

So now I'm back to square one with another problems : TOTAL data transfer not copied from Plans to Bulk Accounts.

Christian
Back to top
dominic
Forum facilitator


Joined: 23 Oct 2007
Posts: 103

PostPosted: Fri Apr 25, 2008 3:25 am    
Post subject:

Please download the patch file from the link shown below:

http://patronsoft.com/firstspot/download/patch/511/settingok.zip

Then, unzip it and put settingok.php into FirstSpot\cfgmgr directory. Remember to backup the original file before copying.

This problem will be fixed in the coming versions, starting from v5.1.1.
Back to top
clefranc



Joined: 16 Apr 2008
Posts: 25

PostPosted: Fri Apr 25, 2008 4:21 pm    
Post subject:

Thanks Dominic,
The patch solved both problems. I've tested it with the default database and MySQL.

BTW, MSSQL Express works fine too (for the tests I've done so far), so can you tell what's the limitation or missing functionality of the Express edition vs the full one?

Christian
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Fri Apr 25, 2008 4:28 pm    
Post subject:

We never test SQL Express, so we still don't recommend you to use it.
_________________
~ Patronsoft Limited ~
Back to top
clefranc



Joined: 16 Apr 2008
Posts: 25

PostPosted: Fri Apr 25, 2008 6:03 pm    
Post subject:

When using MySQL I can't set "Account is active" to "Now" in the "Users" tab, it go back to "At the user's first login". Also, can you verify that "When it is created" option of the plan's attribute "Account is active" don't set "Now" for the user's attribute "Account is active" when using Bulk Accounts creation (still using MySQL). Default database is OK in both case.

Christian
Back to top
clefranc



Joined: 16 Apr 2008
Posts: 25

PostPosted: Sat Apr 26, 2008 3:52 pm    
Post subject:

To solve this problem I've modified line 760 of ..\authserv\common_functions.php from "if ($smode)" to "if (!is_null($smode))". The code for the $smode variable now look like this:

Code:
    $smode=odbc_result($result,"startmod");
    if (!is_null($smode))
        $smode=round($smode);
    else
        $smode=1;


Let me know if this is correct, I'll modify ..\local\common_functions.php as well.

Christian
Back to top
dominic
Forum facilitator


Joined: 23 Oct 2007
Posts: 103

PostPosted: Mon Apr 28, 2008 3:48 am    
Post subject:

Line 760 needs to be changed from
Code:
if ($smode)

to
Code:
if ($smode != "")


You can also download the patch file from the link shown below:

http://patronsoft.com/firstspot/download/patch/511/common_functions.zip

Then, unzip to get common_functions.php. Put it to both FirstSpot\authserv and FirstSpot\local directories.

This will also be fixed starting from the coming v5.1.1.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group