Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthorRickySilk
    • CommentTimeAug 3rd 2005 edited
     # 1
    I just setup a development server on my home network running fedora core 4 which is apache2 and php5 I'm getting the following error on index.php.

    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in ./library/Utility.Page.class.php on line 32

    Fatal error: Call to a member function NewContextObject() on a non-object in ./appg/init_internal.php on line 54


    I'm stumped. I just wanted to make sure vanilla supports php5 before I go searching further.
    • CommentAuthorjonezy
    • CommentTimeAug 3rd 2005
     # 2
    as far as i know it is not supported.
    • CommentAuthorRickySilk
    • CommentTimeAug 3rd 2005
     # 3
    ah ha. That explains it. Thank you.
    • CommentAuthorRickySilk
    • CommentTimeAug 3rd 2005
     # 4
    Am I blind or do the docs not have any sort of requirements in them?
    •  
      CommentAuthorMark
    • CommentTimeAug 3rd 2005 edited
     # 5
    The docs are a work in progress, sorry.

    I've had a few people get it working on PHP5. It required some changes to the php.ini or apache, though. The problem is that older php classes are very different from php5 classes, so you have to make some changes to support older php class methodology.

    I think there was a discussion about it here
    • CommentAuthorpatrix
    • CommentTimeAug 3rd 2005
     # 6
    I had no prob with php5/apach2 apart from that bug in the extensions management discussed in the thread above.

    Definitely none of these fatal errors in the first post of this discussion

    (apach2.0/php5 running on freebsd 5.4)
    • CommentAuthorRickySilk
    • CommentTimeAug 4th 2005
     # 7
    Thanks fellas. Yeah I installed it on a debian woody (apache1.3/php4) box with no problems. I'm not real familiar with the new config options in apache2 and php5 so I'm not sure what the problem is with fedora core 4.
    •  
      CommentAuthorsweeney
    • CommentTimeAug 5th 2005
     # 8
    Works fine for me on 5.0.4

    M.
    •  
      CommentAuthorlech
    • CommentTimeAug 5th 2005
     # 9
    Ricky, I don't think that the flavor of nix is really the question unless there's some really strange permission settings being taken on from one to the next when dealing with php + apache. If anything, it's most likely the php setup itself, then apache. From what I've been told, apache2 is still a little weird but once it's running it does well. I still have yet to see that for myself though :|
    • CommentAuthorRickySilk
    • CommentTimeAug 10th 2005
     # 10
    right, didn't mean to imply it was a distro issue... just meant that it was working fine on a really ooooold system.

    Anyway, just to clear this up. I was getting all sorts of errors on fedora 4 amd64 install with apache2/php5. It was a fresh install so I don't know if something was messed up with it or what. I installed vanilla on fedora 4 i386 (apache2/php5) and everything is fine except for the noted problem in extensions manager.

    Weird... I know. I just wanted to clear that up.
Add your comments
    Username Password
  • Format comments as