Headers

It's not difficult to install myLounge Redirection, but sometimes it's quite tricky. Post your questions in here.

Moderator: Scooby

Headers

Postby Michael Kaufman » Tue Jan 27, 2004 7:56 am

I have been using your redirection script successfully on an other server for quite some time. All has been good.

Now, I have moved to a dedicated server (semi-managed). I have set up an account for the redirection domain and have the DNS set so that wildcard is functioning.

The server is running: PHP version 4.3.3
MySQL version 4.0.15-standard

I can set up new accounts and go all the way through the activation. The new accounts appear to work as intended as do the new accounts. However, if I type in a subdomain that is NOT set up as an account (so that the script has to pass from the index.php page to the main domain welcome page, I get the following error:

Warning: Cannot modify header information - headers already sent by (output started at /home/practica/public_html/myred/include/vars.php:43) in /home/practica/public_html/index.php on line 42

Also, if I log into the admin area, I can get logged in, but at the top a similar error shows:

Warning: Cannot modify header information - headers already sent by (output started at /home/practica/public_html/myred/include/vars.php:43) in /home/practica/public_html/myred/admin.php on line 38

In addition, clicking on any links to go to other areas of the site creates a situation where I have to log back in.

Any ideas regarding resolution? I don't want to reinstall because I made some modifications (minor) when I was on the other server, and I really like/need those mods. I don't want to have to go back through and make those adjustments again. If I HAVE to, I will, but I'd really rather not.

What do you think the trouble is, and how do I resolve it?
Michael Kaufman
 

Follow-up

Postby Michael Kaufman » Tue Jan 27, 2004 7:59 am

Also wanted to let you know that I tried uploading the setup.php script and running it again (backed up databases first). The setup went smoothly and then I reuploaded my databases.

No luck.
Michael Kaufman
 

Postby andelal » Tue Jan 27, 2004 5:28 pm

You must have an error in vars.php - line 43. Maybe a blank char?

Alex
User avatar
andelal
Site Admin
Site Admin
 
Posts: 479
Joined: Tue Jan 07, 2003 8:53 pm
Location: Vienna/Austria/Europe

Got It

Postby Michael Kaufman » Tue Jan 27, 2004 7:27 pm

Thanks. I had tried going back to the original VAR file already and it didn't seem to work after carefully changing the MYsql values. However, I tried it again, and it worked this time.
Michael Kaufman
 

Headers

Postby MrSam » Sun Feb 29, 2004 3:57 am

I had the same problem.

The solution was to delete all blank spaces at the end of vars.php

Warning: Cannot modify header information - headers already sent by (output started at /home/practica/public_html/myred/include/vars.php:43) in /home/practica/public_html/index.php on line 42

But vars.php only has 41 lines.

Discover how to get your own customizable,
residual income building web-site.
http://www.income-ideas-online.com/pbi
Samuel J Smith
MrSam
Newbie
Newbie
 
Posts: 1
Joined: Sun Feb 29, 2004 3:38 am
Location: California USA


Return to Support

Who is online

Users browsing this forum: No registered users and 20 guests

cron