ispCP - Board - Support
--== Software Installer -> NEW VERSION RC4 Realese==-- NICHT FÜR 1.0.7 RC - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega International Area (/forum-22.html)
+--- Forum: German Corner (/forum-26.html)
+--- Thread: --== Software Installer -> NEW VERSION RC4 Realese==-- NICHT FÜR 1.0.7 RC (/thread-7461.html)



RE: ispCP Software Installer -> NEW VERSION RC2 Realese - enrico73 - 05-09-2010 04:18 PM

(05-09-2010 06:15 AM)ZooL Wrote:  was steht denn in der zeile 208 ?

mfg

(05-09-2010 08:59 AM)FISA4 Wrote:  
(05-09-2010 03:27 AM)enrico73 Wrote:  ...
Ps. hatte eine andere Version installiert gehabt und die neue drüber installiert.
Gruß Rico

Daran könnte es liegen.
Benutzt Du denn auch ispCP 1.0.5 ?
Wenn ja, dann hätte eine vorherige Version vom Installer nicht 100%ig lauffähig sein dürfen.

Sieht bei Dir die While-Schleife so aus ???
PHP Code:
        while ($data $rs->FetchRow()) {
            list(
                
$hp_php,
                
$hp_cgi,
                
$hp_sub,
                
$hp_als,
                
$hp_mail,
                
$hp_ftp,
                
$hp_sql_db,
                
$hp_sql_user,
                
$hp_traff,
                
$hp_disk,
                
$hp_backup,
                
$hp_dns,
                
$hp_allowsoftware
            
) = explode(";"$data['props']); 

Gruß

FISA4

Hi,
sieht bei mir genauso aus. hm
Was mir auffällt das beim Tarif ändern
z.b. bei Anzahl Subdomains --> {TR_MAX_SUB_LIMITS} im Feld drin steht. Bei den anderen auch.
Denke es kann nicht aus der DB gelesen werden oder so.

Beim speichern kommt dann oben ein Fehler.
Array
Array
Array
Array
Array
Array
Array
Array


Am besten wär wenn ich eine orginal geänderte Datei hätte. Also mit den Installer drin. Zum Vergleich.
Der Fehler kann natürlich auch in einer anderen Datei sein.

Bei Install hat er mit immer Dateien wie diese angelegt.
hosting_plan.php.rej

Inhalt:
PHP Code:
***************
*** 
41,46 ****
  
$tpl->define_dynamic('page'Config::get('RESELLER_TEMPLATE_PATH') . '/hosting_plan_add.tpl');
  
$tpl->define_dynamic('page_message''page');
  
$tpl->define_dynamic('logged_from''page');
  
  
$theme_color Config::get('USER_INITIAL_THEME');
  
--- 
41,47 ----
  
$tpl->define_dynamic('page'Config::get('RESELLER_TEMPLATE_PATH') . '/hosting_plan_add.tpl');
  
$tpl->define_dynamic('page_message''page');
  
$tpl->define_dynamic('logged_from''page');
$tpl->define_dynamic('t_software_support''page');
  
  
$theme_color Config::get('USER_INITIAL_THEME');
  
***************
*** 
78,83 ****
                  
'TR_MAX_TRAFFIC'            => tr('Traffic limit [MB]<br><i>(0 unlimited)</i>'),
                  
'TR_DISK_LIMIT'                => tr('Disk limit [MB]<br><i>(0 unlimited)</i>'),
                  
'TR_PHP'                    => tr('PHP'),
                  
'TR_CGI'                    => tr('CGI / Perl'),
                  
'TR_DNS'                    => tr('Allow adding records to DNS zone (EXPERIMENTAL)'),
                  
'TR_BACKUP'                    => tr('Backup'),
--- 
79,85 ----
                  
'TR_MAX_TRAFFIC'            => tr('Traffic limit [MB]<br><i>(0 unlimited)</i>'),
                  
'TR_DISK_LIMIT'                => tr('Disk limit [MB]<br><i>(0 unlimited)</i>'),
                  
'TR_PHP'                    => tr('PHP'),
+                 
'TR_SOFTWARE_SUPP'            => tr('Software installation'),
                  
'TR_CGI'                    => tr('CGI / Perl'),
                  
'TR_DNS'                    => tr('Allow adding records to DNS zone (EXPERIMENTAL)'),
                  
'TR_BACKUP'                    => tr('Backup'),
***************
*** 
111,117 ****
  } else {
      
gen_empty_ahp_page($tpl);
  }

  
gen_page_message($tpl);
  
  
$tpl->parse('PAGE''page');
--- 
113,119 ----
  } else {
      
gen_empty_ahp_page($tpl);
  }
get_reseller_software_permission (&$tpl,&$sql,$_SESSION['user_id']);
  
gen_page_message($tpl);
  
  
$tpl->parse('PAGE''page');
***************
*** 
145,150 ****
                      
