PDA

View Full Version : First time install, can't login


Mohib
06-17-2005, 07:10 PM
Hi all,

I have been searching and reading the posts at this forum for many hours now and can't figure out the solution.

I installed the latest version of Pixelpost, everything went fine till I input the Admin id and password at www.mysite.com/aks/admin/install.php

After I give the login and password at this page, it takes me to www.mysite.com/aks/admin/index.php which refuses to recognise the info I just gave in the previous page.

I get this error,

Cannot modify header information - headers already sent by (output started at /home/aligaria/public_html/aks/includes/pixelpost.php:49) in /home/aligaria/public_html/aks/admin/index.php on line 125

These are the details,

Operating System Linux
Apache Version 1.3.33 (Unix)
PERL Version 5.8.1
PHP Version 4.3.10
MySQL Version 4.1.10a-standard

Any help would be greatly appreciated, I have spent a lot of time already. Please help. Any hint would also suffice.

Thanks a ton.
:D

Mohib

raminia
06-17-2005, 08:00 PM
Hi,
I'm glad that you are interseted in Pixelpost.

check you pixelpost.php file. make sure it is saved in ANSI mode not unicode or UTF-8. make sure there is no extra character in it. check spaces before and after <?php , ?> tags. Check if there is anything modified in that file instead of username and password and table name (and db name).

Mohib
06-17-2005, 08:04 PM
Hi,
I'm glad that you are interseted in Pixelpost.

check you pixelpost.php file. make sure it is saved in ANSI mode not unicode or UTF-8. make sure there is no extra character in it. check spaces before and after <?php , ?> tags. Check if there is anything modified in that file instead of username and password and table name (and db name).

Hi Ramin,

I just saw ur reply at another post, and checked the files to see if something was after ?> tag.

And guess what, in admin/index.php file there was this code after ?>

</div>
<br /><br /><br /><br />
</body></html>

I removed it, and it is working.

Thanks a lot, will keep you updated,

Mohib

raminia
06-17-2005, 08:06 PM
Cannot modify header information - headers already sent by (output started at /home/aligaria/public_html/aks/includes/pixelpost.php:49) in /home/aligaria/public_html/aks/admin/index.php on line 125

this error happens when script trys to output some text before header information of the html.

this means some typo or syntax error is inside pixelpost.php file that php decides to prompt something at a wrong time. Check pixelpost.php for syntax errors. check opening and closing "s. and endign ;

raminia
06-17-2005, 08:12 PM
NO!!!!

Please do not touch admin/index.php

what you did is wrong. you unclosed the html tag and as I said in the last post the error is from sending something before sending proper html header. In this way, you "ereased the problem not and not given the solution" as it's said in my country.

Do not change admin/index.php unless you know well what you are doing. check includes/pixelpost.php again and again.

Mohib
06-17-2005, 09:13 PM
I again put the admin/index.php in its original form.

It is working, so fine as of now.
:D

Thanks again,
Mohib