Current time: 04-20-2024, 07:16 AM Hello There, Guest! (LoginRegister)


Thread Closed 
Ispcp v1.0.3 testers needed
Author Message
Nuxwin
Unregistered

 
Post: #101
RE: Ispcp v1.0.3 testers needed
Re ;

Not worry, It's a little bug.

Let me say how to fix it:

In the mbox_add_mta_cfg_autorespond_data() subroutine of the /var/www/ispcp/engine/ispcp-mbox-mngr file, searchs and replaces the foreach instance (lines 590 to 598) :

Code:
    # Saving all current production files it they exist
    foreach($main::cfg{'MTA_VIRTUAL_ALIAS_HASH'}, $main::cfg{'MTA_TRANSPORT_HASH'})
    {
        next if(!-e $_);

        $cmd = "$main::cfg{'CMD_CP'} -p $_ $bkp_dir/$_.$timestamp";
        $rs = sys_command_rs($cmd);
        return $rs if($rs !=0);
    }

by

Code:
    # Saving all current production files it they exist
    foreach($main::cfg{'MTA_VIRTUAL_ALIAS_HASH'}, $main::cfg{'MTA_TRANSPORT_HASH'})
    {
        next if(!-e $_);
        my ($fname) = /.*\/(.*)$/;

        $cmd = "$main::cfg{'CMD_CP'} -p $_ $bkp_dir/$fname.$timestamp";
        $rs = sys_command_rs($cmd);
        return $rs if($rs !=0);
    }

After, turn the status (from the frontend as admin) as 'change' and re-run the request (several times if required). I've tried adding, deleting the mail account and too, the autoresponder switching. All work fine now.
11-19-2009 05:36 PM
Roland Offline
Junior Member
*

Posts: 24
Joined: Nov 2009
Reputation: 0
Post: #102
RE: Ispcp v1.0.3 testers needed
on the installation:

Please enter administrator password:
Please repeat administrator password:

Please enter administrator e-mail address: admin-pr@b.btn.ro

E-mail address not valid!


also I cannot submit tickets, logins don't work on track site.
11-20-2009 08:22 PM
Find all posts by this user
Nuxwin
Unregistered

 
Post: #103
RE: Ispcp v1.0.3 testers needed
Hello

In my opinion, that is because you have used a domain of third level with only one character in the first label ; I'll check and fix it.

For the trac issue, we will fix it the next week, after the ispCP team meeting that is planned for sunday. Wink
11-20-2009 08:45 PM
Roland Offline
Junior Member
*

Posts: 24
Joined: Nov 2009
Reputation: 0
Post: #104
RE: Ispcp v1.0.3 testers needed
ok I will post HERE later a long list of issues. only minor stuff, don't worry
11-20-2009 09:29 PM
Find all posts by this user
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #105
RE: Ispcp v1.0.3 testers needed
Please open a new Thread in the Forum "Tickets, Roadmap....". So it's easier to discuss
11-20-2009 09:46 PM
Visit this user's website Find all posts by this user
Nuxwin
Unregistered

 
Post: #106
RE: Ispcp v1.0.3 testers needed
(11-20-2009 08:22 PM)Roland Wrote:  on the installation:

Please enter administrator password:
Please repeat administrator password:

Please enter administrator e-mail address: admin-pr@b.btn.ro

E-mail address not valid!


also I cannot submit tickets, logins don't work on track site.

Ok, you can fix it with the following replacement. In your /var/www/ispcp/engine/setup/ispcp-setup-methods.pl script, searchs and replaces the following line (352):

