ispCP - Board - Support
Ispcp v1.0.3 testers needed - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Announcements (/forum-6.html)
+--- Thread: Ispcp v1.0.3 testers needed (/thread-7707.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


RE: Ispcp v1.0.3 testers needed - Nuxwin - 11-19-2009 05:36 PM

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.


RE: Ispcp v1.0.3 testers needed - Roland - 11-20-2009 08:22 PM

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.


RE: Ispcp v1.0.3 testers needed - Nuxwin - 11-20-2009 08:45 PM

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


RE: Ispcp v1.0.3 testers needed - Roland - 11-20-2009 09:29 PM

ok I will post HERE later a long list of issues. only minor stuff, don't worry


RE: Ispcp v1.0.3 testers needed - gOOvER - 11-20-2009 09:46 PM

Please open a new Thread in the Forum "Tickets, Roadmap....". So it's easier to discuss


RE: Ispcp v1.0.3 testers needed - Nuxwin - 11-21-2009 01:33 PM

(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-7707-post-66889.html#pid66889

EDIT: Fixed in the latest revision of branches/omega-1.0.3


RE: Ispcp v1.0.3 testers needed - Roland - 11-21-2009 09:07 PM

same problem with latest revision:


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

E-mail address not valid!


RE: Ispcp v1.0.3 testers needed - Nuxwin - 11-21-2009 09:19 PM

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
)
        {



RE: Ispcp v1.0.3 testers needed - Roland - 11-21-2009 09:38 PM

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


RE: Ispcp v1.0.3 testers needed - Nuxwin - 11-21-2009 09:46 PM

(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