givanz / vvveb Goto Github PK
View Code? Open in Web Editor NEWPowerful and easy to use cms to build websites, blogs or ecommerce stores.
Home Page: https://www.vvveb.com
License: GNU Affero General Public License v3.0
Powerful and easy to use cms to build websites, blogs or ecommerce stores.
Home Page: https://www.vvveb.com
License: GNU Affero General Public License v3.0
#0 C:\Domains\myweb\wwwroot\system\db\pgsql.php(291): pg_result_error()
#1 C:\Domains\myweb\wwwroot\storage\model\admin\categorysql.pgsql.php(1983): Vvveb\System\Db\Pgsql->execute()
#2 C:\Domains\myweb\wwwroot\admin\controller\content\tags.php(42): Vvveb\Sql\CategorySQL->getCategoriesAllLanguages()
#3 [internal function]: Vvveb\Controller\Content\Tags->index()
#4 C:\Domains\myweb\wwwroot\system\core\frontcontroller.php(229): call_user_func()
#5 C:\Domains\myweb\wwwroot\system\core\frontcontroller.php(298): Vvveb\System\Core\FrontController::call()
#6 C:\Domains\myweb\wwwroot\system\core\frontcontroller.php(364): Vvveb\System\Core\FrontController::redirect()
#7 C:\Domains\myweb\wwwroot\system\core\startup.php(355): Vvveb\System\Core\FrontController::dispatch()
#8 C:\Domains\myweb\wwwroot\index.php(138): Vvveb\System\Core\start()
#9 C:\Domains\myweb\wwwroot\admin\index.php(41): include('...')
#10 C:\Domains\myweb\wwwroot\public\admin\index.php(26): include('...')
#11 {main}
In "app/template\indes.tpl" its named ['meta_description'] and ['meta_keywords'] but must be ['meta-description'] and ['meta-keywords']
Also most of the meta is still static in all pages.
Greetings!
I have changed the env.php:
Get 404 when trying to install. example.com/install not found. It of course should be example.com/sites/install
Have tried on local dev server and on live server with exact errors?
I did get this to load but many, many 404 errors in dev console:
How to fix? Really like to try it out :)
Hi there! Falling in love with vvveb cms, many thanx, wish it was much more popular then i could've found it earlier )).
So, i wanted to set default lang to russian (the place in central asia mostly russian speaking), but no such pack found.
And If this is the case, how can i contribute to translating or where start to translate my own installed site ?
Thank you for such nice modern tool :)
I have smtp configured, however when I make payment I don't know how to send about email. Can you help me?
why function in checkout() only pass 3 parameters? while the function defined in the function.php file passes 4 parameters?
Thanks!
No issue, just looking forward to a stable release. Been looking for sth like this. Keep up the great work.
Upon installation of the package downloaded from https://www.vvveb.com/download.php, after adding database connection details, on ?action=install, it throws the bellow exception
Exception: Call to undefined method mysqli_stmt::resultMetadata()#0 Vvveb\System\FrontController::notFound(, 500, Array ([message] => Call to undefined method mysqli_stmt::resultMetadata(),[code] => public function fetch_array($resulttype) { return $this->fetch_assoc(); } $meta = $this->stmt->resultMetadata(); // <<<=== while ($field = $meta->fetchField()) { $params[] = &$row[$field->name]; } ,[file] => /home/site/public_html/build/system/db/mysqli.php,[line_no] => 52,[line] => $meta = $this->stmt->resultMetadata(); // <<<=== ,[lines] => Array ([0] => } ,[1] => ,[2] => public function fetch_array($resulttype) { ,[3] => return $this->fetch_assoc(); ,[4] => } ,[5] => ,[6] => public function fetch_assoc() { ,[7] => $meta = $this->stmt->resultMetadata(); // <<<=== ,[8] => ,[9] => while ($field = $meta->fetchField()) { ,[10] => $params[] = &$row[$field->name]; ,[11] => } ,[12] => ,[13] => call_user_func_array([$this->stmt, 'bind_result'], $params); ),[trace] => #0
I tried to reinstall the newest version with the dutch translation in it, but no matter what i try every time it gives me the same message: Missing admin table or data, remove config/db.php to reinstall!
So i thought i will do it by terminal by composer install, yet that does not work either it gives me the next error:
In JsonFile.php line 347:
"./composer.json" does not contain valid JSON
Parse error on line 10:
...rce", "blog", ], "homepage": "ht
--------------------^
Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[' - It
appears you have an extra trailing comma
so now i can't do nothing, any solution for this???
Looking to try Vvven out for a classroom project. I see in requirements that SQLite is an option which is great for use on school networks.
https://docs.vvveb.com/installation-requierments
Are there install DOCS for SQLite, can't seem to find any?
Thanks.
After installation I'm receiving this error:
Fatal error: Uncaught Exception: Unknown column 'np_value' in 'field list' INSERT INTO np_option
(key
, value
, site_id
) VALUES ( "site-title", "XXXXXX", 1 ) ON DUPLICATE KEY UPDATE np_value
= values(value
) - INSERT INTO np_option
(key
, value
, site_id
) VALUES ( :key, :value, :site_id ) ON DUPLICATE KEY UPDATE np_value
= values(value
) in /home/host/domains/xxxxxxx/public_html/vvveb/system/db/mysqli.php:336 Stack trace: #0 /home/host/domains/xxxxxxx/public_html/vvveb/storage/model/install/optionsql.php(106): Vvveb\System\Db\Mysqli->execute() #1 /home/host/domains/xxxxxxx/public_html/vvveb/system/option.php(67): Vvveb\Sql\OptionSQL->setOption() #2 /home/host/domains/xxxxxxx/public_html/vvveb/system/functions/functions.php(96): Vvveb\System\Option->multiSet() #3 /home/host/domains/xxxxxxx. in /home/host/domains/xxxxxxx/public_html/vvveb/system/db/mysqli.php on line 336
Any idea about how I can solve that?
Hey @givanz
Thought it best to start a new issue since this in no way related to sqlite :)
I download the lastest.zip from your site. Replaced the chatgpt plugin with new code and still get same error. Cleared cache locally and also at Cloudflare, no change:
I am certain my api key is good and correct. Looking at network tab, the response from is:
{
"error": {
"message": "'200' is not of type 'integer' - 'max_tokens'",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
More info that may help:
POST https://api.openai.com/v1/completions 400 (Bad Request)
aiAssistantSendQuery @ chatgpt-tinymce.js:113
(anonymous) @ chatgpt-tinymce.js:37
dispatch @ jquery.min.js:2
v.handle @ jquery.min.js:2
CSS is reset with fill and borders when the font is changed.
If you need additional information, please write =)
Html template not found!
Vvveb\public\admin\default\user/login.html
I have created two sites: site1.domain.com and site2.domain.com, both mapped to the same codebase. Some features work when I switch between sites from the admin top area.
Subsequently, I created a dummy page on site1 (site1.domain.com/dummy) and another on site2 (site2.domain.com/dummy). I set each of them as the default home page for their respective sites. However, when I navigate to site1.domain.com, edit the dummy page, save the content, and then attempt to view the pages on the frontend for site2.domain.com/dummy, I see the content for site1.domain.com/dummy.
Nevertheless, I can comfortably switch between sites in the admin area and edit the content of individual pages. It's important to note that the frontend header bar (i.e., email, phone, etc., set in site settings) updates correctly when I visit the respective site on the frontend. The issue is specific to the content of the page, consistently pulling from site1.
How can I make it work with a multiple domains setup?
Hallo mates,
since the Internet is now increasingly or predominantly already being used with smartphones or tablets and pure web applications are losing more and more popularity, a progressive web app (PWA) would really be of great use. Maybe an extension, an update for the future?
Here is a info about it and how to do it: https://medium.com/pynk/what-is-a-pwa-and-how-to-install-add-to-home-screen-progressive-web-apps-e6e8087d9ad0
Kind regards, Andreas ;)
Is this marvelous product completely free? Is there any pro version?
I just spunt Vvvweb up on a VPS behind a simple apache config and got this error
Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /var/www/vvveb/system/functions.php on line 204
Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /var/www/vvveb/system/functions.php on line 204
Fatal error: Uncaught Error: Class "DomDocument" not found in /var/www/vvveb/system/psttt.php:180 Stack trace: #0 /var/www/vvveb/system/core/view.php(102): Psttt->__construct() #1 /var/www/vvveb/system/core/frontcontroller.php(127): Vvveb\System\Core\View::getInstance() #2 /var/www/vvveb/system/core/frontcontroller.php(170): Vvveb\System\Core\FrontController::di() #3 /var/www/vvveb/system/core/frontcontroller.php(253): Vvveb\System\Core\FrontController::call() #4 /var/www/vvveb/system/core/frontcontroller.php(305): Vvveb\System\Core\FrontController::redirect() #5 /var/www/vvveb/system/core/startup.php(321): Vvveb\System\Core\FrontController::dispatch() #6 /var/www/vvveb/index.php(122): Vvveb\System\Core\start() #7 /var/www/vvveb/install/index.php(36): include('...') #8 {main} thrown in /var/www/vvveb/system/psttt.php on line 180
Looks l'm using a wrong php version (I'm using 8.1). Which one am I supposed to use?
i'm installing vvveb with sqlite backend.
it brings me to the page where i enter the website name, then click "finish install".
seems like $filterArray
is empty in $params['admin']= $this->db->filter($params['admin'], $filterArray,false);
also, where is the code in git?
Error
Unable to prepare statement: 1, near "WHERE": syntax error
UPDATE admin
SET
WHERE
username = 'admin'
- UPDATE admin
SET
WHERE
username = :username
File
/srv/web/vvveb/hmvhp/system/db/sqlite.php209
Code
try {
//echo $origSql;
//echo $sql;
$stmt = self::$link->prepare($sql);
} catch (\Exception $e) {
$message = $e->getMessage() . "\n" . $this->debugSql($origSql, $params, $paramTypes) . "\n - " . $origSql;
throw new \Exception($message, $e->getCode()); // <==
}
if ($stmt && ! empty($paramTypes)) {
foreach ($parameters as $key => $value) {
$type = $types[$key] ?? 's';
$type = ($type == 'i') ? SQLITE3_INTEGER : SQLITE3_TEXT;
Trace
#0 /srv/web/vvveb/hmvhp/storage/model/install/adminsql.sqlite.php(521): Vvveb\System\Db\Sqlite->execute()
#1 /srv/web/vvveb/hmvhp/system/user/admin.php(59): Vvveb\Sql\AdminSQL->edit()
#2 /srv/web/vvveb/hmvhp/install/controller/index.php(225): Vvveb\System\User\Admin::update()
#3 [internal function]: Vvveb\Controller\Index->install()
#4 /srv/web/vvveb/hmvhp/system/core/frontcontroller.php(226): call_user_func()
#5 /srv/web/vvveb/hmvhp/system/core/frontcontroller.php(297): Vvveb\System\Core\FrontController::call()
#6 /srv/web/vvveb/hmvhp/system/core/frontcontroller.php(362): Vvveb\System\Core\FrontController::redirect()
#7 /srv/web/vvveb/hmvhp/system/core/startup.php(365): Vvveb\System\Core\FrontController::dispatch()
#8 /srv/web/vvveb/hmvhp/index.php(144): Vvveb\System\Core\start()
#9 /srv/web/vvveb/hmvhp/install/index.php(51): include('...')
#10 /srv/web/vvveb/hmvhp/public/install/index.php(26): include('...')
#11 {main}
Hello !
I've just install vvvebCMS... i tried my first admin's connection and :
Warning : Undefined array key "password" in
/system/user/admin.php
on line 116
Deprecated : password_verify(): Passing null to parameter #2 ($hash) of type string is deprecated in
/system/user/auth.php on line 29
The server is a PHP v8.1.
Best.
Christophe
Have installed the last 4 updates when they came out and still having issues changing header links let alone even the text of said header links. when is this supposed to be finished?
PLugin market page does not load on pgsql with following error
Probably missing settings page
C:\Domains\myweb\wwwroot\plugins\plugin-market\admin\controller\settings.php on line
I was trying to see if the database managment plugin was there as when I download from https://plugins.vvveb.com/product/database-management
I get this error:
plugin slug database-management
does not match folder database-management-main/!
Hopefully I didn't overlook something but I can't figure out how to change a background hero image. I click HEADER. hero-3 background image and then it gives me options to use none, image, gradient , video , or slider. Clicking any of those options doesn't do anything.
Steps to reproduce:
Fix:
in /admin/controller/settings/site.php
line 149 $site['id'] = $site_id;
line 152 list($site, $settings, $site_id, $data) = Event :: trigger(__CLASS__,__FUNCTION__, $site, $settings, $site_id, $data);
I have installed vvveb on a subdomain, but this means that it breaks, it redirects to my original page. Also it does not allow the changing of the name, and themes fail to load. Clicking on the logo on my page redirects to vvveb.com. Could this be fixed?
Error after try 'save as reusable'
If additional information is required, I am ready to provide
Warning: file_put_contents(/home/d/dissokdf/techdeer.ru/public_html/public/themes/blink-coming-soon/blocks/reusable/header.html): Failed to open stream: No such file or directory in /home/d/dissokdf/techdeer.ru/public_html/admin/controller/editor/editor.php on line 327 {"success":false,"message":"Error saving!"}
Is this cms production ready?
I was looking for cms that would fit some specific criteria...
Those were: Block website builder, multilang support and ability to use https without errors on custom ports(Router uses 443 and there is no way to change it), possibility to selfhost it (using docker).
From these your and 1 other(Automad) seam to match all criteria I have, but yours has better builder... or so I think...
Asking cause there is note on main website Note: Beta Version
I have installed my software manually (not using Docker) and found limited information about file / folder permissions.
I found / modified the following information in the Docker files - can anyone confirm is this is correct and complete, to set permissions ?
chown -R apache:apache Path_to_Website_root
chmod -R 555 Path_to_Website_root
chmod -R 666 Path_to_Website_root/storage
chmod 555 Path_to_Website_root/storage
chmod -R 644 Path_to_Website_root/public
chmod 555 Path_to_Website_root/public
chmod -R 644 Path_to_Website_root/config
chmod 555 Path_to_Website_root/config
chmod -R 666 Path_to_Website_root/plugins
chmod -R 666 Path_to_Website_root/storage/cache
chmod -R 666 Path_to_Website_root/storage/digital_assets
chmod -R 666 Path_to_Website_root/public/image-cache
I see this error if i go address http://myremoteVPSipaddress/admin/?module=settings/sites
VVVEB is installed on a VPS server running ubuntu
Could you please consider adding multi-tenancy support to enhance the script's functionality?
It would be a game-changer for our project.
alternatively if you can suggest how to achieve that in the current version.
"Frontend assets cache" clear button reffers to unknown function assets
Function in "admin\controller\tools\cache.php" is named "function asset()"
Change in "public\admin\default\tools\cache.html" on line 1368 "action":"assets" to "action":"asset"
Hi, getting the following error when opening the page editor..
Uncaught TypeError: Cannot read properties of undefined (reading 'menu')
at new MenuComponent (menu.js:66:26)
at menu.js:91:21
The loading spinner remains and the page to edit does not load.
Thanks
DUPLICATE KEY ERROR
#0 C:\Domains\myweb\wwwroot\system\db\pgsql.php(291): pg_result_error()
#1 C:\Domains\myweb\wwwroot\storage\model\admin\menusql.pgsql.php(1200): Vvveb\System\Db\Pgsql->execute()
#2 C:\Domains\myweb\wwwroot\admin\controller\content\menus.php(122): Vvveb\Sql\MenuSQL->editMenuItem()
#3 [internal function]: Vvveb\Controller\Content\Menus->add()
#4 C:\Domains\myweb\wwwroot\system\core\frontcontroller.php(229): call_user_func()
#5 C:\Domains\myweb\wwwroot\system\core\frontcontroller.php(298): Vvveb\System\Core\FrontController::call()
#6 C:\Domains\myweb\wwwroot\system\core\frontcontroller.php(364): Vvveb\System\Core\FrontController::redirect()
#7 C:\Domains\myweb\wwwroot\system\core\startup.php(355): Vvveb\System\Core\FrontController::dispatch()
#8 C:\Domains\myweb\wwwroot\index.php(138): Vvveb\System\Core\start()
#9 C:\Domains\myweb\wwwroot\admin\index.php(41): include('...')
#10 C:\Domains\myweb\wwwroot\public\admin\index.php(26): include('...')
#11 {main}
There is an assumption that the template favicon (is it even needed at the template level?) has higher priority than the favicon in the admin settings
It’s problematic to check completely - the favicon is apparently cached at my server level and takes N-hours to change
Hello, i have set the website up and everything is working but i have one problem.
Now i have 2 sites and whenever i edit one of them both gets edited the same.
Although the admin users and roles are different in these 2 sites.
Hello,
I've setup vvveb on a subfolder and attempted to rewrite the requests to the folder in question but the website interface breaks as it keeps trying to access %{DOCUMENT_ROOT}/public/*. How can i adjust the settings to accommodate the subfolder in the path?
My .htaccess looks like this:
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP_COOKIE} !^.*(nocache).*$
#RewriteCond %{QUERY_STRING} !^.*(nocache|admin).*$
RewriteCond %{QUERY_STRING} !^.*(/test/admin).*$
RewriteCond %{DOCUMENT_ROOT}/test/public/page-cache/%{HTTP_HOST}/$1/index.html -f
RewriteRule ^(.*) /test/public/page-cache/%{HTTP_HOST}/$1/index.html [L]
RewriteCond %{DOCUMENT_ROOT}/test/public/page-cache/%{HTTP_HOST}/$1 -f
RewriteRule ^(.*) /test/public/page-cache/%{HTTP_HOST}/$1 [L]
#end page cache
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ /test/index.php [L]
</IfModule>
I also believe this might be the issue experienced on #10 (maybe he meant subfolder instead of subdomain)
Product Review "Delete Button" refers to wrong page -> reffers to product_reviews but should be product-reviews
Changing "admin\controller\content\comments.php"
$comment['delete-url'] = \Vvveb\url(['module' => "$module/$list", 'action' => 'delete'] + $url);
to
$comment['delete-url'] = \Vvveb\url(['module' => "$module/$listController", 'action' => 'delete'] + $url);
Hello,
At first, thanks a lot for all your great job for this tools ! :)
I'm facing of an little issue with the menu in editor. Some times it's appearing without any problem when I'm trying to change it in the header (move it, select another etc.) but some other times it's disappearing without error logged ..
And after experience different situation, it seems to arrive after adding another custom submenu item or menu .. But I don't find any error in code so it's for that that I'm opening this issue.
Thanks in advance for your time and help and if you need more explanations/details, don't hesitate :)
Hello there,
I tried to launch the solution under my own docker container image (with alpine distrib and a lot of more dependencies for my others services) but I have an error about the GLOB_BRACE constant that in unavailable on specific distrib like Apline ..
Have you an idea of a workaround to fix that .. ? Cause I wouldn't like to make again all my image and change some things on my stable environment ..
Thanks by advance for all your time and help :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.