Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localhost XAMP #338

Open
raoharis951 opened this issue Feb 16, 2024 · 7 comments
Open

Localhost XAMP #338

raoharis951 opened this issue Feb 16, 2024 · 7 comments

Comments

@raoharis951
Copy link

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.

@givanz
Copy link
Owner

givanz commented Feb 18, 2024

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.

@raoharis951
Copy link
Author

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
Copy link
Author

raoharis951 commented Feb 21, 2024

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.

@givanz
Copy link
Owner

givanz commented Feb 21, 2024

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.

@raoharis951
Copy link
Author

raoharis951 commented Feb 21, 2024

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

@INTERC3PTI0N
Copy link

INTERC3PTI0N commented Mar 1, 2024

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.

@givanz
Copy link
Owner

givanz commented Mar 2, 2024

@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');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants