Hotfix

Südstyle

New Member
Hallo,

ich habe gerade den Hotfix installiert.
Nun kann ich Confixx nicht mehr aufrufen.
Folgendes kommt dann:
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/www/confixx/html/functions.inc.php on line 554

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/www/confixx/html/functions.inc.php on line 560

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/www/confixx/html/functions.inc.php on line 561
MySQL error: :

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/www/confixx/html/functions.inc.php on line 554

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/www/confixx/html/functions.inc.php on line 560

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/www/confixx/html/functions.inc.php on line 561
MySQL error: :

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/confixx/html/functions.inc.php on line 814

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/www/confixx/html/functions.inc.php on line 554

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/www/confixx/html/functions.inc.php on line 560

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/www/confixx/html/functions.inc.php on line 561
MySQL error: :

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/www/confixx/html/functions.inc.php:554) in /home/www/confixx/html/sessions.inc.php on line 59

Fatal error: Call to undefined function getConfixxDbConnect() in /home/www/confixx/html/user/auth.php on line 89

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/www/confixx/html/functions.inc.php on line 554

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/www/confixx/html/functions.inc.php on line 560

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/www/confixx/html/functions.inc.php on line 561
MySQL error: :
Ich weiß es nicht weiter...
Grüße,
Südstyle
 
Nun mal nicht verzweifeln...

Was hast du denn gemacht?
Wie sah der Hotfix aus?

Dann koennte man sich noch anschauen, was in der Datei "home/www/confixx/html/functions.inc.php " in den angeprangerten Zeilen steht.

Ach ja.. welche Confixx Version?
 
Also ich habe folgendes getan:
download hotfix that matches your Confixx version
#wget http://download1.swsoft.com/Confixx/security_hotfix/confixx_3.1.2_security_hotfix.tgz

find out nessessary params
#grep confixx_homeDir /root/confixx/confixx_main.conf


unpack hotfix
#tar xfvz confixx_3.1.2_security_hotfix.tgz -C <confixx_homeDir>

unpack hotfix not to be overwritten during upgrade
#tar xfvz confixx_3.1.2_security_hotfix.tgz -C /root/confixx/admin
Hier die Zeilen von 554 bis 561:
Code:
			$db_last_id = mysql_query( $query_string, $connId );
		}else{
			$db_last_id = @mysql_query( $query_string, $connId );
		}

		if( ! $db_last_id && $show_errors ){
			$message = 'MySQL error: '.mysql_errno( $connId ).
				': '.mysql_error( $connId );
Version 3.2
 
Du hast aber nicht
tar xfvz confixx_3.1.2_security_hotfix.tgz -C <confixx_homeDir>
eingebeben, sondern statt <confixx_homeDir> das Ergebnis von
grep confixx_homeDir /root/confixx/confixx_main.conf
?

Der Patch tauscht eigentlich nur 2 Dateien aus.. merh nicht. Bei dir scheint es so, als ob die sessions.inc.php nicht getauscht wurde.
 
Ja, hab ich natürlich.
Also hier mal den Bericht vom Putty:
login as: root
Using keyboard-interactive authentication.
Password:
Last login: Thu Mar 29 13:57:12 2007 from gprs-pool-1-001.eplus-online.de
Linux login.your-talk.de 2.6.9-023stab040.1-enterprise #1 SMP Mon Jan 15 22:56:55 MSK 2007 i686 GNU/Linux

ACHTUNG
=======
Bitte beachten Sie unsere FAQ's, in denen viele Fragen bereits beantwortet werden!
Sie finden diese auf unserer Webseite.

You have mail.
login:~# wget http://download1.swsoft.com/Confixx/security_hotfix/confixx_3.1.2_security_hotfix.tgz
--15:11:10-- http://download1.swsoft.com/Confixx/security_hotfix/confixx_3.1.2_security_hotfix.tgz
=> `confixx_3.1.2_security_hotfix.tgz.3'
Auflösen des Hostnamen »download1.swsoft.com«.... 69.64.46.42
Verbindungsaufbau zu download1.swsoft.com|69.64.46.42|:80... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 6.665 (6.5K) [application/x-tar]

100%[====================================>] 6.665 --.--K/s

15:11:11 (48.47 KB/s) - »confixx_3.1.2_security_hotfix.tgz.3« gespeichert [6665/6665]

login:~# grep confixx_homeDir /root/confixx/confixx_main.conf
$confixx_homeDir = '/home/www/confixx';
login:~# tar xfvz confixx_3.1.2_security_hotfix.tgz -C /home/www/confixx
./
./html/
./html/user/
./html/user/allgemein_transfer.php
./html/sessions.inc.php
login:~# tar xfvz confixx_3.1.2_security_hotfix.tgz -C /root/confixx/admin
./
./html/
./html/user/
./html/user/allgemein_transfer.php
./html/sessions.inc.php
login:~#
 
Da bin ich nun auch erst mal ein wenig ratlos. Das ware nun der Zeitpunkt, wo ich anfange rumzubasteln (z.B. ausprobieren, was passiert, wenn man in sessions.inc.php Zeile 59 auskommentiert).

Da ich keine entsprechende Confixx Version besitze, kann ich dir leider auch nicht die alten Dateien geben (falls du kein Backup gemacht hast). Ebenso wenig kann man nun sehen, was ueberhaupt an den Dateien anders ist.

Kommen die Fehlermeldungen immer, egal was du bei Confixx aufrufen willst (user, reseller, admin, webftp, webmail)?
Noch eine Frage, bist du dir sicher, dass dieser Patch auch fuer deine Confixx Version gedacht war? Weil da steht was von 3.1.2 ... das hiesse, du hast auf eine aeltere Version upgegradet, was nicht funktioniert.
 
Ach du kacke...
=(
Jetzt weiß ich woran es liegt.
Es hat nicht zufällig wer alte Confixxdateien?

Du meinst die von der 3.2.1? jatürlich!

Glücklicherweise bietet mir mein Hoster den Direktdownload des Installpakets an, indem die Dateien drinliegen, hatte nämlich den selben Fehler gemacht ;)


Und siehe da: Confixx arbeitet wie gehabt :---)

Du bist nicht zufällig bei Webtropia?
 
Last edited by a moderator:
Back
Top