Current time: 12-13-2018, 12:26 PM Hello There, Guest! (LoginRegister)


Thread Closed 
ispCP Omega 1.0.3 Stable Release
Author Message
bkxxl Offline
Junior Member
*

Posts: 50
Joined: Dec 2007
Reputation: 0
Post: #11
RE: ispCP Omega 1.0.3 Stable Release
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
12-25-2009 12:54 AM
Visit this user's website Find all posts by this user
Nuxwin
Unregistered

 
Post: #12
RE: ispCP Omega 1.0.3 Stable Release
Hi ;

New installation or update ? In my opinion, we do not follow instructions properly.
12-25-2009 01:14 AM
bkxxl Offline
Junior Member
*

Posts: 50
Joined: Dec 2007
Reputation: 0
Post: #13
RE: ispCP Omega 1.0.3 Stable Release
I Downloaded the actual Version from ISPCP Homepage, and installed it via Ubuntu INSTALL Readme Step by Step.

No Upgrade, full Installation.
(This post was last modified: 12-25-2009 01:33 AM by bkxxl.)
12-25-2009 01:33 AM
Visit this user's website Find all posts by this user
Nuxwin
Unregistered

 
Post: #14
RE: ispCP Omega 1.0.3 Stable Release
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.
12-25-2009 02:58 AM
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #15
RE: ispCP Omega 1.0.3 Stable Release
My fault. I used the "#!/bin/sh" whereas I should have used "#!/bin/bash" when using bash-specific functions. Sorry!
(This post was last modified: 12-28-2009 04:47 AM by RatS.)
12-25-2009 10:53 PM
Visit this user's website Find all posts by this user
legion726 Offline
Junior Member
*

Posts: 19
Joined: Dec 2009
Reputation: 0
Post: #16
RE: ispCP Omega 1.0.3 Stable Release
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
01-07-2010 08:45 PM
Find all posts by this user
Thread Closed 


Forum Jump:


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