Current time: 05-05-2024, 07:05 AM Hello There, Guest! (LoginRegister)


Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[ERLEDIGT]Login-Problem nach Update auf 1.0.7 RC1
Author Message
eeprom Offline
Newbie
*

Posts: 5
Joined: Feb 2009
Reputation: 0
Post: #1
[ERLEDIGT]Login-Problem nach Update auf 1.0.7 RC1
Nach dem Update auf 1.0.7 RC 1 (von 1.0.5, Ubuntu 8.04) empfing mich ispCP erst einmal mit:

Code:
Error: PHP extension 'mcrypt' not loaded!

Nachdem ich mein Ubuntu dazu bekommen hatte trotz installiertem mcrypt dies auch wirklich zu nutzen, kam ich zumindest bis zur Login-Maske. Nach Eingabe von User/Pass laufe ich nun auf folgenden Fehler:

Code:
Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute. - Query: SELECT `admin_id`, `created_by`, `admin_type` FROM `admin` WHERE `admin_id` = ? ;

Bin ich damit alleine?

Grüße
Philipp
(This post was last modified: 09-22-2010 04:27 PM by ZooL.)
09-19-2010 08:05 PM
Find all posts by this user
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Login-Problem nach Update auf 1.0.7 RC1
Daher ist es auch ein RC Wink
Hast Du NUR ispCP auf den aktuellen Stand gebracht oder auch dein Ubuntu ?
Die Module sind aber alle im Apache geladen ?

Greez BeNe
09-19-2010 09:26 PM
Visit this user's website Find all posts by this user
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #3
RE: Login-Problem nach Update auf 1.0.7 RC1
nein bist nicht allein, hab das gleiche Problem...

Hab nen Etch-Server
Welche Module müssen denn geladen sein?


Dear admin,

An exception with the following message was raised in file
/var/www/ispcp/gui/include/sql.php (Line: 90):

=================================================================

Cannot execute queries while other unbuffered queries are active.
Consider using PDOStatement::fetchAll(). Alternatively, if your code
is only ever going to run against mysql, you may enable query
buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.
- Query:
SELECT
*
FROM
`custom_menus`
WHERE
`menu_level` = 'admin'
;

=================================================================

Debug backtrace:
---------------

File: /var/www/ispcp/gui/include/admin-functions.php (Line: 144)
Function: exec_query()
File: /var/www/ispcp/gui/admin/index.php (Line: 188)
Function: gen_admin_mainmenu()

Additional information:
----------------------

Http User Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de;
rv:1.9.2.8) Gecko/20100722 Firefox/3.6.8 ( .NET CLR 3.5.30729)
Request Uri: /admin/index.php
Remote Addr: 79.240.206.86
Server Addr:

____________________________________________________________
ispCP Exception Mail Writer
(This post was last modified: 09-20-2010 02:30 AM by MasterTH.)
09-20-2010 12:40 AM
Find all posts by this user
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #4
RE: Login-Problem nach Update auf 1.0.7 RC1
bitte beachte...

########################

Preinstallation

Before you consider installing ispCP make sure you cared about the following issues:

DEBIAN SARGE IS NOT SUPPORTED. DEBIAN ETCH SUPPORT ENDS WITH RELEASE OF 1.0.7

Your Server has to be configured to use a resolvable fully qualified domain name. Here can you find hoster specific information how to do so.
Etch specific note

Debian Etch provides a version of the Apache fcgid module that is not compatible with ispCP due to the absence of a configuration directive. To use the fcgid module with ispCP on Debian Etch, you should install it from Debian backports as follow:

1. Install all required packages as described below.
09-20-2010 01:34 AM
Visit this user's website Find all posts by this user
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #5
RE: Login-Problem nach Update auf 1.0.7 RC1
nur schade das die backports für etch nicht mehr verfügbar ist.

Kann ich wieder zurückswitchen auf die 1.0.6?


Das Problem mit der fcgid hab ich gelöst:
deb http://archive.debian.org/debian-backports etch-backports main contrib non-free


Aber wo liegt das Problem vom Admin-Bereich?
Nutzt ispcp1.0.7 jetzt php53?
(This post was last modified: 09-20-2010 05:59 AM by MasterTH.)
09-20-2010 01:47 AM
Find all posts by this user
ZooL Offline
Moderator
*****
Moderators

Posts: 3,429
Joined: Jan 2007
Reputation: 79
Post: #6
RE: Login-Problem nach Update auf 1.0.7 RC1
ich glaube php5.3 sind functionen von vorherigen versionen wegefallen oder geändert aber im vorherigen versionen sind php5.3 functionen schon drin


mfg
(This post was last modified: 09-20-2010 07:48 PM by ZooL.)
09-20-2010 07:24 AM
Visit this user's website Find all posts by this user
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #7
RE: Login-Problem nach Update auf 1.0.7 RC1
hat das irgendwas damit hier zu tun??

Code:
<?php
if ($db->getAttribute(PDO::ATTR_DRIVER_NAME) == 'mysql') {
    $stmt = $db->prepare('select * from foo',
        array(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true));
} else {
    die("my application only works with mysql; I should use \$stmt->fetchAll() instead");
}
?>

http://php.net/manual/de/ref.pdo-mysql.php
(This post was last modified: 09-20-2010 04:17 PM by MasterTH.)
09-20-2010 04:15 PM
Find all posts by this user
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #8
RE: Login-Problem nach Update auf 1.0.7 RC1
kurzes Update.


Zugang geht immer noch nicht, wenn jemand rausgefunden hat warum, dann bitte schreiben.


Was ich bereits herausgefunden habe:
wenn ich in /var/www/ispcp/gui/include/ispCP/database.php den Eintrag aus Zeile 103 in
Code:
$this->_db->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, false);

ändere, kommt die Fehlermeldung nicht mehr, aber dann occured nen error und ich komm immer noch nicht rein.


Ich glaube PDO sollte nicht genutzt werden, oder?
Könnte jemand nen Ticket aufmachen? Hab im Bugtracker noch keinen Eintrag gefunden und keinen Account da. Vielen Dank
(This post was last modified: 09-21-2010 04:30 AM by MasterTH.)
09-21-2010 01:41 AM
Find all posts by this user
flames Offline
Junior Member
*

Posts: 98
Joined: Oct 2006
Reputation: 3
Post: #9
RE: Login-Problem nach Update auf 1.0.7 RC1
ob pdo benuzt wird zum connecten weiss ich nicht, aber versuche dochmal pdo zu installieren und in der master php.ini zu aktivieren (/var/www/fcgi/master/php5/php.ini)
09-21-2010 05:40 AM
Find all posts by this user
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #10
RE: Login-Problem nach Update auf 1.0.7 RC1
ist pdo nen addon??

ne pdo_mysql.ini hab ich....
(This post was last modified: 09-21-2010 06:31 AM by MasterTH.)
09-21-2010 05:44 AM
Find all posts by this user
Thread Closed 


Forum Jump:


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