• Vote in November Mapping Competition to select a winner!
  • 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!

Znote AAC Xampp on ubuntu

CesarZ

Member
Joined
Sep 20, 2012
Messages
158
Reaction score
19
is anybody running the server and xampp on ubuntu? im getting this line when i access the localhost to view the webpage

Parse error: syntax error, unexpected 'sqlUser' (T_STRING) in /opt/lampp/htdocs/config.php on line 33

i was running xampp on window and i decided to switch to linux. all i did was install xampp on ubuntu and pass the htdocs folder from my windows to ubuntu xampp folder. and setup the SQLs on phpmyadmin and user and password and database everything is set to work. now im getting this.

line 33 is this line
Lua:
// phpmyadmin username for OT server: (DONT USE "root" if ur hosting to public.).
$config['sqlUser'] = 'userhere';

i have it already setup with my user but it still saying the line 33 error.
 

Znote

<?php echo $title; ?>
Staff member
Global Moderator
Premium User
Joined
Feb 14, 2008
Messages
6,834
Solutions
240
Reaction score
1,616
Location
Norway
GitHub
Znote
You are probably missing the ; symbol at the end of the line in some of the configs above sqlUser, like in server_path.
 
Solution
Top