-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
Not working in subdirectory #70
Comments
Hi Thanks for he bug report, the install redirect and install public folder path didn't include the subdirectory path. If you are using apache you need to update .htaccess and add the subdirectory path https://github.com/givanz/Vvveb/blob/master/.htaccess#L44
Menu links like about, contact us etc are fixed you need to update them after install to include |
Thanks @givanz Unfortunately now this error appears when choosing SQLite. I am pretty sure SQLite is installed and working, tried on local dev and live server with exact results: Continuing to next step is bad. Can continue and login but nothing really works. |
Thanks for feedback. I suspect that admin table fails because some sqlite commands to speed up install are added before the admin table sql code. I moved the pragma commands from admin table file to code. Please reupdate the files from latest.zip If it still doesn't work please provide more info like php and sqlite version and I will try to reproduce the bug. If sqlite version is less than 3.9.0 https://sqlite.org/fts5.html#building_fts5_as_part_of_sqlite then fts5 full text search support might be missing. |
Thanks for version info. I installed AlmaLinux 8.9 and tested on sqlite 3.26.0. There is a bug in full text search module, tried both fts5 and fts4. I haven't found any fix to make fts work on 3.26.0 it fails with If you don't need full text search then you can delete the sql from and install will work. On newer sqlite versions like 3.37.2 fts works fine. |
Sorry @givanz . I am actually working on this for my schoolteacher wife and we used her account to reply earlier. Figured that would confuse us all, lol. Here is the reply: Ok, not sure I 100% follow what to delete from fts4 and fts5. Am i deleting a portion of the file or entire contents? Removing portion I get error:
I then cleared the file(s) and left blank, still no go. Sorry, I just do not understand what you are saying "If you don't need full text search then you can delete the sql from" On another note: is there a place to change where vvveb looks for sqlite3? I have installed 3.45 but it is in folder /usr/local/bin/sqlite3. Not ready to set server to sqlite 3.45 quite yet. |
Only the highlighted portion should be deleted, starting with From the error message it looks like the full text search table is still there. Delete the database from
If you only need to test and don't need to use site search feature then you can remove full text search, if you also need site search then you need to upgrade sqlite or use mysql. There are also some autocomplete features that depend on search. Sqlite functions are provided by the php extension https://www.php.net/manual/en/book.sqlite3.php if you upgrade your php version and your distribution sqlite packages it should be enough to have a newer version. Usually the package is called |
Thanks @givanz . Well, I tried on a cPanel account instead of the school server and still no luck using SQLite. Just get the error below running PHP 8.2.13 and SQLite 3.7.17:
|
It looks like I broke the file into 9 separate files so that it does not exceed 500 rows per file, hope it is in the limit of the server configuration. Please redownload latest.zip and update |
@givanz @oleteacher The code gods above us are testing us, lol Will give the new version a try in the morning. We really appreciate your hard work Givan. I did an install using MySQL and went very smooth. The whole system is very smooth. Only issue was chatGPT will not work. Get message that 70 is not an integer. Most likely (int) missing someplace. I recall having to fix an issue with chatGPT / json by placing (int) before the value: like (int)70; |
Let's hope they are pleased with the fixes :) Thanks for the bug report, chatGPT is fixed in the latest.zip |
@givanz The code gods are pleased with you Givan => I have no doubt! You are a man of patience :) No go on the SQLite install. Choose SQLite as database and returned to thie scrren below. Still using SQLite V3.7.17: No another note: if I wish to upgrade my MySQL install to make chatgpt work, can I simply overwrite files? Using check update in dashboard does not show new version. |
Let's hope so :) it looks like this should be the last change and it should work. It seems that fts5 support is missing here also as it's falling back to fts4. This error happens because I forgot this line uncommented during sqlite testing Please comment back or delete the line like and retry. It's enough to overwrite files for chatgpt, no database changes were made. Version is not currently increased for small changes for automatic updates. |
Removing line 22 let the install proceed. Ended up with the messages below:
Looks like the school firewall has had enough of me trying installs and causing errors, it just locked me out and message says I need a new security dongle... Anyway, will try later on my own server when I have time to update splite above 3.26. |
The query looks fine, it also runs without errors on sqlite 3.37.2 Probably the schema is corrupt from something in fts4 configuration, I will try to reproduce it. Is there a specific setup I can use to have the same configuration for tests? I used AlmaLinux 8.9 for sqlite 3.26.0 tests should I use AlmaLinux 9 for sqlite 3.7.17? |
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 :)
The text was updated successfully, but these errors were encountered: