dropplets icon indicating copy to clipboard operation
dropplets copied to clipboard

Files missing from folder SleekDB

Open alexvf opened this issue 3 years ago • 14 comments

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

alexvf avatar Apr 16 '21 21:04 alexvf

You need to run

git submodule update --init --recursive

when you clone the repository.

johnroper100 avatar Apr 16 '21 22:04 johnroper100

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

alexvf avatar Apr 17 '21 13:04 alexvf

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

johnroper100 avatar Apr 17 '21 21:04 johnroper100

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

alexvf avatar Apr 17 '21 22:04 alexvf

The config.php file is created when you first access the page. It should be in whatever directory your website is in.

On Sat, Apr 17, 2021 at 6:05 PM Alex @.***> wrote:

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

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/johnroper100/dropplets/issues/460#issuecomment-821894081, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACKUNHZPUDPOSZ4TRHJFEWTTJIAZJANCNFSM43CJSKEQ .

-- John Roper Developer, Organist, and Project Manager Quincy MA, USA https://jmroper.com/

johnroper100 avatar Apr 17 '21 22:04 johnroper100

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!

alexvf avatar Apr 18 '21 10:04 alexvf

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

On Sun, Apr 18, 2021 at 6:02 AM Alex @.***> wrote:

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!

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/johnroper100/dropplets/issues/460#issuecomment-821966720, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACKUNHYV6W4WRFELIB2MCZ3TJKU4PANCNFSM43CJSKEQ .

-- John Roper Developer, Organist, and Project Manager Quincy MA, USA https://jmroper.com/

johnroper100 avatar Apr 18 '21 13:04 johnroper100

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.

alexvf avatar Apr 18 '21 14:04 alexvf

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 avatar Oct 23 '21 09:10 drypatrick

Is there some deployment guide for the released versions?

drypatrick avatar Oct 23 '21 14:10 drypatrick

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

badru8612 avatar Aug 01 '22 09:08 badru8612

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.

zaqik avatar Aug 04 '22 10:08 zaqik

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).

HelloLudger avatar Aug 10 '22 14:08 HelloLudger

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.

hoddmimes avatar Oct 31 '22 11:10 hoddmimes