viktor
|
| Posted: 11/10/2004, 5:47 AM |
|
I've uploaded developed in CCS system to one server - worked fine. and they to the second one.
The second one gives and error:
=== start
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /usr/home/urlporg/public_html/db_mysql.php:424) in /usr/home/urlporg/public_html/Common.php on line 9
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/home/urlporg/public_html/db_mysql.php:424) in /usr/home/urlporg/public_html/Common.php on line 9
....
==== end ===
i am sure this is server-side / php configuration but could be as well settings for includes of Common.php or something.
any ideas where to find it?
Here is the link: http://65.98.56.83/login.php
Thanks in advance,
Viktor
|
|
|
 |
mrachow
Posts: 509
|
| Posted: 11/10/2004, 12:24 PM |
|
Do you have changed the setting for publishing in Studio and published the web site?
Or do you have had copied the web site as is to the second server?
Regards,
Michael
_________________
Best regards,
Michael |
 |
 |
peterr
Posts: 5971
|
| Posted: 11/10/2004, 12:31 PM |
|
The answer may be in your error message: "db_mysql.php:424".
What's in there?
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
viktor
|
| Posted: 11/14/2004, 2:24 PM |
|
Quote mrachow:
Do you have changed the setting for publishing in Studio and published the web site?
Or do you have had copied the web site as is to the second server?
Regards,
Michael
This was the first time when I zipped whole project, uploaded it and unzipeed. Usually I would upload it using CCS FTP. Do you think the 'trick' is in file permissions? If so then which folders / files should have specific file permissions settings? (i.e.: dbmysql.php, Common.php etc)
Thanks in advance
|
|
|
 |
viktor
|
| Posted: 11/14/2004, 2:28 PM |
|
Quote peterr:
The answer may be in your error message: "db_mysql.php:424".
What's in there?
The db_mysql.php has only 419 lines. The Line 424 does not exist 
I am sure that this is bound to be server-side problem since all works fine on local machine - using EasyPhp + MySQL on XP as well as on Unix testing box using PHP Version 4.3.8.
But when uploading to unix box using PHP Version 4.3.9 - things crash:
related links:
http://65.98.56.83/phpinfo.php
http://65.98.56.83/
Thanks in advance for your help and time,
|
|
|
 |
peterr
Posts: 5971
|
| Posted: 11/14/2004, 3:52 PM |
|
Maybe you have some empty lines at the end of db_mysql.php ? My db_mysql.php has 423 lines and the last one is empty. At minimum, without the empty line, my db_mysql.php would have 422 lines, therefore 419 lines sounds strange. It doesn't look like it was created by CCS.
You can also delete the whole file db_mysql.php from your project folder and then CCS will re-create it correctly the next time you publish.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
 |
 |
viktor
|
| Posted: 11/15/2004, 7:28 AM |
|
All worked fine.
I have uploaded the files using FTP - as usual. And not by zipping - uploading and unzipping.
Maybe somewhere during this process of zipping - unzipping - things get wrong.
Many thanks for your help and prompts.
CCS is GREAT!
|
|
|
 |