Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 24th August 2007, 23:45
catdude catdude is offline
Senior Member
 
Join Date: Jun 2007
Posts: 178
Thanks: 1
Thanked 12 Times in 11 Posts
Default Working through the ISPConfig source code

I am looking through the ISPConfig and Remote Framework source code in detail, trying to develop a feel for how a lot of things are done. Right now I'm working through the user addition process.

I've walked through the Remote Framework code. Speficially in config_web.lib.php, I'm looking at the user_add function. I am following what it's doing right up til line 875. I assume this is creating an event to signal ISPConfig to write the added info out to the required disk files.

I am also looking at writeconf.php, around lines 150 through 192. It looks like this is the function that gets called to write out the Postfix virtusertable file. The code in scripts/lib/classes/ispconfig_postfix.lib.php, function make_virtusertable, seems clear enough. What I am not seeing so far is where the mail user info gets written to /etc/passwd. Can anyone point me to that part of the code?

My purpose for this is to troubleshoot the Remote Framework. As I posted last week, I can view records using the Framework but I am not able to add clients, webs, or users. I'd like to figure out why, and possibly even figure out a way to perform these actions by doing direct manipulation of the MySQL databases, just as user_add does, then call the required functions to get the new data flushed to the appropriate disk files.

Any help that any of you can offer to a confused Perl programmer doing his first serious PHP work would be greatly appreciated.
Reply With Quote
Sponsored Links
 

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
fastcgi and php with ispconfig tosser Installation/Configuration 14 18th January 2009 14:41
ISPConfig stopped working malder General 3 8th December 2006 11:22
ISPConfig firewall issue dwyoung Installation/Configuration 5 12th December 2005 11:26
Everything installed and working : The journey begins... happyhd Installation/Configuration 13 1st November 2005 18:38
ISPconfig not working Venkatesh.S Installation/Configuration 2 28th July 2005 14:28


All times are GMT +2. The time now is 02:48.


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