Starter Kit does not load images or other urls

Hi, I’m having a problem getting the Kirby Starter Kit fully running. I am able to serve it up and see a page at localhost but none of the images load. I also can’t load any other url like localhost/panel/installation . I’m using Ubuntu 20 on my development machine and Apache2 for a server. All I’ve done here is download the zip, move it to /var/www/starterkit-main , and set the DocumentRoot to be that directory.

When I go to localhost, i get a 200 back and some content loads. When I go to localhost/panel/installation, I get a 404 Not Found.
I do have the .htaccess file included in the starter kit zip.

I did try setting permissions to 777 on /var/www/starterkit-main to see if that was the problem, but still no luck.

I assume I am missing something obvious, but I’ve read through How to Install Kirby CMS On Ubuntu 18.04 - RoseHosting as well as looked through docs on kirby and still no luck.

Any help would be greatly appreciated!

Did you upload the .htaccess file? If yes, make sure that .htaccess overrides are allowed on your server and that rewriting is enabled.

Thanks for the help @texnixe! The .htaccess file was there, but I needed to enable url rewriting for apache.

I followed this for Ubuntu: How to set up URL rewriting in Apache on Ubuntu? - LinuxForDevices

Hi y’all,

I installed Kirby 5 Starter Kit on XamppLite. The .htaccess file is there and AllowOverride All is active. Yet on the home page and the Notes page there are only black placeholders where the photos ought to be. However, in lightbox they are displayed. The only picture that’s visible is the one on the About page. Any ideas?

Anke

Both the lightbox as well as the top image on the about page use the full image, whereas everywhere else thumbs are used.

I’m not familiar with XamppLite at all. But for thumbs to work, you need either the gd library to be installed and enabled, oe ImageMagick needs to be present, see requirements: Quickstart | Kirby CMS.

This is what Chatgpt “said”:

Summary

Enabling GD (GD2) library in XAMPP Lite is simple. Here’s how to do it:


:white_check_mark: How to Enable GD in XAMPP Lite

1. Open your php.ini file

In XAMPP Lite, the file is usually located at:

\xampplite\apache\bin\php.ini

or sometimes:

\xampplite\php\php.ini

2. Find the GD extension line

Search for:

;extension=gd2

3. Enable the extension

Remove the leading semicolon ; so it becomes:

extension=gd2

If you also see:

;extension=php_gd2.dll

uncomment it the same way:

extension=php_gd2.dll

4. Save the file


5. Restart Apache

You must restart Apache for the change to take effect.

In XAMPP Control Panel:

  • Stop Apache
  • Start Apache again

6. Verify GD is enabled

Create a phpinfo() file:

<?php phpinfo(); ?>

Open it in your browser and look for a GD section.

You should see something like:

GD Support => enabled
GD Version => bundled (2.x.x)

1 Like