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

Files missing from folder SleekDB #460

Open
alexvf opened this issue Apr 16, 2021 · 14 comments
Open

Files missing from folder SleekDB #460

alexvf opened this issue Apr 16, 2021 · 14 comments

Comments

@alexvf
Copy link

alexvf commented Apr 16, 2021

I tried downloading the code both in a zip file and cloning the repo. Using both methods the "SleekDB" folder comes empty.

So, when loading the site I get the error:

Warning: require_once(./SleekDB/src/Store.php): failed to open stream: No such file or directory in C:\xampp\htdocs\dropplets-v2\index.php on line 3
Fatal error: require_once(): Failed opening required './SleekDB/src/Store.php' (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\dropplets-v2\index.php on line 3
@johnroper100
Copy link
Owner

johnroper100 commented Apr 16, 2021

You need to run

git submodule update --init --recursive

when you clone the repository.

@alexvf
Copy link
Author

alexvf commented Apr 17, 2021

Thanks a lot! That solved it.

But now I'm getting a "404 - Page not found".
I tried to load these 3 URLs (with and without the .htaccess file) in Chrome and all throw a 404 error:

I'm running dropplets using

  • Windows 10
  • XAMPP v3.2.4
    • Apache 2.4.46
    • PHP 7.4.16

@johnroper100
Copy link
Owner

Did you set basePath to /dropplets-v2 in config.php?

@alexvf
Copy link
Author

alexvf commented Apr 17, 2021

I can´t find any config.php file in my folder or even in your repository.

@johnroper100
Copy link
Owner

johnroper100 commented Apr 17, 2021 via email

@alexvf
Copy link
Author

alexvf commented Apr 18, 2021

The config.php file is created when you first access the page.

It's not creating the file when I access it for the first time.
I deleted everything from the folder, cloned the repository again, opened the root URL for dropplets in Chrome and all I got was the 404 - Page Not Found.

Just to make sure it wasn't something with permissions I gave all permissions to Everyone in the dropplets folder (and sub-folders), but the result is the same!

@johnroper100
Copy link
Owner

johnroper100 commented Apr 18, 2021 via email

@alexvf
Copy link
Author

alexvf commented Apr 18, 2021

Hmm, do you have the .htaccess file enabled for your host?

Yes. :-\
.htaccess is working fine in my other websites hosted in the same server.

@drypatrick
Copy link

Thanks a lot! That solved it.

But now I'm getting a "404 - Page not found". I tried to load these 3 URLs (with and without the .htaccess file) in Chrome and all throw a 404 error:

* http://127.0.0.1/dropplets-v2/

* http://127.0.0.1/dropplets-v2/index.php

* http://127.0.0.1/dropplets-v2/dashboard

I'm running dropplets using

* Windows 10

* XAMPP v3.2.4
  
  * Apache 2.4.46
  * PHP 7.4.16

I've got a similar problem. After fulfilling the config, there is an error on the config.php:
'template' => liquid' instead of 'template' => 'liquid' (a " ' " missing before the template name).
Corrected this error on the config.php, there is no "dashboard" sub dir or file created

@drypatrick
Copy link

Is there some deployment guide for the released versions?

@badru8612
Copy link

base path should be like "C:\xampp\htdocs\dropplets".
Next error you may face syntax error, unexpected identifier "timezone", expecting

@zaqik
Copy link

zaqik commented Aug 4, 2022

Navigate to the URL of your host https://(your url)/settings

404 - Page Not Found

Please, provide an installation guide since available doesn't correspond. Also there's for me also no config.php in the folder after first 4 steps are completed.

@HelloLudger
Copy link

I can confirm that installation does not work as decribed, when I try to install into a subdirectory.

It works if I copy and modify a existing config.php (using the example would probably problematic, since login doesn't work due to not having a correct hash).

@hoddmimes
Copy link

Also had problem with the installation
Platform Linux (Fedora) / Apache . Dropplets installed in a foreign directory, with an (http conf) Alias.
No conf.php created upon first access, resulted in 404 - Page Not Found.

Resolution for me:

  • Manually created a conf.php in the Dropplets top installation directory. Based upon the example found here
  • Configured the password in the config.php by generate it from a PHP online page facilitating the hash_password function can be found here using BCRYPT.

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

7 participants