Not signed in (Sign In)

Categories

Vanilla 1.1.5 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.
    • CommentAuthorlunisneko
    • CommentTimeOct 22nd 2005 edited
     # 1
    Well... I thought this was going to be easy :p But it ended up not being that way. I first installed Vanilla with no problems using install.php. But once it finished and forwarded me to to signin.php I got a "Class 'Context' Not Found". I searched around and found in your wiki that the Context class is a custom class... So why wouldn't it be able to find it. I found where it was defined and noticed that the path is a variable. I opened up Settings.php and looked for that variable and I believe I found the problem. On Windows, we use backslashes ( \ ) but all the paths ended with forward slashes ( / ) like you would want on a Unix platform. So I changed a few of them from forward to back slashes and I no longer get the Context error... But now I get only a white page. I'm assuming that is because of all the other references to paths using forward slashes. So... Any suggestions? Am I wrong in my diagnosis?
    • CommentAuthorlunisneko
    • CommentTimeOct 22nd 2005
     # 2
    After some poking around I figured out that the problem was the exact OPPOSITE of what I had thought. Rather than the forward-slashes in the path being hte problem, the backslashes were throwing everything off. After changing my path from c:\ns\www\vanilla to c:/ns/www/vanilla, everything just decided to work fine! So, in closing, there is a bug in the installer.php that should be made to change the backslashes in the absolute path to forward slashes. Hope this helps someone else with this problem. :)
    • CommentAuthorlunisneko
    • CommentTimeOct 22nd 2005 edited
     # 3
    And finally, a suggested fix.

    Replace line 178 with the following 2 lines.


    $apppath = str_replace("\\", "/", $WorkingDirectory);
    $ConstantManager->SetConstant("agAPPLICATION_PATH", $apppath);


    I am testing Vanilla now, and I'm quite happy with it. Lightweight and bloatless. Thanks for the great application~
    •  
      CommentAuthorMrNase
    • CommentTimeNov 22nd 2005
     # 4
    What file does this fix apply to?

    I get this message after a long list of erros:

    Fatal error: Class 'Context' not found in D:\xampp\htdocs\ajaxtalk\appg\init_external.php on line 40
    •  
      CommentAuthorhanry
    • CommentTimeNov 22nd 2005 edited
     # 5

    To Lunisneko.


    Thank you very much ...

    I had ever posted a topic need help

    Luckily , I have followed your way , it was fixed at 1 second .. Thank you.

    To MrNase


    You must modify the file:
    D:\Program Files\xampp\htdocs\vanilla\appg\settings.php
    And at the 21 line, It should be
    define("agAPPLICATION_PATH", "D:/Program Files/xampp/htdocs/vanilla/");
Add your comments
    Username Password
  • Format comments as