GithubHelp home page GithubHelp logo

Comments (8)

dancryer avatar dancryer commented on August 16, 2024

Try changing:

RewriteBase /home/PHPCI

To:

RewriteBase /

On Friday, 24 May 2013, trideout wrote:

Attempting to get things set up and I am getting this error

Fatal error: Uncaught exception
'b8\Exception\HttpException\BadRequestException' with >message 'Invalid
controller: Index.php does not exist.' in

/home/PHPCI/vendor/block8/b8framework/b8/Application.php:87 Stack trace:
#0 >/home/PHPCI/vendor/block8/b8framework/b8/Application.php(66):
b8\Application->>initController() #1#1: b8\Application->initRequest() >
#2 #2 /home/PHPCI/index.php(18):
PHPCI\Application->handleRequest() #3https://github.com/Block8/PHPCI/issues/3{main} thrown in >/home/PHPCI/vendor/block8/b8framework/b8/Application.php
on line 87

My .htaccess is

RewriteEngine On
RewriteBase /home/PHPCI
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*)? index.php [L,E=PATH_INFO:/$1]

and my httpd conf is

Listen 8180

ServerName ci.crazyprotocol.com
DocumentRoot /home/PHPCI
ErrorLog "/etc/httpd/logs/phpci-error_log"
CustomLog "/etc/httpd/logs/phpci-access_log" combined
DirectoryIndex index.php

Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all

Any Ideas?


Reply to this email directly or view it on GitHubhttps://github.com//issues/64
.

Dan Cryer
Director
Block 8 Limited

07590 698944
[email protected]
@block8digital http://www.twitter.com/block8digital

from phpci.

trideout avatar trideout commented on August 16, 2024

No luck

from phpci.

trideout avatar trideout commented on August 16, 2024

Could this be related to this notice during ./console phpci:install ?

PHP Notice: Undefined index: REQUEST_URI in /home/PHPCI/vendor/block8/b8framework/b8/Http/Request.php on line 30

from phpci.

trideout avatar trideout commented on August 16, 2024

looks like the install is silently failing here

   // Update the database:
   $gen = new \b8\Database\Generator(\b8\Database::getConnection(), 'PHPCI', './PHPCI/Model/Base/');
   $gen->generate();

from phpci.

trideout avatar trideout commented on August 16, 2024

Isolated the install issue to this line

PHP Fatal error: Call to undefined method DirectoryIterator::getExtension() in /home/PHPCI/vendor/block8/b8framework/b8/Database/Generator.php on line 48

php -v output

PHP 5.3.3 (cli) (built: Feb 22 2013 02:37:06)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

Any ideas why reflection wouldn't be working?

from phpci.

trideout avatar trideout commented on August 16, 2024

Not reflection, the DirectoryIterator class is only available in PHP > 5.3.6, documentation should up updated to reflect this requirement.

from phpci.

dancryer avatar dancryer commented on August 16, 2024

Ah, I think getExtension may be a PHP 5.4 addition. Will look into
replacing (unless you want to fix and send a pull request?)

On Friday, 24 May 2013, trideout wrote:

Not reflection, the DirectoryIterator class is only available in PHP >
5.3.6, documentation should up updated to reflect this requirement.


Reply to this email directly or view it on GitHubhttps://github.com//issues/64#issuecomment-18424824
.

Dan Cryer
Director
Block 8 Limited

07590 698944
[email protected]
@block8digital http://www.twitter.com/block8digital

from phpci.

trideout avatar trideout commented on August 16, 2024

I'll see what I can do :)

from phpci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.