'HP_DESCRIPTION_VALUE'    => '',
                      
'TR_PHP_YES'            => '',
                      
'TR_PHP_NO'                => 'checked="checked"',
                      
'TR_CGI_YES'            => '',
                      
'TR_CGI_NO'                => 'checked="checked"',
                      
'VL_BACKUPD'            => '',
--- 
147,154 ----
                      
'HP_DESCRIPTION_VALUE'    => '',
                      
'TR_PHP_YES'            => '',
                      
'TR_PHP_NO'                => 'checked="checked"',
+                     
'VL_SOFTWAREY'            => '',
+                     
'VL_SOFTWAREN'            => 'checked="checked"',
                      
'TR_CGI_YES'            => '',
                      
'TR_CGI_NO'                => 'checked="checked"',
                      
'VL_BACKUPD'            => '',
***************
*** 
172,178 ****
      global 
$hp_ftp$hp_sql_db$hp_sql_user;
      global 
$hp_traff$hp_disk;
      global 
$price$setup_fee$value$payment$status;
-     global 
$hp_backup$hp_dns;
  
      
$tpl->assign(
              array(
--- 
176,182 ----
      global 
$hp_ftp$hp_sql_db$hp_sql_user;
      global 
$hp_traff$hp_disk;
      global 
$price$setup_fee$value$payment$status;
+     global 
$hp_backup$hp_dns$hp_allowsoftware;
  
      
$tpl->assign(
              array(
***************
*** 
197,202 ****
              array(
                      
'TR_PHP_YES'    => ($hp_php == '_yes_') ? 'checked="checked"' '',
                      
'TR_PHP_NO'        => ($hp_php == '_no_') ? 'checked="checked"' '',
                      
'TR_CGI_YES'    => ($hp_cgi == '_yes_') ? 'checked="checked"' '',
                      
'TR_CGI_NO'        => ($hp_cgi == '_no_') ? 'checked="checked"' '',
                      
'VL_BACKUPD'    => ($hp_backup == '_dmn_') ? 'checked="checked"' '',
--- 
201,208 ----
              array(
                      
'TR_PHP_YES'    => ($hp_php == '_yes_') ? 'checked="checked"' '',
                      
'TR_PHP_NO'        => ($hp_php == '_no_') ? 'checked="checked"' '',
+                     
'VL_SOFTWAREY'    => ($hp_allowsoftware == '_yes_') ? 'checked="checked"' '',
+                     
'VL_SOFTWAREN'    => ($hp_allowsoftware == '_no_') ? 'checked="checked"' '',
                      
'TR_CGI_YES'    => ($hp_cgi == '_yes_') ? 'checked="checked"' '',
                      
'TR_CGI_NO'        => ($hp_cgi == '_no_') ? 'checked="checked"' '',
                      
'VL_BACKUPD'    => ($hp_backup == '_dmn_') ? 'checked="checked"' '',
***************
*** 
222,228 ****
      global 
$hp_ftp$hp_sql_db$hp_sql_user;
      global 
$hp_traff$hp_disk;
      global 
$price$setup_fee$value$payment$status;
-     global 
$hp_backup$hp_dns;
  
      
$ahp_error         = array();
  
--- 
228,234 ----
      global 
$hp_ftp$hp_sql_db$hp_sql_user;
      global 
$hp_traff$hp_disk;
      global 
$price$setup_fee$value$payment$status;
+     global 
$hp_backup$hp_dns$hp_allowsoftware;
  
      
$ahp_error         = array();
  
***************
*** 
268,274 ****
      if (isset(
$_POST['backup'])) {
          
$hp_backup $_POST['backup'];
      }

      if (
$hp_name == '') {
          
$ahp_error[] = tr('Incorrect template name length!');
      }
--- 
274,285 ----
      if (isset(
$_POST['backup'])) {
          
$hp_backup $_POST['backup'];
      }
+     
+     (isset(
$_POST['software_allowed'])) ? $hp_allowsoftware $_POST['software_allowed'] : $hp_allowsoftware "_no_";
+     
+     if(
$hp_php == "_no_" && $hp_allowsoftware == "_yes_") {
+         
$ahp_error[] = tr('The software installer needs PHP to enable it!');
+     }
      if (
$hp_name == '') {
          
$ahp_error[] = tr('Incorrect template name length!');
      }
***************
*** 
325,331 ****
      global 
$hp_ftp$hp_sql_db$hp_sql_user;
      global 
$hp_traff$hp_disk;
      global 
$price$setup_fee$value$payment$status;
-     global 
$hp_backup$hp_dns;
  
      
$sql Database::getInstance();
      
$err_msg '';
--- 
336,342 ----
      global 
$hp_ftp$hp_sql_db$hp_sql_user;
      global 
$hp_traff$hp_disk;
      global 
$price$setup_fee$value$payment$status;
+     global 
$hp_backup$hp_dns$hp_allowsoftware;
  
      
$sql Database::getInstance();
      
$err_msg '';
***************
*** 
337,343 ****
          
$tpl->assign('MESSAGE'tr('Hosting plan with entered name already exists!'));
          
// $tpl->parse('AHP_MESSAGE', 'ahp_message');
      
} else {
-         
$hp_props "$hp_php;$hp_cgi;$hp_sub;$hp_als;$hp_mail;$hp_ftp;$hp_sql_db;$hp_sql_user;$hp_traff;$hp_disk;$hp_backup;$hp_dns";
          
// this id is just for fake and is not used in reseller_limits_check.
          
$hpid 0;
  
--- 
348,354 ----
          
$tpl->assign('MESSAGE'tr('Hosting plan with entered name already exists!'));
          
// $tpl->parse('AHP_MESSAGE', 'ahp_message');
      
} else {
+         
$hp_props "$hp_php;$hp_cgi;$hp_sub;$hp_als;$hp_mail;$hp_ftp;$hp_sql_db;$hp_sql_user;$hp_traff;$hp_disk;$hp_backup;$hp_dns;$hp_allowsoftware";
          
// this id is just for fake and is not used in reseller_limits_check.
          
$hpid 0



RE: ispCP Software Installer -> NEW VERSION RC2 Realese - FISA4 - 05-09-2010 07:55 PM

Hier die hosting_plan.php die bei mir ohne Probleme läuft


RE: ispCP Software Installer -> NEW VERSION RC2 Realese - enrico73 - 05-09-2010 07:59 PM

(05-09-2010 07:55 PM)FISA4 Wrote:  Hier die hosting_plan.php die bei mir ohne Probleme läuft

Schade liegt nicht an der Datei. Am besten wäre deinstallieren und neu. Gibt es da eine Möglichkeit? Oder müsste alle Dateien von Hand kontrollieren glaub ich. Hab noch die alten Dateien liegen. Besser aber neu.


RE: ispCP Software Installer -> NEW VERSION RC2 Realese - TheCry - 05-10-2010 01:04 AM

Eigentlich sollte das Problem mit dem Offset behoben sein...
http://isp-control.net/forum/thread-7463-post-76925.html#pid76925
Hier ist die Lösung...
Ich hatte das extra in den Installer mit eingebaut!


RE: ispCP Software Installer -> NEW VERSION RC2 Realese - enrico73 - 05-10-2010 04:01 AM

(05-10-2010 01:04 AM)TheCry Wrote:  Eigentlich sollte das Problem mit dem Offset behoben sein...
http://isp-control.net/forum/thread-7463-post-76925.html#pid76925
Hier ist die Lösung...
Ich hatte das extra in den Installer mit eingebaut!

Ja danke also nun kommt erstmal kein fehler mehr.
Hab in der DB
PHP Code:
_yes_;_yes_;1;1;1;1;1;1;1;1;_no_;_no_ 
eingegeben. Dann unter Tarife noch ein Fehler gehabt aber nach Tarif neu speichern war alles ok. Denke hatte nur 2-3 x die 1 gefehlt.
Werde aber noch weitere Sachen testen. Hoffe es geht.
Vielen Dank erstmal.


RE: ispCP Software Installer -> NEW VERSION RC2 Realese - Proyx - 05-13-2010 12:42 AM

Ok habe diesen Fehler auch Wink Naja ich versuche ihn jetzt zu beheben
Fehler behoben durch das Löschen aller Tarife


RE: ispCP Software Installer -> NEW VERSION RC2 Realese - enrico73 - 05-13-2010 07:05 PM

Naja löschen aller Tarife ist nicht so schlau. Musst ja dann alle neu machen. Naja muss jeder selbst wissen. ;o)


RE: ispCP Software Installer -> NEW VERSION RC2 Realese - Templarios - 06-14-2010 12:06 AM

Hallo zusammen
hab dem Installer installiert und läuft auch ohne probleme ;-)

nur wo finde ich jetzt die packete dafür? zb Joomal usw?

LG
Templarios


RE: ispCP Software Installer -> NEW VERSION RC2 Realese - ZooL - 06-14-2010 01:51 AM

(06-14-2010 12:06 AM)Templarios Wrote:  Hallo zusammen
hab dem Installer installiert und läuft auch ohne probleme ;-)

nur wo finde ich jetzt die packete dafür? zb Joomal usw?

LG
Templarios

http://addons.isp-control.net/unofficial/apps_installer/apps_installer_packages/


bitte...


mfg


RE: ispCP Software Installer -> NEW VERSION RC2 Realese - menki - 06-15-2010 09:19 PM

hallo leute

gibt es auch ein typo3 package irgendwo? sehe unter addons kein typo3 paket.

grüße
MENKI