SYSPATH/classes/kohana/core.php [ 281 ]
276 Kohana::$cache_dir = APPPATH.'cache';
277 }
278
279 if ( ! is_writable(Kohana::$cache_dir))
280 {
281 throw new Kohana_Exception('Directory :dir must be writable',
282 array(':dir' => Debug::path(Kohana::$cache_dir)));
283 }
284
285 if (isset($settings['cache_life']))
286 {
APPPATH/bootstrap.php [ 85 ] » Kohana_Core::init(arguments)
0 |
array(2) ( "base_url" => string(16) "http://locahost/" "index.php" => string(0) "" ) |
80 * - boolean caching enable or disable internal caching FALSE
81 */
82 Kohana::init(array(
83 'base_url' => 'http://locahost/',
84 'index.php' => ''
85 ));
86
87 /**
88 * Attach the file write to logging. Multiple writers are supported.
89 */
90 Kohana::$log->attach(new Log_File(APPPATH.'logs'));
DOCROOT/index.php [ 103 ] » require(arguments)
0 |
string(55) "/home/satyag/Public/kodelearn/application/bootstrap.php" |
98 {
99 define('KOHANA_START_MEMORY', memory_get_usage());
100 }
101
102 // Bootstrap the application
103 require APPPATH.'bootstrap'.EXT;
104
105 /**
106 * Execute the main request. A source of the URI can be passed, eg: $_SERVER['PATH_INFO'].
107 * If no source is specified, the URI will be automatically detected.
108 */
HTTP_Exception_404 [ 404 ]: The requested URL ~satyag/kodelearn was
not found on this server.
I think there is some problem with ~satyag/kodelearn in the url as the message says.HTTP_Exception_404 [ 404 ]: The requested URL ~satyag/kodelearn was
not found on this server.
when you open kodelearn root, it should redirect you to http://localhost/kodelearn/auth/index
or some thing similar depending upon your setup.
Make sure mod_rewrite of apache is enabled. Kodelearn needs rewrite module enabled to support "beautiful" urls.
Ok. When you open the kodelearn root location in the browser, which url does it redirect to by default ?Are you using a virtual host ? it might be helpful if you can post the apache2 config
It looks like write permissions issue and not an apache problem. Please check if write permissions are given to these directories ?
- application/cache/
- application/logs/
- media/image/data/cache/
check using -$ cd kodelearn/application$ ls -l
These permissions are correct. Very difficult to figure out what might be wrong.Can you just try renaming the file installed.php in the kodelearn root to install.php, and opening kodelearn in the browser ?it will run environment tests to check if your system is compatible. Check if it shows everything in green colour.
On Mon, Oct 10, 2011 at 8:08 PM, vineet naik <vinee...@kodeplay.com> wrote:These permissions are correct. Very difficult to figure out what might be wrong.Can you just try renaming the file installed.php in the kodelearn root to install.php, and opening kodelearn in the browser ?it will run environment tests to check if your system is compatible. Check if it shows everything in green colour.
Hi Satya,Can you show your bootstrap.php file??And what do you get by visiting this url http://localhost/kodelearn/index.php/auth
89 // Initiate response time
90 $this->_response_time = time();
91
92 if ( ! class_exists($prefix.$controller))
93 {
94 throw new HTTP_Exception_404('The requested URL :uri was not found on this server.',
95 array(':uri' => $request->uri()));
96 }
97
98 // Load the controller using reflection
99 $class = new ReflectionClass($prefix.$controller);
SYSPATH/classes/kohana/request.php [ 1129 ] » Kohana_Request_Client_Internal->execute(arguments)
DOCROOT/index.php [ 113 ] » Kohana_Request->execute()
Tried printing the $SYSPATH immediately after the define statment it does not return any path , its all empty , can you come on irc or i can give control of my pc using teamviewer , what do you say ?-Satya
ErrorException [ 2 ]: mkdir(): Permission denied ~ SYSPATH/classes/kohana/log/file.php [ 57 ]
can anybody help me to figure out this problem. It was encountered when i was rendering a view with kohana
--
You received this message because you are subscribed to the Google Groups "Kodelearn_developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kodelearn_develo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks vineet,i solved the error by writing this command
Chmod -R 0777