Vvveb icon indicating copy to clipboard operation
Vvveb copied to clipboard

Localhost XAMP

Open raoharis951 opened this issue 1 year ago • 11 comments

It is not running on localhost I tried alot & also i tried on hostinger too the them section is empty. Will you please provide me the complete guided video of the process to run on localhost.

raoharis951 avatar Feb 16 '24 10:02 raoharis951

Do you get an error message? Can you please check if there are errors in the developer console (F12 key in Chrome browser) and paste them here?

To work on xampp all you need is to unzip the latest release https://github.com/givanz/VvvebJs/releases in C:/xampp/htdocs

Then open http://localhost/editor.html or http://localhost/editor.php if you want to display saved pages in the file manager.

givanz avatar Feb 18 '24 23:02 givanz

Failed to load resource: the server responded with a status of 404 (Not Found) This is the error that appears in Console and i want to run it on local.

raoharis951 avatar Feb 20 '24 05:02 raoharis951

Will you please make a video of complete installation for admin dashoard and editor on local how to connect them also let me know the whole process for this step by step.

raoharis951 avatar Feb 21 '24 04:02 raoharis951

admin dashboard

Do you use Vvveb CMS or VvvebJs page builder?

Only the CMS has an admin, VvvebJs has only one page, the page builder it comes without an admin dashboard.

Vvveb CMS has VvvebJs page builder built in you don't need to install both.

Do you need a video with the CMS installation or after installation setup?

Installation is very easy, after unzipping latest.zip to htdocs folder follow the installation instructions https://docs.vvveb.com/installation

You can use SQLite if you don't want to configure database details for an easier install.

givanz avatar Feb 21 '24 10:02 givanz

CaptureERROR Yes I want CMS complete video of this project both installation and after installation so i can understand how it run.

raoharis951 avatar Feb 21 '24 19:02 raoharis951

CaptureERROR Yes I want CMS complete video of this project both installation and after installation so i can understand how it run.

I initially faced the same issue too, but it seems in order to make it work you have to put all the files into the main htdocs directory itself, not in a sub-directory inside htdocs. I just installed a copy of xampp and deleted everything from htdocs folder, and extracted the zip file directly inside htdocs. That works well. I'm sure there's other ways to make it work via .htaccess or whatever, but I didn't need xampp anything else. Also manually update MariaDB to newer version, otherwise you'll face JSON_ARRAYAGG errors.

INTERC3PTI0N avatar Mar 01 '24 13:03 INTERC3PTI0N

@INTERC3PTI0N

Thanks for info on subdirectory issues with XAMPP. For subdirectory installation V_SUBDIR_INSTALL must be set in env.php to subdirectory name

defined('V_SUBDIR_INSTALL') || define('V_SUBDIR_INSTALL', '/subdir');

https://github.com/givanz/Vvveb/blob/master/env.php#L46-L47

But is better to use from htdocs directly because with subdirectory install there can be issues with things like multi site.

@raoharis951

I just saw the screenshot, it was not visible before, I see that you are loading Vvveb from /latest subfolder you can either set V_SUBDIR_INSTALL or move the files to /htdocs as @INTERC3PTI0N recommends.

defined('V_SUBDIR_INSTALL') || define('V_SUBDIR_INSTALL', '/latest');

givanz avatar Mar 02 '24 00:03 givanz

I moved everything to the /htdocs and it worked. but I would like to keep everything organized with a sub directory. Editing the env.php file did not worked, and as you mentioned can you fix the issues with things like multi site?

hansana2 avatar Feb 05 '25 04:02 hansana2

I passed 2 Installation screens and now it's showing me a error, after I redirected to the dashboard. ( Internal server error! (error 500) )

Here is a screenshot. What am I doing wrong? (I'm not using any subdirectory.)

Image

DevHanza avatar Feb 05 '25 04:02 DevHanza

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.

https://github.com/givanz/Vvveb/issues/105

You can also reinstall using SQLite instead of MySql.

You can delete config/db.php to reset db config and install page will show to choose SQLite.

givanz avatar Feb 05 '25 12:02 givanz

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.

#105

You can also reinstall using SQLite instead of MySql.

You can delete config/db.php to reset db config and install page will show to choose SQLite.

Thanks, it worked! I updated the SQL Version in my XAMPP.

(Anyone for that looking for a solution) Here is how I did it: https://youtu.be/RmrU_t5vpe8

DevHanza avatar Feb 05 '25 17:02 DevHanza