ispCP - Board - Support
ispCP Omega 1.0.3 Stable Release - 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 Omega 1.0.3 Stable Release (/thread-8821.html)

Pages: 1 2


RE: ispCP Omega 1.0.3 Stable Release - bkxxl - 12-25-2009 12:54 AM

Quote:Use of uninitialized value $value in concatenation (.) or string at /var/www/ispcp/engine/setup/../ispcp_common_methods.pl line 1862.
/var/www/ispcp/engine/setup/ispcp-permission-functions.sh: 60: function: not found
/bin/chmod: missing operand after `.'
Try `/bin/chmod --help' for more information.
/bin/chmod: invalid mode: `./set-gui-permissions.sh'
Try `/bin/chmod --help' for more information.
/var/www/ispcp/engine/setup/ispcp-permission-functions.sh: 70: Syntax error: "}" unexpected
ERROR: External command '/bin/sh /var/www/ispcp/engine/setup/set-gui-permissions.sh' returned '2' status !

I get this error by installing the ISPCP Version 1.0.0.3-1 on Ubuntu 9.04


RE: ispCP Omega 1.0.3 Stable Release - Nuxwin - 12-25-2009 01:14 AM

Hi ;

New installation or update ? In my opinion, we do not follow instructions properly.


RE: ispCP Omega 1.0.3 Stable Release - bkxxl - 12-25-2009 01:33 AM

I Downloaded the actual Version from ISPCP Homepage, and installed it via Ubuntu INSTALL Readme Step by Step.

No Upgrade, full Installation.


RE: ispCP Omega 1.0.3 Stable Release - Nuxwin - 12-25-2009 02:58 AM

Ok ;

I'll install ubuntu 9.4 and test. Maybe POSIX related problem because we are rewritten the permissions script with bash feature.

Edit:

Code:
# dash -n ./ispcp-permission-functions.sh
./ispcp-permission-functions.sh: 70: Syntax error: "}" unexpected

Explanations concerning this issue:

This is a problem of shell. On Ubuntu, the default shell is Dash.

The shell can not run scripts using the extended functionality of Bash. The scripts executed by this interpreter must use only POSIX functionality.

We have just re-write the script permissions and we have completely forgotten this question. Indeed, currently, the script engine/setup/ispcp-permissions-function.sh incorporates extended functionality of bash (function declaration).

Unfortunately, the version 1.0.3-1 is already available, I can't change the package.

I'm going to correct the scripts and suggest a new link. Wink

EDIT: Go to http://www.isp-control.net/forum/thread-8938.html

Note: For the first error:
Code:
Use of uninitialized value $value in concatenation (.) or string at /var/www/ispcp/engine/setup/../ispcp_common_methods.pl line 1862.

It's just because the ispcp.conf file has a blank configuration value -->
Code:
OTHER_ROOTKIT_LOG =

I'll fix it for 1.0.4.


RE: ispCP Omega 1.0.3 Stable Release - kilburn - 12-25-2009 10:53 PM

My fault. I used the "#!/bin/sh" whereas I should have used "#!/bin/bash" when using bash-specific functions. Sorry!


RE: ispCP Omega 1.0.3 Stable Release - legion726 - 01-07-2010 08:45 PM

When you download zip archive in filemanager displayed error

Quote:Warning: ftp_mkdir() [function.ftp-mkdir]: /htdocs/backup/: Файл существует in /var/www/ispcp/gui/tools/filemanager/includes/filesystem.inc.php on line 493

Warning: ftp_mkdir() [function.ftp-mkdir]: /htdocs/engine/: Файл существует in /var/www/ispcp/gui/tools/filemanager/includes/filesystem.inc.php on line 493

Warning: ftp_mkdir() [function.ftp-mkdir]: /htdocs/engine/inc/: Файл существует in /var/www/ispcp/gui/tools/filemanager/includes/filesystem.inc.php on line 493

Warning: ftp_mkdir() [function.ftp-mkdir]: /htdocs/engine/skins/: Файл существует in /var/www/ispcp/gui/tools/filemanager/includes/filesystem.inc.php on line 493

Warning: ftp_mkdir() [function.ftp-mkdir]: /htdocs/engine/skins/images/: Файл существует in /var/www/ispcp/gui/tools/filemanager/includes/filesystem.inc.php on line 493

Warning: ftp_mkdir() [function.ftp-mkdir]: /htdocs/templates/: Файл существует in /var/www/ispcp/gui/tools/filemanager/includes/filesystem.inc.php on line 493

Warning: ftp_mkdir() [function.ftp-mkdir]: /htdocs/templates/TPL/: Файл существует in /var/www/ispcp/gui/tools/filemanager/includes/filesystem.inc.php on line 493

Warning: ftp_mkdir() [function.ftp-mkdir]: /htdocs/templates/TPL/bbcodes/: Файл существует in /var/www/ispcp/gui/tools/filemanager/includes/filesystem.inc.php on line 493

Warning: ftp_mkdir() [function.ftp-mkdir]: /htdocs/templates/TPL/images/: Файл существует in /var/www/ispcp/gui/tools/filemanager/includes/filesystem.inc.php on line 493

But the file is downloaded and decompressed