Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 10:49 am EST

Geeklog Forums

Server Change= Warnings-Cannot modify header, etc, etc.


Status: offline

nanvr

Forum User
Regular Poster
Registered: 09/02/02
Posts: 81
Location:Florida
Hello. I changed servers. Moved everything to new server.(First time doing this).

Changed info on config and lib-


www.greenlandpines.com is site


This was warning...Help anyone....?

thanks in advance

Warning: Cannot modify header information - headers already sent by (output started at /home/cougar/public_html/config.php:275) in /home/cougar/public_html/system/lib-sessions.php on line 150

Warning: Cannot modify header information - headers already sent by (output started at /home/cougar/public_html/config.php:275) in /home/cougar/public_html/system/lib-sessions.php on line 162
error selecting database
Send Me To The Royal Wedding-http://www.royaltys.com - to enter my site.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Check the are around line 275 in your config.php, it seems you have a problem there, e.g. messed-up line breaks or comments or something like that.

bye, Dirk
 Quote

Status: offline

nanvr

Forum User
Regular Poster
Registered: 09/02/02
Posts: 81
Location:Florida
I may be getting closer. I have two questions:

1. If all of the old info on the other server was on the OLD database

and I select a NEW data base, how does the new database pick up the Old information?

2. If I use the OLD data base, how does the new config pick up the old info?

I used the OLD data base name..and this was the error I got..

old data base was "greenlandpines". The new server makes me use the name of the database such as "happy" so the db name is now
"happy_greenlandpines". I named it that in the config and got this error.. Please advise regarding this error...error selecting database.

thank you. nvr
Send Me To The Royal Wedding-http://www.royaltys.com - to enter my site.
 Quote

Status: offline

nanvr

Forum User
Regular Poster
Registered: 09/02/02
Posts: 81
Location:Florida
I'm drawing straws now... I reconfigured the database and this is the error..
Really having trouble now.
Please advise if anyone understands problem here. Always.. thanks for your help.

Warning: fopen(/home/cougar/public_html/logs/error.log) [function.fopen]: failed to create stream: Permission denied in /home/cougar/public_html/lib-common.php on line 723

Warning: fputs(): supplied argument is not a valid stream resource in /home/cougar/public_html/lib-common.php on line 726
1146: Table 'cougar_greenland.gl_blocks' doesn't exist
Send Me To The Royal Wedding-http://www.royaltys.com - to enter my site.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by nanvr: Warning: fopen(/home/cougar/public_html/logs/error.log) [function.fopen]: failed to create stream: Permission denied in /home/cougar/public_html/lib-common.php on line 723

Plain old permission problems - you forgot to set permissions for the log directory and the files in it correctly. Please read the installation instructions again ...

bye, Dirk
 Quote

All times are EST. The time is now 10:49 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content