Quote:if ($rdata =~ /^([\w\W]{1,255})\@([\w][\w-]{0,253}[\w]\.)*([\w][\w-]{0,253}[\w])\.([a-zA-Z]{2,6})$/) {

by them:

See http://www.isp-control.net/forum/thread-...l#pid66889

EDIT: Fixed in the latest revision of branches/omega-1.0.3
11-21-2009 01:33 PM
Roland Offline
Junior Member
*

Posts: 24
Joined: Nov 2009
Reputation: 0
Post: #107
RE: Ispcp v1.0.3 testers needed
same problem with latest revision:


Please enter administrator e-mail address: admin-pr@cc.btn.ro

E-mail address not valid!
11-21-2009 09:07 PM
Find all posts by this user
Nuxwin
Unregistered

 
Post: #108
RE: Ispcp v1.0.3 testers needed
Yes, it's my fault. I'll fix it.

@Benedikt ---> no comment concerning my mistakes please Tongue

EDIT: New version :
Code:
# Note About the syntax validation of the mail adress:
#
# The RFC 2822 list quite a few characters that can be
# used in an email address. However, in practice, the
# mail clients accept a limited version of this list.
#
# This regular expression allows the character list in
# the local part of the email. Regarding the domain part,
# the syntax is much more strict.
#
# Local part:
#
#  Validation is a limited version of the syntax allowed by the RFC 2228.
#
# Domain part:
#
# The syntax is much more strict:
#
# - The dash characters are forbidden in the beginning and end of line;
# - The underscore is prohibited;
# - It requires at least one second level domain in accordance with
#   standards set by the both RFC 952 and 1123;
# - It allows only IPv4 domain literal.
if ($rdata =~ /^
                    # Local part :
                    # Optional segment for the local part
                    (?:[-!#\$%&'*+\/=?^`{|}~\w]+\.)*
                    # Segment required for the local part
                    [-!#\$%&'*+\/=?^`{|}~\w]+
                    # Separator
                    @
                    # Domain part
                    (?:
                        # As common form ( ex. local@domain.tld ) :
                        (?:
                            [a-z0-9](?:
                            (?:[.](?!-))?[-a-z0-9]*[a-z0-9](?:(?:(?<!-)[.](?!-))?[-a-z0-9])*)?
                        )+
                        (?<!-)[.][a-z0-9]{2,6}
                        |
                        # As IPv4 domain literal ( ex. local@[192.168.0.130] )
                        (?:\[(?:(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\.){3}(?:[01]?\d{1,2}|2[0-4]\d|25[0-5])\])
                    )
            $/x
)
        {
11-21-2009 09:19 PM
Roland Offline
Junior Member
*

Posts: 24
Joined: Nov 2009
Reputation: 0
Post: #109
RE: Ispcp v1.0.3 testers needed
Notice: Use of undefined constant VFS_TYPE_DIR - assumed 'VFS_TYPE_DIR' in /var/www/ispcp/gui/client/ftp_choose_dir.php on line 75

Notice: Use of undefined constant VFS_TYPE_DIR - assumed 'VFS_TYPE_DIR' in /var/www/ispcp/gui/client/ftp_choose_dir.php on line 75

Notice: Use of undefined constant VFS_TYPE_DIR - assumed 'VFS_TYPE_DIR' in /var/www/ispcp/gui/client/ftp_choose_dir.php on line 75

Notice: Use of undefined constant VFS_TYPE_DIR - assumed 'VFS_TYPE_DIR' in /var/www/ispcp/gui/client/ftp_choose_dir.php on line 75

Notice: Use of undefined constant VFS_TYPE_DIR - assumed 'VFS_TYPE_DIR' in /var/www/ispcp/gui/client/ftp_choose_dir.php on line 75

Notice: Use of undefined constant VFS_TYPE_DIR - assumed 'VFS_TYPE_DIR' in /var/www/ispcp/gui/client/ftp_choose_dir.php on line 75

Notice: Use of undefined constant VFS_TYPE_DIR - assumed 'VFS_TYPE_DIR' in /var/www/ispcp/gui/client/ftp_choose_dir.php on line 75

Notice: Use of undefined constant VFS_TYPE_DIR - assumed 'VFS_TYPE_DIR' in /var/www/ispcp/gui/client/ftp_choose_dir.php on line 75

Notice: Use of undefined constant VFS_TYPE_DIR - assumed 'VFS_TYPE_DIR' in /var/www/ispcp/gui/client/ftp_choose_dir.php on line 75

Notice: Use of undefined constant VFS_TYPE_DIR - assumed 'VFS_TYPE_DIR' in /var/www/ispcp/gui/client/ftp_choose_dir.php on line 75

when I try to add ftp users.

when I choose dir I mean
(This post was last modified: 11-21-2009 09:45 PM by Roland.)
11-21-2009 09:38 PM
Find all posts by this user
Nuxwin
Unregistered

 
Post: #110
RE: Ispcp v1.0.3 testers needed
(11-21-2009 09:38 PM)Roland Wrote:  ...
Notice: Use of undefined constant VFS_TYPE_DIR - assumed 'VFS_TYPE_DIR' in /var/www/ispcp/gui/client/ftp_choose_dir.php on line 75

when I try to add ftp users.

when I choose dir I mean

ah ah Tongue Already fixed in the latest omega-1.0.3 branch. --> http://www.isp-control.net/ispcp/changeset/2216
11-21-2009 09:46 PM
Thread Closed 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)