LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
SQL Anmeldefehler
(0 viewing) 
Go to bottom
  • Page:
  • << Start < Prev 1 2 Next > End >>
TOPIC: SQL Anmeldefehler
#27747
yorvik25
Fresh Lemon
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
SQL Anmeldefehler 8 Months, 1 Week ago Karma: 0
Hallo,

ich habe hier ein Problem mit einer LimeSurvey installation.
Die Installation ist ohne Fehler abgeschlossen worden, wenn ich mich dann auf der Admin-Site einloggen will erscheint aber folgender Fehler -->

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1:SELECT define_questions, edit_survey_property, delete_survey FROM lime_surveys_rights WHERE sid=180369661812740050 AND uid =

Ist ein CentOS 5.1 incl. Apache und MySQL 5...

Ich einer von den Lime Cracks hier kann mir helfen! Ist vielleicht die SQL Version zu hoch?? In der Install doc steht ja 4.1 oder besser...

Danke im Voraus!

gruß
yorvik
 
Logged Logged
  The administrator has disabled public write access.
#27748
ElMatador69
LimeSurvey Team
Posts: 560
graphgraph
User Offline Click here to see the profile of this user
Re:SQL Anmeldefehler 8 Months, 1 Week ago Karma: 37
1) Welche Version und Build von LimeSurvey verwendest du?
2) Welche MySQL-Version genau?
 
Logged Logged
  The administrator has disabled public write access.
#27750
yorvik25
Fresh Lemon
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:SQL Anmeldefehler 8 Months, 1 Week ago Karma: 0
LimeSurvey in der stable 1.85

MySQL ist 5.0.45
 
Logged Logged
  The administrator has disabled public write access.
#27751
c_schmitz
LimeSurvey Team
Posts: 437
graphgraph
User Offline Click here to see the profile of this user
Re:SQL Anmeldefehler 8 Months, 1 Week ago Karma: 44
Session Verzeichnis richtig in PHP gesetzt?
 
Logged Logged
 
If you found this answer helpful and saved you some time please consider a donation to the LimeSurvey project to keep us going!
  The administrator has disabled public write access.
#27763
yorvik25
Fresh Lemon
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:SQL Anmeldefehler 8 Months, 1 Week ago Karma: 0
TREFFER!!
 
Logged Logged
  The administrator has disabled public write access.
#27766
Mazi
Moderator Lime
Posts: 5279
graph
User Offline Click here to see the profile of this user
Re:SQL Anmeldefehler 8 Months, 1 Week ago Karma: 76
Gern geschehen! Wenn wir helfen konnten und du Limesurvey magst, schau doch mal, ob du uns eine kleine Spende zukommen lassen kannst . Wir machen das hier alles in unserer Freizeit und das Programm ist absolut kostenlos.

Ohne eure Hilfe kann das Projekt nicht fortgeführt werden.
 
Logged Logged
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support --> Contact
  The administrator has disabled public write access.
#28352
mandragora
Fresh Lemon
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:SQL Anmeldefehler 8 Months ago Karma: 0
Hallo Leute,

Ich bin neu hier und habe durch einen Freund von Limesurvey erfahren.
Da mir Limesurvey sehr gut gefallen hat (Super Arbeit - Gratulation) habe ich es gleich mal auf unseren Webserver zum testen installiert.

Die Installation verlief ohne Probleme nur habe ich jetzt das gleiche Problem wie yorvik25

MySQL version ist die 5.0.75
und
Limesurvey ist die aktuell 1.85

Meine PHP Settings sehen wie folgt aus:

[Session]
; Handler used to store/retrieve data.
session.save_handler = files

; Argument passed to save_handler. In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
;
; As of PHP 4.0.1, you can define the path as:
;
; session.save_path = "N;/path"
;
; where N is an integer. Instead of storing all the session files in
; /path, what this will do is use subdirectories N-levels deep, and
; store the session data in those directories. This is useful if you
; or your OS have problems with lots of files in one directory, and is
; a more efficient layout for servers that handle lots of sessions.
;
; NOTE 1: PHP will not create this directory structure automatically.
; You can use the script in the ext/session dir for that purpose.
; NOTE 2: See the section on garbage collection below if you choose to
; use subdirectories for session storage
;
; The file storage module creates files using mode 600 by default.
; You can change that by using
;
; session.save_path = "N;MODE;/path"
;
; where MODE is the octal representation of the mode. Note that this
; does not overwrite the process's umask.
;session.save_path = /var/lib/php5


Die Settings sind beim mir (php5) default so eingestellt.

Die Fehlermeldung lautet:

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1:SELECT define_questions, edit_survey_property, delete_survey FROM lime_surveys_rights WHERE sid=001442386501310951 AND uid =

Das ganze läuft aktuell auf Kubunutu

c_schmitz schreibt das das Session Verzeichnis richtig in PHP gesetzt werden muss.

Helft mir mal auf die Sprünge wie ich das machen soll bzw. wie der richtige Verzeichnispfad lauten sollte.
Steh im Moment ein wenig auf dem SChlauch.

ich danke euch schon mal für eure Hilfe.

cu
mandragora
 
Logged Logged
  The administrator has disabled public write access.
#28370
Mazi
Moderator Lime
Posts: 5279
graph
User Offline Click here to see the profile of this user
Re:SQL Anmeldefehler 8 Months ago Karma: 76
Bitte erstelle eine phpinfo Datei, damit wir mal einen Blick auf deine Serverkonfiguration werfen können. Einfach folgende Zeile in eine neue Textdatei kopieren und diese unter dem Namen phpinfo.php speichern:
Code:

 < ? php phpinfo(); ? > 

Dann die Datei auf deinen Server laden und hier den Link posten, Beispiel: www.meinehomepage.de/phpinfo.php

Die Leerzeichen vor und hinter "?" bitte löschen.

Du siehst dann eine Einstellung über die PHPinfo namens session.save_path. Dieser Pfad muss auf einen Ordner deines Servers zeigen, der vorhandenen und schreibbar sein muss.
 
Logged Logged
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support --> Contact
  The administrator has disabled public write access.
#28381
mandragora
Fresh Lemon
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:SQL Anmeldefehler 8 Months ago Karma: 0
Hallo Mazi

Ich hab den session.save_path auf den /tmp Ordner umgeleitet und der hat 1777 als Rechte.
AUch das bringt keine Linderung des Problems.
Ich hab dir mal die phpinfo als File angehängt da dies ein lokaler Webserver ist und keinen Zugriff von aussen machen kann.

Danke dir schon mal

cu
mandragora
File Attachment:
File Name: phpinfo-20090715.zip
File Size: 143284
 
Logged Logged
 
Last Edit: 2009/07/15 15:15 By mandragora.
  The administrator has disabled public write access.
#28397
Mazi
Moderator Lime
Posts: 5279
graph
User Offline Click here to see the profile of this user
Re:SQL Anmeldefehler 8 Months ago Karma: 76
I saw that suhosin module is installed. This sometimes causes problems. Try to disable it.

Also check the recommended session settings at docs.limesurvey.org/tiki-index.php?page=..._you_to_login_screen
 
Logged Logged
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support --> Contact
  The administrator has disabled public write access.
Go to top
  • Page:
  • << Start < Prev 1 2 Next > End >>
Donation Image