Author Topic: Knowledgeroot 2  (Read 2220 times)

Offline sho

  • User
  • *
  • Posts: 2
    • View Profile
Knowledgeroot 2
« on: June 13, 2014, 05:02:39 AM »
Ubuntu 12.04
I want to install Knowledgeroot 2 by Github.
Quick Start Step.4:base_path is "/var/www/knowledgeroot/public"
but when I +NEW Page: show

Not Found
The requested URL /knowledgeroot/public/page/new was not found on this server.

and, app/Bootstrap.php Line 830
 $config->base->base_path . '/application/controller'
change to
 $config->base->base_path . '/app/controllers'

How about to fix the problem?
Thx.

Offline admin

  • Administrator
  • User
  • *****
  • Posts: 688
    • View Profile
    • http://www.lordlamer.de
Re: Knowledgeroot 2
« Reply #1 on: June 13, 2014, 07:43:25 AM »
Hi,

1. I have fixed the wrong path to the controller.
2. About your problem with new page. It seems that you did not allow the .htaccess file in your apache config. In the public folder is a .htaccess file with some small rewrite conditions. So you need to configure apache to allow this rewrites. Or did you use another webserver?

Frank

Offline sho

  • User
  • *
  • Posts: 2
    • View Profile
Re: Knowledgeroot 2
« Reply #2 on: June 13, 2014, 11:20:32 AM »
Dear Frank,

I changed my apache configure that AllowOverride None -> All
But it show

Internal Server Error



my app.ini changed

Line 35: base_path = "/var/www/knowledgeroot/public/"
Line 36: base_url = "http://ip/knowledgeroot/public/"

added timezone



Offline admin

  • Administrator
  • User
  • *****
  • Posts: 688
    • View Profile
    • http://www.lordlamer.de
Re: Knowledgeroot 2
« Reply #3 on: June 13, 2014, 11:48:10 AM »
Hi,

please check what the webserver error log shows for the internal server error.

Frank