HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


acess to adminzoe problem

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#108194 (In Topic #21077)
Avatar

Fan in training

Hi,
please i'm having problem to access the admin zone after moving my website from a localhost server to an online server. it keeps giving the following error  "PHP WARNING [2] Cannot modify header information - headers already sent by (output started at info.php:1) in sources/site.php on line 210 (version: 9.0.18, PHP version: 5.4.34, URL: /adminzone/index.php?page=start)". Can I need help on how to solve this.
Back to the top
 
Posted
Item has a rating of 5 (Liked by Chris Graham)  
Rating:
#108195
Avatar

Community saint

Use a text editor to check the first line of the info.php file that is in the root folder of your web site. The first line should be:
<?php

Be sure there is no whitespace at the beginning of that line. If you edited the file manually, be sure you didn't add any new PHP code in there and be sure you didn't leave out any brackets, quotes, or semicolons.

It could also be the encoding format of that file. If you edited it manually in a text editor, it should be saved with "UTF-8 (without BOM)" encoding. Editors like Notepad++ allow you to select the encoding format you want to save the files with. 
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: