Dennis
|
Posted: 07/15/2003, 2:53 PM |
|
Hi,
New to CCS, installed and ran the taskmanager php example on my local
development machine. No errors, looks beautiful.
When I ported the app to my company server/imported the mysql database and
tried to view the login page, I am getting session errors.
Warning: Cannot send session cookie - headers already sent by (output
started at /home/automati/public_html/taskmgr/db_mysql.php:422) in
/home/automati/public_html/taskmgr/Common.php on line 9
Warning: Cannot send session cache limiter - headers already sent (output
started at /home/automati/public_html/taskmgr/db_mysql.php:422) in
/home/automati/public_html/taskmgr/Common.php on line 9
When I login, it redirects me to a non-existent login edit page
xhtp://myservername.net/taskmgr/Login.php?ccsForm=Login%3AEdit
can anyone shed some light on this for me? I have had some other errors
where the headers were already sent, there is a faint tickle of recognition
in my brain, but total understanding of this eludes me.
Time to call in the bigguns.... help please !!!
|
|
|
DonB
|
Posted: 07/15/2003, 3:30 PM |
|
It's possibly a problem with the "default" page for the web server, or the
order in which is searches for the initial page.. That is, could it be
pointing you to an initial page other than the one you really want? You
should compare the php.ini on your local machine vs that which is on the
server to generally ensure the PHP configuration of the server is "good".
I assume by "porting" you mean you did the CCS "publish project" and that
you have no unresolved configuration issues with the Project Settings both
under Publish and Connection. You cannot rely on merely file-copying the
pages over to the server.
PHP is only something I dip into occasionally, but these are issues that
have tripped others on this forum.
DonB
"Dennis" <Dennis@automationfx.net> wrote in message
news:bf1t3v$aue$1@news.codecharge.com...
> Hi,
> New to CCS, installed and ran the taskmanager php example on my local
> development machine. No errors, looks beautiful.
>
> When I ported the app to my company server/imported the mysql database and
> tried to view the login page, I am getting session errors.
>
> Warning: Cannot send session cookie - headers already sent by (output
> started at /home/automati/public_html/taskmgr/db_mysql.php:422) in
> /home/automati/public_html/taskmgr/Common.php on line 9
>
> Warning: Cannot send session cache limiter - headers already sent (output
> started at /home/automati/public_html/taskmgr/db_mysql.php:422) in
> /home/automati/public_html/taskmgr/Common.php on line 9
>
> When I login, it redirects me to a non-existent login edit page
> xhtp://myservername.net/taskmgr/Login.php?ccsForm=Login%3AEdit
>
> can anyone shed some light on this for me? I have had some other errors
> where the headers were already sent, there is a faint tickle of
recognition
> in my brain, but total understanding of this eludes me.
>
> Time to call in the bigguns.... help please !!!
>
>
|
|
|
Carl Joshi
|
Posted: 07/15/2003, 3:46 PM |
|
Hello Dennis
did you choose FTP in CCS project settings and set the database connection
settings to match your remote database? you would also need to publish the
project to the remote location using these settings, CCS rewrites code so it
matches the remote location. It's a good idea to let CCS do the switch
between local and remote locations to avoid errors.
this link may help
http://www.rexdesign.com/ccs/kb.php?category_id=35&language_id=1&event_id=6
"Dennis" <Dennis@automationfx.net> wrote in message
news:bf1t3v$aue$1@news.codecharge.com...
> Hi,
> New to CCS, installed and ran the taskmanager php example on my local
> development machine. No errors, looks beautiful.
>
> When I ported the app to my company server/imported the mysql database and
> tried to view the login page, I am getting session errors.
>
> Warning: Cannot send session cookie - headers already sent by (output
> started at /home/automati/public_html/taskmgr/db_mysql.php:422) in
> /home/automati/public_html/taskmgr/Common.php on line 9
>
> Warning: Cannot send session cache limiter - headers already sent (output
> started at /home/automati/public_html/taskmgr/db_mysql.php:422) in
> /home/automati/public_html/taskmgr/Common.php on line 9
>
> When I login, it redirects me to a non-existent login edit page
> xhtp://myservername.net/taskmgr/Login.php?ccsForm=Login%3AEdit
>
> can anyone shed some light on this for me? I have had some other errors
> where the headers were already sent, there is a faint tickle of
recognition
> in my brain, but total understanding of this eludes me.
>
> Time to call in the bigguns.... help please !!!
>
>
|
|
|
|