Question: Installation On Mamp Pc

Installation On Mamp Pc

Hello, Followed the instructions and i'm getting a blank page (500) after i try to access 127.0.0.1/forum/install . Help would be really great. thanks in advance Ps: is the same situati

NN

nillazine nillazine

Asked

Hello,

Followed the instructions and i’m getting a blank page (500) after i try to access 127.0.0.1/forum/install .

Help would be really great.

thanks in advance

Ps: is the same situation on Xampp , both have PHP v8.1 enabled and active

  • NN

    nillazine nillazine

    Answered

    Forgot to add that i’m talking about the Beta V2

    Error Log: [03-May-2022 22:16:28 UTC] PHP Warning: mysqli_connect(): (HY000/1045): Access denied for user ‘root’@‘localhost’ (using password: NO) in C:\Users\rootOne\AppData\Roaming\Appsolute\MAMP\pscripts\file-41cc3a1a-ec93-4085-b812-e233eb7662b4.php on line 3

  • NN

    nillazine nillazine

    Answered

    The php file above contains:

    con=mysqli_connect(“localhost”,“root”,“”, “mysql”, 3306);

    if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); }

    $sth = mysqli_query($con,“UPDATE mysql.user SET authentication_string = PASSWORD(‘root’), password_expired = ‘N’ WHERE User = ‘root’ AND Host = ‘localhost’;”); mysqli_query($con,“FLUSH PRIVILEGES;”); $rows = array();

    while($r = mysqli_fetch_assoc($sth)) { $rows[] = $r; } print json_encode($rows);

    mysqli_close($con);

  • MS

    Mian Saleem

    Answered

    Hello,

    For local install, you need to add virtual host and set the bath to public folder of downloaded file. The you should be able to access the installer as mentioned in the docs.

    To install it in folder, you need to redirect traffic to public folder of donwload. If your plateform uses apache then there is file in the download that will do this. For others, you will need to do it yourself. You can search for your web server.

    500 error could be due to various reason. Please check your server error logs for error details. You can check the Laravel log in the storage/logs/ folder too.

    Thank you

  • NN

    nillazine nillazine

    Answered

    Hi,

    I’ve made a vhost on Xampp this time, but i get still the 500 error, the problem is most probably on my end so i will stop for now since the V2 is still in Beta and maybe a lot of things will change so i’ll rather wait for the final release 😃

    If i just could make one request: please make the final version of V2 hassle free if it comes to installation, just like your V1 version! The installation was very straightforward and familiar.

    Too complex maintenance and installation or update processes will probably discourage many other potential buyers since they would need to pay someone else on top of their purchase who keep their script up and running.

    Thank you 😃

  • MS

    Mian Saleem

    Answered

    Hello,

    The installation of v2 requires an extra step to the root path. Other are same accessing the installer and following the steps. For 500 errors, please check the server error logs and you can check the Laravel logs in the storage/logs/ folder too.

    We try to make the installation as easy as we can but still there might be issues. Same as you are getting 500 errors and checking log would be super helpful to know the cause.

    Thank you

  • A

    Amr

    Answered

    @Mian Saleem

    i have tried too the latest files and get i did not do anything i just make root to public folder and try to access installer no luck i get this in log

    [2023-04-26 19:18:20] production.ERROR: SQLSTATE[HY000] [1045] Access denied for user ‘forge’@‘localhost’ (using password: NO) (Connection: mysql, SQL: select tec_key, tec_value from settings) {“exception”:"[object] (Illuminate\Database\QueryException(code: 1045): SQLSTATE[HY000] [1045] Access denied for user ‘forge’@‘localhost’ (using password: NO) (Connection: mysql, SQL: select tec_key, tec_value from settings) at /var/www/fou.monjz.net/htdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php:793) [stacktrace]

  • MS

    Mian Saleem

    Answered

    Hello,

    Looks like the db call is being made before the redirect to installer. Did you tried to access the installer by adding /install to the url in browser?

    I will check this in coming update beta.7

    Thank you

  • Login to Reply