2013-08-06

Created page with "Najbrž gre za napačno nastavitev za $rooturl ali $rootdir v datoteki config.php. V tem primeru config.php poskuša pravilno nastaviti $rootdir z ukazom <nowiki>dirname('''FI..."

← Older revision

Revision as of 07:20, 6 August 2013

(17 intermediate revisions by one user not shown)

Line 36:

Line 36:

 

v vašem spletnem brskalniku. Prikazalo se vam bo veliko informacij. V poglavju '''Configuration''' poiščite niz 'mbstring'.

 

v vašem spletnem brskalniku. Prikazalo se vam bo veliko informacij. V poglavju '''Configuration''' poiščite niz 'mbstring'.

 

 



If you find the
mbstring
section then all should be well and you can continue on with your
LimeSurvey
installation
!

+

Če najdete opis
mbstring
v tem izpisu, potem bi moralo biti vse vredu in lahko nadaljujete z vašo namestitvijo
LimeSurvey
-a
!

 

 



'''
If you don't find the
mbstring
section
'''
you might have a problem on your hands
.

+

'''
Če ne najdete
mbstring
dela
'''
, so morda pred vami težave
.

 

 



There are three possible scenarios
:

+

Na voljo so tri možnosti
:



*
If it's your providers server
:
Ask your provider to activate that extension in
PHP
or how to activate it - if you have a good administration panel for your server you may be able to activate it yourself
.

+

*
če imate ponudnika strežnika
:
prosite vašega ponudnika, da vam aktivira ta
PHP
dodatek ali da vam pove, kako ga aktivirate sami (če imate na voljo dober skrbniški vmesnik za vaš strežnik)
.



*
If it's your own
'''Linux'''
server
:
You may have to re-compile
PHP
and include the
mbstring
library
.
Ask the Linux experts how to do that
.
In most Linux versions today you can install it using your
Linux packet manager.

+

*
če imate lasten
'''Linux'''
strežnik
:
najbrž boste morali ponovno prevesti
PHP
in vključiti knjižnico
mbstring.
Za pomoč pri tem prosite linux strokovnjake
.
V večini današnjih različicah linux-a ga lahko namestite z uporabo vašega linux upravljalnika paketov (
Linux packet manager
)
.



**
If you are using
a
version of Linux that supports
'yum' (CentOS, RedHat, Fedora):

+

**
če uporabljate različico linux-
a
, ki omogoča
'yum' (CentOS, RedHat, Fedora):



###
Use the
terminal (
as a
super
user
)
and type
: '''yum install php-mbstring'''

+

###
uporabite
terminal (
kot
super
uporabnik
)
in vtipkajte
: '''yum install php-mbstring'''



###
Make sure to update
/etc/php.ini
to update and uncomment the various
mbstring
params

+

###
ne pozabite posodobiti
/etc/php.ini
in odkomentirati številne 
mbstring
parametre



###
Make sure to restart
apache
after installing it
:  '''/etc/init.d/httpd restart'''

+

###
po uspešni namestitvi ne pozabite ponovno zagnati
apache:  '''/etc/init.d/httpd restart'''



*
If it's your own
'''Windows'''
server
:
Search for
php.ini
on your system
,
open it with an editor and search for
mbstring.
Most probably the line that contains that string is commented out with a semicolon
.
Remove the semicolon
,
save and restart your web server
.

+

*
če je vaš
'''Windows'''
strežnik
:
poiščite
php.ini
na vašem sistemu
,
ga odprite z urejevalnikom in poiščite niz
mbstring.
Po vsej verjetnosti je vrstica, ki vsebuje ta niz,  onemogočena s podpičjem
.
Odstranite podpičje
,
shranite in ponovno zaženite vaš spletni strežnik
.

 

 



==
When I am entering special chars
(
Chinese
,
Cyrillic
,
Greek
,
Arabic
)
into my survey
,
every character is shown as a question mark
?==

+

==
Ko vnašam posebne znake
(
Kitajske
,
Cirilico
,
Grške
,
Arabske
)
v mojo anketo
,
se namesto vsakega znak pokaže vprašaj
?==

 

 



This happens if your database itself is not created to use an
UTF-8
charset
.
This can happen when you have to create the database using a provider administration panel
.
You can fix this
problem
by executing the following
SQL
command on your database
(
using for example
phpMyAdmin)

+

To se zgodi, če vaša podatkovna zbirka ne podpira kodno tabelo
UTF-8.
To se zgodi, ko ustvarjate podatkovno zbirko z uporabo skrbniškega vmesnika vašega ponudnika
.
Ta
problem
lahko popravite z izvedbo naslednjega
SQL
ukaza na vaši podatkovni zbirki
(
naprimer z uporabo
phpMyAdmin
-a
)

 

 



ALTER DATABASE `<
your_database_name
>` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

+

ALTER DATABASE `<
ime_vaše_podatkovne_zbirke
>` DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;

 

 



Replace
<
your_database_name
>
with the name of your database
. '''
You need to do this before installing
LimeSurvey.'''

