givanz / Vvveb

Powerful and easy to use cms to build websites, blogs or ecommerce stores.
https://www.vvveb.com
GNU Affero General Public License v3.0
384 stars 82 forks source link

Cannot install in windows 10 #206

Open Kmuthu1981 opened 3 weeks ago

Kmuthu1981 commented 3 weeks ago

Dear givanz

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

Error - installation

givanz commented 3 weeks ago

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
Kmuthu1981 commented 3 weeks ago

Thank you for your Quick Response.

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

Kindly help me to solve this error.

givanz commented 3 weeks ago

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

Kmuthu1981 commented 2 weeks ago

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

image

givanz commented 2 weeks ago

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>
Kmuthu1981 commented 2 weeks ago

image

givanz commented 2 weeks ago

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.

Kmuthu1981 commented 2 weeks ago

image

givanz commented 2 weeks ago

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

error_log

Kmuthu1981 commented 2 weeks ago

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

givanz commented 1 week ago

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.

Kmuthu1981 commented 1 week ago

No, its not working

image

givanz commented 1 week ago

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

Kmuthu1981 commented 1 week ago

Thank u so much. Now Correctly work

Kmuthu1981 commented 1 week ago

image

givanz commented 1 week ago

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

xampp-permissions