pwafzig / bilddatenbank

Die Bilddatenbank ist ein einfach gehaltenes Tool für Bildjournalisten und kleine Bildagenturen, um ein Online-Bildarchiv aufzubauen und den Kunden möglichst einfachen Zugriff auf die eigenen Bilder zu bieten.
2 stars 2 forks source link

Installer on fresh install points to base bilddatenbank directory instead of subdirectory where install directory is located #14

Open tapwag opened 1 year ago

tapwag commented 1 year ago

Hello Peter,

the new installer looks very nice and I also noticed that you are now checking on https-protocol which is nice as major search engines put emphasis on this and rank these sites higher which will (hopefully) in more sales in the end.

Here are some steps I did which resulted in this issue:

Expected behavior: Installer should start up or display the gallery if installed.

I suppose it is just an issue with the path to the installer that the script points to a different directory.

Other than that I noticed some very nice improvements in the installer. It looks a lot better. Thanks for this and as always "Happy Hacking".

pwafzig commented 1 year ago

Hi @tapwag,

unfortunately, couldn't reproduce that. I cleaned up the XAMPP, downloaded the current code version and unpacked it in document root - as soon as you call http://localhost/bilddatenbank it detects the missing "config.inc.php" file and redirects to the installer. Maybe your DirectoryIndex directive in httpd.conf is missing the .php extension? Should look something like this:

DirectoryIndex index.php index.html

Otherwise we could redirect to /bilddatenbank/index.php and not only to /bilddatenbank/ - that would harden it a little bit in terms of such errors.

Best, Peter