Giter VIP home page Giter VIP logo

Comments (13)

givanz avatar givanz commented on May 25, 2024

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][email protected] admin[password]=admin

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

from vvveb.

GrandM1961 avatar GrandM1961 commented on May 25, 2024

from vvveb.

givanz avatar givanz commented on May 25, 2024

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

from vvveb.

GrandM1961 avatar GrandM1961 commented on May 25, 2024

from vvveb.

GrandM1961 avatar GrandM1961 commented on May 25, 2024

from vvveb.

givanz avatar givanz commented on May 25, 2024

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

from vvveb.

GrandM1961 avatar GrandM1961 commented on May 25, 2024

from vvveb.

givanz avatar givanz commented on May 25, 2024

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

from vvveb.

GrandM1961 avatar GrandM1961 commented on May 25, 2024

from vvveb.

givanz avatar givanz commented on May 25, 2024

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.

from vvveb.

GrandM1961 avatar GrandM1961 commented on May 25, 2024

from vvveb.

givanz avatar givanz commented on May 25, 2024

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.

from vvveb.

GrandM1961 avatar GrandM1961 commented on May 25, 2024

from vvveb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.