Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th June 2006, 17:36
Jose Gosalbez Jose Gosalbez is offline
Junior Member
 
Join Date: May 2006
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default USER INSERT/UPDATE SCRIPT with framework

I have a MYSQL database with many users and passwords... I have inserted all in the ISPConfig with a php SCRIPT. Works fine.

My insert script is a PHP Code based in the examples of ISP FRAMEWORK ADDON. Works fine but doesnt enable the SPAM DISCARD option for users.

After, I was created a Update Script for enable this options and others, but the scripts runs a few updates and stop and show the following message:

Error: Client: Status field is not empty.

If I wait a few seconds, and try again the error is shown but the ID for the user is bigger.

Each time the scripts update 10 or 15 users. But I have more than 1000 users...

Why?

Thanks...
Reply With Quote
Sponsored Links
  #2  
Old 10th June 2006, 20:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by Jose Gosalbez
Error: Client: Status field is not empty.
This means that the status field in the table isp_isp_user isn't empty. Most probably you have a "u" in it because the user is currently being updated. You might have to wait a little bit until the update is over.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Statistic not working mzo Installation/Configuration 49 20th April 2011 12:19
Automatic user creation script with PHP and SOAP Jose Gosalbez Installation/Configuration 2 24th May 2006 18:11
User deleted from user groups bogdinator General 2 28th March 2006 21:26
how to delete user - it's a ghost Cirox Installation/Configuration 3 19th March 2006 22:25
Suggestion: Use mySQL script for installation Dee General 1 17th February 2006 10:02


All times are GMT +2. The time now is 06:28.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.