Vvveb icon indicating copy to clipboard operation
Vvveb copied to clipboard

Cannot install in windows 10

Open Kmuthu1981 opened this issue 1 year ago • 18 comments

Dear givanz

I installed xampp server . i tried to install vvveb in localhost. but i am unable to install.

Error - installation

Kmuthu1981 avatar Oct 26 '24 09:10 Kmuthu1981

Hi

From the error message it looks like the provided password for root is not correct.

You can check the password that phmyadmin is using from \xampp\phpMyAdmin\config.inc.php the line with

$cfg['Servers'][$i]['password'] = '*******';

or you can try to reset the root password with

mysqladmin -u root password

givanz avatar Oct 26 '24 19:10 givanz

Thank you for your Quick Response.

I install software successfully. After installation i got this error. image

Kindly help me to solve this error.

Kmuthu1981 avatar Oct 28 '24 05:10 Kmuthu1981

JSON_ARRAYAGG was added in MySQL version 5.7.22 and in MariaDB version 10.5.0

The latest Xampp version has MariaDB 10.4.32

You can stop Mysql/MariadBD from Xampp and install the latest version of MariaDB https://mariadb.org/download/ and use it instead of the one shipped with Xampp.

Alternatively you can delete config/db.php to reset the installation and use SQLite

givanz avatar Oct 28 '24 20:10 givanz

I installed successfully. I access home page only. I cannot access other pages

image

Kmuthu1981 avatar Nov 04 '24 05:11 Kmuthu1981

One possible cause can be that AllowOverride is not set to All in apache httpd.conf, you can edit the file from xampp control panel and check if is set to All.

DocumentRoot "c:\xampp\htdocs\"
<Directory "c:\xampp\htdocs\">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.4/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks Includes ExecCGI

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   AllowOverride FileInfo AuthConfig Limit
    #
    AllowOverride All # <<<<<<<<<<<<<<<

    #
    # Controls who can get stuff from this server.
    #
    Require all granted
</Directory>

givanz avatar Nov 04 '24 10:11 givanz

image

Kmuthu1981 avatar Nov 05 '24 08:11 Kmuthu1981

Can you also check that mod_rewrite is not commented?

LoadModule rewrite_module modules/mod_rewrite.so

If still doesn't work please paste the error messages from apache error.log.

givanz avatar Nov 05 '24 12:11 givanz

image

Kmuthu1981 avatar Nov 06 '24 04:11 Kmuthu1981

The 403 Forbidden error message is generated by apache, please check apache error log from xampp control panel.

error_log

givanz avatar Nov 06 '24 10:11 givanz

I installed successfully. I access home page only. I cannot access other pages

image

appache error log.

[Fri Nov 08 15:42:50.937928 2024] [core:error] [pid 18652:tid 1860] (20024)The given path is misformatted or contained invalid characters: [client ::1:61095] AH00127: Cannot map GET /public/themes/promodise/G:/xampp/htdocs/public/themes/promodise/about.html?r=0.8226198235519342 HTTP/1.1 to file, referer: http://localhost/admin/index.php?module=editor/editor&url=/&template=index.html

Kmuthu1981 avatar Nov 08 '24 10:11 Kmuthu1981

Thanks for the log, I found the bug and fixed it, please redownload latest.zip and update the files, you might need to clear cache.

givanz avatar Nov 09 '24 15:11 givanz

No, its not working

image

Kmuthu1981 avatar Nov 11 '24 03:11 Kmuthu1981

The fix is to change line 953 in system/functions.php#L953 to

$file     = preg_replace('@^.*[\\\/]themes[\\\/][^\\\/]+[\\\/]@', '', $file);

Can you please check that the line is changed and also manually empty the cache folder from vvveb/storage/cache/?

https://github.com/user-attachments/assets/e0fae420-2cc5-4167-8047-059c5177d31c

givanz avatar Nov 11 '24 12:11 givanz

Thank u so much. Now Correctly work

Kmuthu1981 avatar Nov 12 '24 09:11 Kmuthu1981

image

Kmuthu1981 avatar Nov 14 '24 09:11 Kmuthu1981

I'm unable to reproduce this, can you please check write permissions for theme folder /public/themes/promodise?

xampp-permissions

givanz avatar Nov 14 '24 19:11 givanz

I updated in html file. After updating content, the localhost not showing updated content. the old content only visible updated content image Shown in image

Kmuthu1981 avatar Nov 30 '24 06:11 Kmuthu1981

This is probably caused by page cache not being cleared, please try to manually delete all files inside /public/page-cache/ and /storage/compiled-templates maybe the files can't be deleted because of file permissions.

You can disable page cache from /env.php

define('PAGE_CACHE', false);

givanz avatar Dec 01 '24 11:12 givanz