Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <pre><code>Warning: include(C:\wamp\www\zf2\module\Application\test/../init_autoloader.php) : failed to open stream: No such file or directory in C:\wamp\www\zf2\module\App lication\test\Bootstrap.php on line 4 </code></pre> <p>This warning is telling you that it can't find the location of your <code>init_autoloader.php</code> file. Assuming that file is located in the root of your ZF2 project (so C:\wamp\www\zf2) as is convention, you need to change:</p> <pre><code>include __DIR__ . '/../init_autoloader.php'; </code></pre> <p>to</p> <pre><code>include __DIR__ . '/../../../init_autoloader.php'; </code></pre> <p><strong>EDIT</strong> Continued...</p> <pre><code>PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Unable to load ZF2. Run php composer.phar install or define a ZF2_PATH environment variable.' in C:\wamp\www\zf2\init_autoloader.php:48 </code></pre> <p>Your <code>init_autloader.php</code> file is having trouble finding your ZF2 library autoloader. As you're using composer. Add</p> <pre><code>"zendframework/zendframework": "2.1.*", </code></pre> <p>to your <code>"require"</code> section in composer.json if its not already there. Run composer and update your vendor libraries with</p> <pre><code>php composer.phar update </code></pre> <p>Try run the application again and see if it works. It may do depending what is included in your <code>init_autoload.php</code> file. If you're still having problems add the following to <code>init_autoloader.php</code></p> <pre><code>if(file_exists('vendor/autoload.php')) { $loader = require 'vendor/autoload.php'; } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload