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

PHP Class "DB" not found! #106

Open
web-rpi opened this issue Nov 27, 2024 · 3 comments
Open

PHP Class "DB" not found! #106

web-rpi opened this issue Nov 27, 2024 · 3 comments
Assignees

Comments

@web-rpi
Copy link
Contributor

web-rpi commented Nov 27, 2024

The linking to "meekrodb" in path "sqstorage/vendor/sergeytsalkov/meekrodb" is incorrect and points to "https://".

A temporarily "work around", the meekrodb repository can be manually cloned to "sqstorage/vendor/sergeytsalkov/".

Work around:

cd sqstorage/vendor/sergeytsalkov/
rm -r meekrodb
git clone https://github.com/SergeyTsalkov/meekrodb.git

If you use docker, delete all sqstorage images and rebuild the stack!

@jrie
Copy link
Owner

jrie commented Nov 28, 2024

Hello, thank you for sharing your insights.

You may run composer update to pull in any changes. I also updated using composer before deploying with docker and it was working fine for me. Can you confirm this?

@web-rpi
Copy link
Contributor Author

web-rpi commented Nov 30, 2024

Hi, thank you for supporting! :)

No it dont work for me.
If i clone sqstorage in a completly fresh installation with git clone and list the sqstorage/vendor/sergeytsalkov/ directory, it is empty.
I dont know what u mean with composer update. I dont use php composer.

I think the problem is the linking to meekrodb repository in your github repository.
https://github.com/jrie/sqstorage/tree/main/vendor/sergeytsalkov

when you click on meekrodb, nothing else happens. I would expect that I should be redirected to the meekrodb repo of SergeyTsalkov here.

If I'm on the wrong track, let me know. :)

@jrie
Copy link
Owner

jrie commented Nov 30, 2024

I added, submodules are a completely new concept in git for me so, meekrodb as a submodule for sqstorage.
And it should be working now if you run on cloning:

Using a fresh git clone:
git clone --recurse-submodules https://github.com/jrie/sqstorage

OR

when downloaded arleady:
git pull and git submodule init and git submodule update

After this steps, "meekrodb" will be pulled in and the installation should work as expected.

@jrie jrie self-assigned this Dec 25, 2024
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

2 participants