I used CakePHP(cake_1.2.0.5427alpha) and plays very well in my
localhost. But when I uploaded it
it is showing the follwing warnings and errors

Warning (2): session_start() [function.session-start]: open(/home/
teamdhaka/public_html/Imasale/app/tmp/sessions/
sess_erquclgrcmia234d48025n5552, O_RDWR) failed: Permission denied
(13) [CORE/cake/libs/session.php, line 154]

Warning: fopen(/home/teamdhaka/public_html/Imasale/app/tmp/logs/
error.log) [function.fopen]: failed to open stream: Permission denied
in /home/teamdhaka/public_html/Imasale/cake/libs/file.php on line 118

Warning: [File] Could not open /home/teamdhaka/public_html/Imasale/app/
tmp/logs/error.log with mode a! in /home/teamdhaka/public_html/Imasale/
cake/libs/file.php on line 119

Warning (2): Unknown: open(/home/teamdhaka/public_html/Imasale/app/tmp/
sessions/sess_erquclgrcmia234d48025n5552, O_RDWR) failed: Permission
denied (13) [Unknown, line ??]

Context | Code

$GLOBALS        =       array("GLOBALS" => array, "CAKEPHP" =>
"erquclgrcmia234d48025n5552", "HTTP_HOST" => "teamdhaka.testita.com",
"HTTP_USER_AGENT" => "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20", "HTTP_ACCEPT" => "text/
xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/
plain;q=0.8,image/png,*/*;q=0.5", "HTTP_ACCEPT_LANGUAGE" => "en-
us,en;q=0.5", "HTTP_ACCEPT_ENCODING" => "gzip,deflate",
"HTTP_ACCEPT_CHARSET" => "ISO-8859-1,utf-8;q=0.7,*;q=0.7",
"HTTP_KEEP_ALIVE" => "300", "HTTP_CONNECTION" => "keep-alive",
"HTTP_COOKIE" => "CAKEPHP=erquclgrcmia234d48025n5552", "PATH" => "/
bin:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/
local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/
root/bin", "SERVER_SIGNATURE" => "", "SERVER_SOFTWARE" => "Apache/
2.2.2 (Unix) mod_ssl/2.2.2 OpenSSL/0.9.8e PHP/5.2.3 mod_python/3.2.10
Python/2.4.3", "SERVER_NAME" => "teamdhaka.testita.com", "SERVER_ADDR"
=> "61.206.116.99", "SERVER_PORT" => "80", "REMOTE_ADDR" =>
"120.50.179.90", "DOCUMENT_ROOT" => "/home/teamdhaka/public_html",
"SERVER_ADMIN" => "[email protected]", "SCRIPT_FILENAME" => "/home/
teamdhaka/public_html/Imasale/index.php", "REMOTE_PORT" => "2557",
"GATEWAY_INTERFACE" => "CGI/1.1", "SERVER_PROTOCOL" => "HTTP/1.1",
"REQUEST_METHOD" => "GET", "QUERY_STRING" => "", "REQUEST_URI" => "/
Imasale/", "SCRIPT_NAME" => "/Imasale/index.php", "PHP_SELF" => "/
Imasale/index.php", "REQUEST_TIME" => 1230628956, "_POST" => array,
"_GET" => array, "_COOKIE" => array, "_SERVER" => array, "_ENV" =>
array, "_FILES" => array, "_REQUEST" => array, "cakeCache" => array,
"bootstrap" => true, "uri" => "/Imasale/", "elements" => array, "path"
=> "/", "TIME_START" => 1230628956.6225, "cache" => "File", "settings"
=> array, "url" => "/", "folders" => array, "requestPath" => array,
"_SESSION" => array)
$CAKEPHP        =       "erquclgrcmia234d48025n5552"
$HTTP_HOST      =       "teamdhaka.testita.com"
$HTTP_USER_AGENT        =       "Mozilla/5.0 (Windows; U; Windows NT 5.1; 
en-US; rv:
1.8.1.20) Gecko/20081217 Firefox/2.0.0.20"
$HTTP_ACCEPT    =       "text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
$HTTP_ACCEPT_LANGUAGE   =       "en-us,en;q=0.5"
$HTTP_ACCEPT_ENCODING   =       "gzip,deflate"
$HTTP_ACCEPT_CHARSET    =       "ISO-8859-1,utf-8;q=0.7,*;q=0.7"
$HTTP_KEEP_ALIVE        =       "300"
$HTTP_CONNECTION        =       "keep-alive"
$HTTP_COOKIE    =       "CAKEPHP=erquclgrcmia234d48025n5552"
$PATH   =       "/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/
bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/
bin:/root/bin"
$SERVER_SIGNATURE       =       ""
$SERVER_SOFTWARE        =       "Apache/2.2.2 (Unix) mod_ssl/2.2.2 
OpenSSL/0.9.8e
PHP/5.2.3 mod_python/3.2.10 Python/2.4.3"
$SERVER_NAME    =       "teamdhaka.testita.com"
$SERVER_ADDR    =       "61.206.116.99"
$SERVER_PORT    =       "80"
$REMOTE_ADDR    =       "120.50.179.90"
$DOCUMENT_ROOT  =       "/home/teamdhaka/public_html"
$SERVER_ADMIN   =       "[email protected]"
$SCRIPT_FILENAME        =       "/home/teamdhaka/public_html/Imasale/index.php"
$REMOTE_PORT    =       "2557"
$GATEWAY_INTERFACE      =       "CGI/1.1"
$SERVER_PROTOCOL        =       "HTTP/1.1"
$REQUEST_METHOD =       "GET"
$QUERY_STRING   =       ""
$REQUEST_URI    =       "/Imasale/"
$SCRIPT_NAME    =       "/Imasale/index.php"
$PHP_SELF       =       "/Imasale/index.php"
$REQUEST_TIME   =       1230628956
$_POST  =       array()
$_GET   =       array("url" => "/")
$_COOKIE        =       array("CAKEPHP" => "erquclgrcmia234d48025n5552")
$_SERVER        =       array("HTTP_HOST" => "teamdhaka.testita.com",
"HTTP_USER_AGENT" => "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.8.1.20) Gecko/20081217 Firefox/2.0.0.20", "HTTP_ACCEPT" => "text/
xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/
plain;q=0.8,image/png,*/*;q=0.5", "HTTP_ACCEPT_LANGUAGE" => "en-
us,en;q=0.5", "HTTP_ACCEPT_ENCODING" => "gzip,deflate",
"HTTP_ACCEPT_CHARSET" => "ISO-8859-1,utf-8;q=0.7,*;q=0.7",
"HTTP_KEEP_ALIVE" => "300", "HTTP_CONNECTION" => "keep-alive",
"HTTP_COOKIE" => "CAKEPHP=erquclgrcmia234d48025n5552", "PATH" => "/
bin:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/
local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/
root/bin", "SERVER_SIGNATURE" => "", "SERVER_SOFTWARE" => "Apache/
2.2.2 (Unix) mod_ssl/2.2.2 OpenSSL/0.9.8e PHP/5.2.3 mod_python/3.2.10
Python/2.4.3", "SERVER_NAME" => "teamdhaka.testita.com", "SERVER_ADDR"
=> "61.206.116.99", "SERVER_PORT" => "80", "REMOTE_ADDR" =>
"120.50.179.90", "DOCUMENT_ROOT" => "/home/teamdhaka/public_html",
"SERVER_ADMIN" => "[email protected]", "SCRIPT_FILENAME" => "/home/
teamdhaka/public_html/Imasale/index.php", "REMOTE_PORT" => "2557",
"GATEWAY_INTERFACE" => "CGI/1.1", "SERVER_PROTOCOL" => "HTTP/1.1",
"REQUEST_METHOD" => "GET", "QUERY_STRING" => "", "REQUEST_URI" => "/
Imasale/", "SCRIPT_NAME" => "/Imasale/index.php", "PHP_SELF" => "/
Imasale/index.php", "REQUEST_TIME" => 1230628956)
$_ENV   =       array()
$_FILES =       array()
$_REQUEST       =       array("CAKEPHP" => "erquclgrcmia234d48025n5552")
$cakeCache      =       array(0 => "File")
$bootstrap      =       true
$uri    =       "/Imasale/"
$elements       =       array(0 => "/Imasale/")
$path   =       "/"
$TIME_START     =       1230628956.6225
$cache  =       "File"
$settings       =       array()
$url    =       "/"
$folders        =       array("js" => "text/javascript", "css" => "text/css")
$requestPath    =       array(0 => "", 1 => "")
$_SESSION       =       array("Config" => array)


Notice: Undefined offset: 0 in /home/teamdhaka/public_html/Imasale/
cake/libs/debugger.php on line 182

Notice: Undefined offset: 0 in /home/teamdhaka/public_html/Imasale/
cake/libs/debugger.php on line 182

Warning: implode() [function.implode]: Bad arguments. in /home/
teamdhaka/public_html/Imasale/cake/libs/debugger.php on line 186

[main] - [internal], line ??


Warning: fopen(/home/teamdhaka/public_html/Imasale/app/tmp/logs/
error.log) [function.fopen]: failed to open stream: Permission denied
in /home/teamdhaka/public_html/Imasale/cake/libs/file.php on line 118

Warning: [File] Could not open /home/teamdhaka/public_html/Imasale/app/
tmp/logs/error.log with mode a! in /home/teamdhaka/public_html/Imasale/
cake/libs/file.php on line 119

Warning (2): Unknown: Failed to write session data (files). Please
verify that the current setting of session.save_path is correct (/home/
teamdhaka/public_html/Imasale/app/tmp/sessions) [Unknown, line ??]

Notice: Undefined offset: 0 in /home/teamdhaka/public_html/Imasale/
cake/libs/debugger.php on line 182

Notice: Undefined offset: 0 in /home/teamdhaka/public_html/Imasale/
cake/libs/debugger.php on line 182

Warning: implode() [function.implode]: Bad arguments. in /home/
teamdhaka/public_html/Imasale/cake/libs/debugger.php on line 186

[main] - [internal], line ??


Warning: fopen(/home/teamdhaka/public_html/Imasale/app/tmp/logs/
error.log) [function.fopen]: failed to open stream: Permission denied
in /home/teamdhaka/public_html/Imasale/cake/libs/file.php on line 118

Warning: [File] Could not open /home/teamdhaka/public_html/Imasale/app/
tmp/logs/error.log with mode a! in /home/teamdhaka/public_html/Imasale/
cake/libs/file.php on line 119


plz help me eliminating this warning

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to