Question: Error Message 500 Empty Welcome Page

Error Message 500 Empty Welcome Page

hello to all after instalation everything worked fine,for one day after that when i have try to login the next day it says that succesfully loged in when i put passwords and after that welco

T

TASOS

Asked
hello to all after instalation everything worked fine,for one day after that when i have try to login the next day it says that succesfully loged in when i put passwords and after that welcome page is blank or gives me a 500 internal error,i have update php to newest but nothing happened,any ideas?
  • MS

    Mian Saleem

    Answered
    Hello,

    If it was working fine then there should be any issue unless you changed/update server software or config.

    Please check your server's php error logs and let me know the error details so that I can suggest. Please mention the version number that you have installed.

    Thank you
  • T

    TASOS

    Answered
    i use version 2 and all the rest pages are working except welcome page the errors that i could find where these

    [19/Feb/2024:10:52:35 +0200] "GET / HTTP/1.0" 302 1129 "-" "Plesk screenshot bot https://support.plesk.com/hc/en-us/articles/10301006946066

    [19/Feb/2024:10:52:35 +0200] "GET /themes/default/assets/css/app.min.css HTTP/1.0" 200 780 "https://www.jx.gr/login" "Plesk screenshot bot https://support.plesk.com/hc/en-us/articles/10301006946066"
    - - [19/Feb/2024:10:52:35 +0200] "GET /themes/default/assets/js/app.min.js HTTP/1.0" 200 792 "https://www.jx.gr/login" "Plesk screenshot bot https://support.plesk.com/hc/en-us/articles/10301006946066"
    - - [19/Feb/2024:10:52:35 +0200] "GET /themes/default/assets/js/jquery.js HTTP/1.0" 200 791 "https://www.jx.gr/login" "Plesk screenshot bot https://support.plesk.com/hc/en-us/articles/10301006946066"
    - - [19/Feb/2024:10:52:36 +0200] "GET /themes/default/assets/fonts/fontawesome-webfont.woff?v=4.1.0 HTTP/1.0" 200 796 "https://www.jx.gr/themes/default/assets/css/app.min.css" "Plesk screenshot bot https://support.plesk.com/hc/en-us/articles/10301006946066"
    - [19/Feb/2024:10:52:36 +0200] "GET /themes/default/assets/fonts/T9zdIB5JGDJjRO8KNoV_pA.woff2 HTTP/1.0" 200 801 "https://www.jx.gr/themes/default/assets/css/app.min.css" "Plesk screenshot bot https://support.plesk.com/hc/en-us/articles/10301006946066"
    [19/Feb/2024:10:52:36 +0200] "GET /themes/default/assets/fonts/9WoKvbp3ZUwn9qM5AIuMOg.woff2 HTTP/1.0" 200 801 "https://www.jx.gr/themes/default/assets/css/app.min.css" "Plesk screenshot bot https://support.plesk.com/hc/en-us/articles/10301006946066"
    - - [19/Feb/2024:11:12:38 +0200] "GET /login HTTP/1.0" 200 2190 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"

    or this

    [Tue Feb 13 11:18:42.861683 2024] [ssl:warn] [pid 2339419:tid 140161677973824] AH01909: jcx.gr:443:0 server certificate does NOT include an ID which matches the server name

    [16/Feb/2024:12:20:32 +0200] "GET /__info2b6d6f62bced6aef845af249684630b4.php HTTP/1.1" 301 162 "-" "-"

    - [16/Feb/2024:12:49:30 +0200] "GET / HTTP/1.1" 301 162 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0"
  • MS

    Mian Saleem

    Answered
    Hello,

    These are access logs not error logs. For v2 you can enable app logs by changing the `log_threshold` to 1 in the `app/config/config.php` then try to access the page again to produce errors. Lastly check the latest log file in the `app/logs/` folder and let me know the error details so that I can suggest.

    Thank you
  • T

    TASOS

    Answered
    <?php defined('BASEPATH') OR exit('No direct script access allowed'); ?>

    ERROR - 2024-02-20 10:41:47 --> Severity: error --> Exception: array_merge(): Argument #1 must be of type array, bool given /var/www/vhosts/joke.gr/jx.gr/app/controllers/Welcome.php 36
    ERROR - 2024-02-20 10:41:48 --> Severity: error --> Exception: array_merge(): Argument #1 must be of type array, bool given /var/www/vhosts/joke.gr/jx.gr/app/controllers/Welcome.php 36
    ERROR - 2024-02-20 10:41:49 --> Severity: error --> Exception: array_merge(): Argument #1 must be of type array, bool given /var/www/vhosts/joke.gr/jx.gr/app/controllers/Welcome.php 36
    ERROR - 2024-02-20 10:41:50 --> Severity: error --> Exception: array_merge(): Argument #1 must be of type array, bool given /var/www/vhosts/joke.gr/jx.gr/app/controllers/Welcome.php 36
    ERROR - 2024-02-20 10:41:54 --> Severity: error --> Exception: array_merge(): Argument #1 must be of type array, bool given /var/www/vhosts/joke.gr/jx.gr/app/controllers/Welcome.php 36
    ERROR - 2024-02-20 10:42:03 --> Severity: error --> Exception: array_merge(): Argument #1 must be of type array, bool given /var/www/vhosts/joke.gr/jx.gr/app/controllers/Welcome.php 36
  • MS

    Mian Saleem

    Answered
    Hello,

    What is your php version? V2 can only be used with php7.4 Please share the installation URL in private reply so that I can have a look.

    I suggest you use the v3 as there will be no update for v2.

    Thank you
  • T

    TASOS

    Answered
    yes this was the problem i was using php 8.1.27 i will install v3 later,thanks a lot.
  • Login to Reply