• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

AAC Gesior T_ENCAPSED_AND_WHITESPACE

kowal676

New Member
Joined
Apr 5, 2012
Messages
25
Reaction score
0
Parse error: syntax error, unexpected '' (T_ENCAPSED_AND_WHITESPACE), expecting '-' or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in C:\xampp\htdocs\config\config.php on line 4


http://nastia.eu/
 
@Jacobs
<? PHP
# Konfiguracja Kreatora konta
$ config ['site'] ['serverPath'] = "D: \ realots \";
$ config ['site'] ['useServerConfigCache'] = false;
$ config ['site'] ['worlds'] = array (0 => 'Cantebia.pl');
$ towns_list [0] = array (1 => 'Evolutions', 2 => 'Venore', 5 => 'Carlin');
 
You have a syntax error on line 3 actually:
Code:
$ config ['site'] ['serverPath'] = "D: \ realots \";
Escapes the ending " and breaks the whole code, solution:
Remove the dash on the end of serverPath:
Code:
<? PHP
# Konfiguracja Kreatora konta
$ config ['site'] ['serverPath'] = "D: \ realots";
$ config ['site'] ['useServerConfigCache'] = false;
$ config ['site'] ['worlds'] = array (0 => 'Cantebia.pl');
$ towns_list [0] = array (1 => 'Evolutions', 2 => 'Venore', 5 => 'Carlin

Or:
As shown in gesior's default config.php, use other dashes:
Code:
$ config ['site'] ['serverPath'] = "D:/realots/";
 
@Jacobs
Błąd krytyczny : Uncaught Error: wywołanie funkcji członkowskiej fetchAll () na wartości logicznej w C: \ xampp \ htdocs \ pages \ latestnews.php: 225 Monitorowanie stosu: # 0 C: \ xampp \ htdocs \ 4dsygstem \ load.page.php (7): include () # 1 C: \ xampp \ htdocs \ index.php (37): include_once ('C: \\ xampp \\ htdocs ...') # 2 {główny} zrzucony w C: \ xampp \ htdocs \ pages \ latestnews.php w linii 225
 
Well, I assume my solution solved your problem.

Even tho I am kinda capable of reading Polish, I am not willing to try reading the next error.
That is, unless you post it in English, I can not help you out ;)
 
@Jacobs
Fatal error: Uncaught Error: Call to a member function fetchAll() on boolean in C:\xampp\htdocs\pages\latestnews.php:225 Stack trace: #0 C:\xampp\htdocs\4dsygstem\load.page.php(7): include() #1 C:\xampp\htdocs\index.php(37): include_once('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\pages\latestnews.php on line 225
 
@Jacobs
Fatal error: Uncaught Error: Call to a member function fetchAll() on boolean in C:\xampp\htdocs\pages\latestnews.php:225 Stack trace: #0 C:\xampp\htdocs\4dsygstem\load.page.php(7): include() #1 C:\xampp\htdocs\index.php(37): include_once('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\pages\latestnews.php on line 225

Check the version of this gesior, and your database is compatible.
Check too if you have in your db all collums/tables relative for gesior.

FetchAll is relative with a mysql operation like mysql("MY_QUERY")->fetchAll()
 
Last edited:
@Jacobs
Fatal error: Uncaught Error: Call to a member function fetchAll() on boolean in C:\xampp\htdocs\pages\latestnews.php:225 Stack trace: #0 C:\xampp\htdocs\4dsygstem\load.page.php(7): include() #1 C:\xampp\htdocs\index.php(37): include_once('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\pages\latestnews.php on line 225
just post here your latestnews.php or find another one
 
Back
Top