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
241 stars 49 forks source link

New zip not working #24

Open GrandM1961 opened 1 year ago

GrandM1961 commented 1 year ago

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???

givanz commented 1 year ago

Hi

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!

This message is shown if admin table is missing or empty and there is a config/db.php present, maybe you dropped tables before reinstall?

If you want to reinstall is enough to delete config/db.php and install screen will show automatically, the tables will be dropped and recreated during reinstall you don't need to make changes to db for reinstall.

Install from composer does not work, if you wish to install/reinstall from command line you can use

php cli.php install module=index host=127.0.0.1 user=root password= database=vvveb admin[email]=admin@vvveb.com admin[password]=admin

A new update is available with some bug fixes for menu and categories language tabs.

GrandM1961 commented 1 year ago

Doesn’t work either

Op 14 jan. 2023, om 21:19 heeft Givan @.***> het volgende geschreven:

Hi

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!

This message is shown if admin table is missing or empty and there is a config/db.php present, maybe you dropped tables before reinstall?

If you want to reinstall is enough to delete config/db.php and install screen will show automatically, the tables will be dropped and recreated during reinstall you don't need to make changes to db for reinstall.

Install from composer does not work, if you wish to install/reinstall from command line you can use

php cli.php install module=index host=127.0.0.1 user=root password= database=vvveb @.*** admin[password]=admin A new update is available with some bug fixes for menu and categories language tabs.

— Reply to this email directly, view it on GitHub https://github.com/givanz/Vvveb/issues/24#issuecomment-1382906496, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYCB2EU2YHBMTGPDXRINNDWSMC5FANCNFSM6AAAAAAT2QWGSQ. You are receiving this because you authored the thread.

givanz commented 1 year ago

If you delete config/db.php install does not show? what error is displayed?

GrandM1961 commented 1 year ago

I do get the installer but when it installs after that it says it can’t get the admin something out the top of my head. I will try ot tomorrow again and get back to you, been busy with a website for people. And i need something like vvveb to automate it more, but i have a difficult template and that won’t be easy to integratre. It has alot of different css and js files and sometimes collide with other scripts.Met vriendelijke groet, HansOp 14 jan. 2023 om 22:54 heeft Givan @.***> het volgende geschreven: If you delete config/db.php install does not show? what error is displayed?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

GrandM1961 commented 1 year ago

See screenshot, this is what I get over and over again, even after deleting the db.php

Op 14 jan. 2023, om 22:54 heeft Givan @.***> het volgende geschreven:

If you delete config/db.php install does not show? what error is displayed?

— Reply to this email directly, view it on GitHub https://github.com/givanz/Vvveb/issues/24#issuecomment-1382933123, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYCB2BSCVDTCVB2R4KC4KLWSMOCVANCNFSM6AAAAAAT2QWGSQ. You are receiving this because you authored the thread.

givanz commented 1 year ago

The screenshot is not displayed, can you please upload the image on a server or use a image sharing service and post the url?

GrandM1961 commented 1 year ago

All it shows is”MISSING ADMIN TABLE OR DATA, REMOVE CONFIG/DB.PHP OR REINSTALL”

I get that message over and over again, no matter what I do.

Op 16 jan. 2023, om 14:21 heeft Givan @.***> het volgende geschreven:

The screenshot is not displayed, can you please upload the image on a server or use a image sharing service and post the url?

— Reply to this email directly, view it on GitHub https://github.com/givanz/Vvveb/issues/24#issuecomment-1384053813, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYCB2BMOCYRA6W2AAELZC3WSVDMZANCNFSM6AAAAAAT2QWGSQ. You are receiving this because you authored the thread.

givanz commented 1 year ago

Can you drop the database and recreate it? This message is shown if admin table is missing or empty.

GrandM1961 commented 1 year ago

Tried that and still not working I have tried that several times

Op 16 jan. 2023, om 16:19 heeft Givan @.***> het volgende geschreven:

Can you drop the database and recreate it? This message is shown if admin table is missing or empty.

— Reply to this email directly, view it on GitHub https://github.com/givanz/Vvveb/issues/24#issuecomment-1384204047, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYCB2AQOAVNDPLKLYDAYP3WSVRG5ANCNFSM6AAAAAAT2QWGSQ. You are receiving this because you authored the thread.

givanz commented 1 year ago

If config/db.php does not exist than this message can not be shown, this is the first check made in the code.

Please make sure that the the file is deleted, maybe the install path is different and the file is still there.

I also made a new zip update and changed is_file with file_exists to check if config/db.php exists to avoid possible issues on some operating systems.

I also deleted admin table to check if the message is shown and it is shown but after I delete config/db.php install screen shows correctly.

From the code inside install/controller/index.php if the file config/db.php does not exist no check is made for admin table to show this message, this issue might be caused by some kind of caching of the file or the install page.

You can also try deleting everything, files and database and start from scratch.

GrandM1961 commented 1 year ago

Well something goes wrong, I have dropped the whole database, made a new one again. I double- trip-rechecked that the config file doesn’t exist, but yet when I see the screen with the database credentials I fill them in and wait a few seconds and every time that screen appears over and over again. That message comes right after submitting to install. And it made the config file again and again.

Op 16 jan. 2023, om 16:48 heeft Givan @.***> het volgende geschreven:

If config/db.php does not exist than this message can not be shown, this is the first check made in the code.

Please make sure that the the file is deleted, maybe the install path is different and the file is still there.

I also made a new zip update and changed is_file with file_exists to check if config/db.php exists to avoid possible issues on some operating systems.

I also deleted admin table to check if the message is shown and it is shown but after I delete config/db.php install screen shows correctly.

From the code inside install/controller/index.php if the file config/db.php does not exist no check is made for admin table to show this message, this issue might be caused by some kind of caching of the file or the install page.

You can also try deleting everything, files and database and start from scratch.

— Reply to this email directly, view it on GitHub https://github.com/givanz/Vvveb/issues/24#issuecomment-1384236972, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYCB2F2GP4RNEQ75AG6CPDWSVUWJANCNFSM6AAAAAAT2QWGSQ. You are receiving this because you authored the thread.

givanz commented 1 year ago

I changed the code and admin check will only display a message with the error found but it will not stop install, in this way install will work and we can find the cause from the error message. Please redownload the zip and overwrite all files.

GrandM1961 commented 1 year ago

I have downloaded it again from the website, and I will try it tomorrow once again. I will keep you updated.

Op 16 jan. 2023, om 19:59 heeft Givan @.***> het volgende geschreven:

I changed the code and admin check will only display a message with the error found but it will not stop install, in this way install will work and we can find the cause from the error message. Please redownload the zip and overwrite all files.

— Reply to this email directly, view it on GitHub https://github.com/givanz/Vvveb/issues/24#issuecomment-1384442743, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEYCB2ELLFHQICDYRSDXMVLWSWLA3ANCNFSM6AAAAAAT2QWGSQ. You are receiving this because you authored the thread.