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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #21  
Old 4th November 2013, 22:39
ginner159 ginner159 is offline
HowtoForge Supporter
 
Join Date: May 2013
Location: Silsden, UK
Posts: 112
Thanks: 29
Thanked 6 Times in 6 Posts
Default Bit outa my depth

thanks for the git repo.

as for the rest im abit outa my depth! ive only been learning php whilst making this so im really not sure on what i'm meant to do . I dont want to go and change something in the database and poof all is lost especially if people want a copy of it.

Ill finish this basic api off first then start a new thread for getting technical

3 questions;

1) whats the aux for in the add dns record api array??
2) what should i do about the serial? i know it should be set as YYYYMMDDnn can i just leave it as '' and the api hooks will make it for me or is there some code to set it correctly?


Thanks as always!

Last edited by ginner159; 4th November 2013 at 22:43. Reason: forgot to add question
Reply With Quote
Sponsored Links
  #22  
Old 5th November 2013, 00:41
ginner159 ginner159 is offline
HowtoForge Supporter
 
Join Date: May 2013
Location: Silsden, UK
Posts: 112
Thanks: 29
Thanked 6 Times in 6 Posts
Default DNS creation problem

Hello all,

I thought i had it setup correctly to automatically create a dns zone and add a few dns records but im getting a soap error like this:

data_processing_errormbox_error_regex<br />
SOAP Error: mbox_error_regex

ive attached the php file. It makes the client and creates a website perfectly fine can anyone point out what im doing wrong? i think its that point of looking at it so much i cannot see my mistake
Attached Files
File Type: txt client_add.txt (24.4 KB, 24 views)
Reply With Quote
The Following User Says Thank You to ginner159 For This Useful Post:
Insowenna (9th November 2013)
  #23  
Old 5th November 2013, 07:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,490 Times in 4,322 Posts
Default

The value for the mbox field of the zone is wrong. This value is a email address were yiu replace the @ with a dot.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #24  
Old 6th November 2013, 17:57
ginner159 ginner159 is offline
HowtoForge Supporter
 
Join Date: May 2013
Location: Silsden, UK
Posts: 112
Thanks: 29
Thanked 6 Times in 6 Posts
Default

in my scrpit tho i have set it so that it creates a variable from the email entered which does a replace of the @ cymbol for a dot on line 401. Or have i not used the correct php function?
Reply With Quote
  #25  
Old 6th November 2013, 18:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,490 Times in 4,322 Posts
Default

The error "mbox_error_regex" meas that the regex which is defined for the mbox field in the dns_soa form file failed. so something must be wring with the value that you send to the function that adds the zone.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
ginner159 (6th November 2013)
  #26  
Old 6th November 2013, 18:56
ginner159 ginner159 is offline
HowtoForge Supporter
 
Join Date: May 2013
Location: Silsden, UK
Posts: 112
Thanks: 29
Thanked 6 Times in 6 Posts
Default

found it! forgot the trailing dot!

is there anyway to auto increment the customer number?
Reply With Quote
  #27  
Old 6th November 2013, 19:06
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,395
Thanks: 833
Thanked 5,490 Times in 4,322 Posts
Default

Quote:
Originally Posted by ginner159 View Post
found it! forgot the trailing dot!

is there anyway to auto increment the customer number?
This will be available in the next update (3.0.5.4).
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #28  
Old 6th November 2013, 19:54
ginner159 ginner159 is offline
HowtoForge Supporter
 
Join Date: May 2013
Location: Silsden, UK
Posts: 112
Thanks: 29
Thanked 6 Times in 6 Posts
 
Default

Awesome! is there anything i can do as a temporary fix?
Reply With Quote
Reply

Bookmarks

Tags
api, hosting, ispconfig 3, web design, web interface

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
Domain Name + SSL Purchasing/Setup API agentmoller001 Plugins/Modules/Addons 14 21st August 2014 09:47
API for third party modules SupuS General 1 6th October 2012 10:52
Comments please: Ubuntu, zarafa, bind, samba, ldap guide aptnet Suggest HOWTO 1 21st February 2012 13:35
Folder Protection API snowfly General 4 9th January 2012 08:15
ISPConfig3 + API + BoxBilling class450dude Installation/Configuration 3 22nd August 2011 22:32


All times are GMT +2. The time now is 07:52.


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