Thread Starter
Malik
(@islamwest)
Esmi,
Thanks for your tips.
I went into “wp-config.php” via FTP File Manager using Notepad, and saw that there was no ?> at the end of the text file. I put in ?> there, and checked that there was no space between < and ? in the <?php code at the beginning.
I saved the file. But lo and behold, as I opened my blog site, there still was the warning:
“Warning: Cannot modify header information – headers already sent by (output started at /home/content/j/u/s/justliberty/html/wordpress/wp-content/plugins/wp-ad-gallery/wp-ad-gallery.php:177) in /home/content/j/u/s/justliberty/html/wordpress/wp-includes/functions.php on line 862”
What could have gone wrong?
Thanks a lot.
Mustafa
Get rid of the closing ?> in wp-config.php. It’s been omitted deliberately. Now, as that Codex section explains, look at the error message:
output started at /home/content/j/u/s/justliberty/html/wordpress/wp-content/plugins/wp-ad-gallery/wp-ad-gallery.php:177
The problem is in the ad-gallery plugin,
Thread Starter
Malik
(@islamwest)
Esmi,
I deleted the “?>” code that I had put in at the end of the “wp-config.php” file, having opened it with Notepad; and saved it. When I reopened the “wp-config.php” file, I saw it all garbled up as a full horizontal page, instead of the vertical list of codes. Can you tell what has happened, and how I can restore the old vertical sheet of codes?
Also, how do I get to “home/content/j/u/s/justliberty/html/wordpress/wp-content/plugins/wp-ad-gallery/wp-ad-gallery.php,” and what do I do with line “177”?
Again, many thanks for your help.
Mustafa
Try downloading another copy of wp-config.php. As to the plugin problem, FTP into your site (or use whatever file management application your host provides) & delete the wp-content/plugins/wp-ad-gallery folder.
Thread Starter
Malik
(@islamwest)
Esmi,
I got busy with other things. I’m sorry but if you could send me the steps through which I can reinstall the wp-config.php file on my site http://justice-liberty.com/wordpress? Or do I need to reinstall the whole WordPress?
Thanks a lot.
Mustafa