Search…

X3 Photo Gallery Support Forums

Search…
 
LoreWoo
Topic Author
Posts: 2
Joined: 15 May 2021, 04:17

X3 installation error

15 May 2021, 04:40

Hello! I am new to X3, and just tried to install in into my web site.  

 I uploaded the files to a directory call  /x3min,  then proceed to my web site URL  (myweb).com/x3min
And give me the error at the first step:


Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/content/12/5270112/html/x3min/app/x3.inc.php on line 17

Anyone know what's wrong?   Please help.  Thanks!!!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 12802
Joined: 30 Sep 2006, 03:37

Re: X3 installation error

15 May 2021, 04:42

Hi. This means your server's PHP version is 5.2 (or lower). You need to update it to at least PHP 5.4 or higher. Please check your hosting control panel, as you might have settings to control the PHP version from there. If not, you need to contact your hosting service.

PHP 5.2 was released in 2006, and supported until 2011. It's shocking that some hosts still have this ancient PHP version as default.
 
LoreWoo
Topic Author
Posts: 2
Joined: 15 May 2021, 04:17

Re: X3 installation error

16 May 2021, 06:13

Thank you for helping!   I just login to my Web hosting server and upgrade it to PHP 5.6.27
Now working, but with 2 warnings, and can't login to the panel with default user name and password.

Warning: session_start(): open(/home/content/12/5270112/tmp/sess_bfprru8fbd20b5r9f47jol5t93, O_RDWR) failed: No such file or directory (2) in /home/content/12/5270112/html/x3min/panel/filemanager_core.php on line 2


Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/content/12/5270112/html/x3min/panel/filemanager_core.php:2) in /home/content/12/5270112/html/x3min/panel/filemanager_core.php on line 2
 
User avatar
mjau-mjau
X3 Wizard
Posts: 12802
Joined: 30 Sep 2006, 03:37

Re: X3 installation error

16 May 2021, 13:13

This basically means that your PHP sessions are not configured properly. As you can see in the top warning, you are getting an error on session_start() "No such file or directory". Your server PHP needs to be configured so sessions (for example login sessions) can be stored in a writeable folder.

This should be configured correctly by your hosting service. You will need to contact them!