Problem starting the warehouse example

Hi there,

digging my way into ATK, I want to run the warehouse example locally. It seems to implement quite some stuff I am looking for.

So what I did:

  1. Download ATK 1.3.0 and extract files
  2. Download and extract the files in the same folder, overwriting files that were duplicate.

Opening localhost/warehouse/index.php creates the following error:

Fatal error: Uncaught Error: Class ‘Warehouse’ not found in /var/www/html/warehouse/index.php:5 Stack trace: #0 {main} thrown in /var/www/html/warehouse/index.php on line 5

To me it seems to be a “simple” autoloader problem, not finding the Warehouse.php class definition file in /src folder.

Before digging deep into the various files of autoloader, does anybody have a quick suggestion what to do?


Normal instructions would be:

  1. Use git clone for the Warehouse
  2. run composer install to install dependencies.

Composer reads composer.json file which tells that for Class such as “Warehouse” it must include file from src/Warehouse.php. Try running #2 and you should probably be fine.


thanks for the advice. It works now (at least some test clicks do), though composer had an error:

Best regards

seems like issue with a local cache.