Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 07:47 pm EST
Geeklog Forums
White space in .php files
Status: offline
Absit
Forum User
Newbie
Registered: 02/11/04
Posts: 2
Installed gl, everything was running fine this AM. When I tried to log in tonight I was denied.
Checked the config.php for white space. Found a line, removed it. Saved. Still couldn't log in. When I rechecked the config file, the white space was back. (Same thing happened with lib-common.php)
Edited them in notepad. Deleted originals. Uploaded new.
Same problem...
For some reason, when I remove the white space and save the file...it comes back.
Any suggestions?
Checked the config.php for white space. Found a line, removed it. Saved. Still couldn't log in. When I rechecked the config file, the white space was back. (Same thing happened with lib-common.php)
Edited them in notepad. Deleted originals. Uploaded new.
Same problem...
For some reason, when I remove the white space and save the file...it comes back.
Any suggestions?
11
8
Quote
Status: offline
inspiremin
Forum User
Regular Poster
Registered: 01/07/04
Posts: 111
The white space problem caused me fits when I first started using GL. Dirk was kind enough to point out that the white space problem was at the end of my config.php. The editor that comes with my host appends seems to append a CR to a file on opening. I have to remember to remove it before I save.
Check the end of your file to see if there is white space after the "?>".
inSPIREmin
www.Scripturetoolkit.com www.inSPIREministries.com
Check the end of your file to see if there is white space after the "?>".
inSPIREmin
www.Scripturetoolkit.com www.inSPIREministries.com
27
11
Quote
All times are EST. The time is now 07:47 pm.
- 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