+

Zamenjajte
<
ime_vaše_podatkovne_zbirke
>
z imenom vaše podatkovne zbirke
. '''
To morate storiti pred namestitvijo
LimeSurvey
-a
.'''

 

 



==
Blank page when accessing the Install page
==

+

==
Pojavi se prazna stran, ko dostopam do strani za namestitev
==

 

 



The
problem
is not with the
LimeSurvey
installation but with the
PHP
installation
.

+

Ta
problem
ni povezan z namestitvijo
LimeSurvey
-a, pač pa z namestitvijo
PHP
-ja
.



*
Verify you have the
MySQL PHP
module
(php-mysql)
installed
.

+

*
Preverite, če imate nameščen
MySQL PHP
modul
(php-mysql).



*
Verify your
PHP
install is loading the
PHP.ini
file your are modifying and not parsing other
PHP.INI
files on your system
.

+

*
Preverite, če vaš nameščeni
PHP
naloži datoteko
PHP.ini
, ki ste jo vi spremenili in ne kakšne druge
PHP.INI
datoteke na vašem sistemu
.



*
Verify the location and permissions of the following setting
in
your
PHP.ini

+

*
Preverite mesto
in
pravice naslednjih nastavitev za vašo datoteko
PHP.ini

 

 

 

<syntaxhighlight lang="c" enclose="div">upload_tmp_dir="/temp"

 

<syntaxhighlight lang="c" enclose="div">upload_tmp_dir="/temp"

 

 

 

session.save_path="/temp"</syntaxhighlight>

 

session.save_path="/temp"</syntaxhighlight>



*
Verify your server runs a suitable
PHP
version
(
e.g. this "blank page"
problem
appeared with
PHP v4.4
and
LimeSurvey v2.00+).

+

*
Preverite, da vaš strežnik zaganja ustrezno različico
PHP
-ja
(problem
s prazno stranjo se pojavi v kombinaciji
PHP
-ja
v4.4
in
LimeSurvey
-a
v2.00+).

 

 



==
Error messages because of non-existing resources
==

+

==
Sporočila o napakah zaradi neobstoječih virov
==

 

 



Sometimes files are not uploaded correctly or were broken during upload
.
This leads to several different error messages
.
Most of them refer to a file or function within a file which can't be found
.

+

Včasih se datoteke ne naložijo pravilno ali so bile pokvarjene med nalaganjem
.
To vodi do nekaterih različnih sporočil o napakah
.
Večinoma se nanašajo na datoteko ali funkcijo znotraj datoteke, ki je ni moč najti
.

 

 



'''
Solution
:'''
Re-upload all files using the binary mode of your
FTP program.

+

'''
Rešitev
:'''
Ponovno naložite vse datoteke, ki uporabljajo binarni način vašega
FTP program
-a
.

 

 



=
After database creation
=

+

=
Po ustvarjanju podatkovne zbirke
=

 

 



==
Blank page after database creation
==

+

==
Prazna stran po ustvarjanju podatkovne zbirke
==

 

 



===
Symptoms
===

+

===
Simptomi
===



* LimeSurvey
installed OK
,
and database was created, but instead of the admin page, you get an empty page

+

* LimeSurvey
se je vredu namestil in podatkovna zbirka je bila ustvarjena
,
vendar namesto strani za skrbnike dobim prazno stran



*
Web surver log shows
"Fatal error: Call to a member function on a non-object in /path/to/limesurvey/admin/login_check.php on line 69"

+

*
Dnevnik spletnega strežnika pokaže
"Fatal error: Call to a member function on a non-object in /path/to/limesurvey/admin/login_check.php on line 69"

 

 



===
Fix
===

+

===
Popravek
===

 

 



This is probably an incorrect setting for
$rooturl
or
$rootdir
in
config.php.
In particular,
config.php
attempts to set
$rootdir
correctly by calling
<nowiki>dirname('''FILE''')</nowiki>
and while this usually works, it can be upset when LimeSurvey is installed in a user's home or public_html directory and the home directory is mounted over NFS
.
Try setting
$rootdir
manually, and
in
particular
,
while your shell or
pwd
command may show a path like
"/disks/hostname/home/username/public_html/limesurvey",
try using
"/home/username/public_html/limesurvey".

+

Najbrž gre za napačno nastavitev za
$rooturl
ali
$rootdir
v datoteki
config.php.
V tem primeru
config.php
poskuša pravilno nastaviti
$rootdir
z ukazom
<nowiki>dirname('''FILE''')</nowiki>.
Poskušajte ročno nastaviti
$rootdir in
predvsem
,
ko vam vaša lupina ali
pwd
ukaz pokaže pot podobno temu
"/disks/hostname/home/username/public_html/limesurvey",
poskušajte uporabiti
"/home/username/public_html/limesurvey".

 

 

 

==When accessing admin page, the browser keeps running and will eventually fail to show it==

 

==When accessing admin page, the browser keeps running and will eventually fail to show it==

Show more