How to convert .txt to .php?
-
Hello, a converting problem.
I used Notepad to alter the mysql details in WordPress 2.2
Altered wp-config-sample.php to wp-config.php and hit ‘save’.It should have saved this file to wp-config.php
but instead saved it to wp-config.txt and I can see no way of turning the .txt into a .php file. .TXT is useless when uploaded to my server, of course.In the learning video, Dave Guindon, the teacher, saved it and it somehow shows up as a .php file, but I can’t contact him. Mine doesn’t!
Any quick and easy way of doing this, please.
Thanks,
Ray.
-
open the notepad file back up
save as wp-config.php
in the next field you will see that it automatically wants to save to txt use the drop down menu to change that to all files and your good to go
Thank you, that part seemed to work and I continued. Went through the steps and cane to the “Log In’.
Logged in and was confronted with this horror:
// Change this to localize WordPress. A corresponding MO file for the // chosen language must be installed to wp-content/languages. // For example, install de.mo to wp-content/languages and set WPLANG to ‘de’ // to enable German language support. define (‘WPLANG’, ”); /* That’s all, stop editing! Happy blogging. */ define(‘ABSPATH’, dirname(__FILE__).’/’); require_once(ABSPATH.’wp-settings.php’); ?>
Warning: Cannot modify header information – headers already sent by (output started at /home/greycap/public_html/wordpress/wp-config.php:33) in /home/greycap/public_html/wordpress/wp-login.php on line 12Warning: Cannot modify header information – headers already sent by (output started at /home/greycap/public_html/wordpress/wp-config.php:33) in /home/greycap/public_html/wordpress/wp-includes/pluggable.php on line 369
Warning: Cannot modify header information – headers already sent by (output started at /home/greycap/public_html/wordpress/wp-config.php:33) in /home/greycap/public_html/wordpress/wp-includes/pluggable.php on line 370
Warning: Cannot modify header information – headers already sent by (output started at /home/greycap/public_html/wordpress/wp-config.php:33) in /home/greycap/public_html/wordpress/wp-includes/pluggable.php on line 331
Shall leave it on the computer and hope some kind soul can help my resolve this scary error page.
Is it now beyond repair?
Cheers,
Ray.
P.S. Just received the url to my new, but empty blog in my email file at:
http://www.raygc.com/wordpress/Unfortunately it has an error? message at the top, any idea what sort of a ‘dogs dinner’ I made of the installation?
Cheers,
Ray
This is the text of my new blog site:// Change this to localize WordPress. A corresponding MO file for the // chosen language must be installed to wp-content/languages. // For example, install de.mo to wp-content/languages and set WPLANG to ‘de’ // to enable German language support. define (‘WPLANG’, ”); /* That’s all, stop editing! Happy blogging. */ define(‘ABSPATH’, dirname(__FILE__).’/’); require_once(ABSPATH.’wp-settings.php’); ?> Life After A Stroke
Just another WordPress weblog
——————————————————————————–
Hello world!
July 20th, 2007
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!Posted in Uncategorized | 1 Comment »
Pages
About
Archives
July 2007
Categories
Uncategorized (1)
Blogroll
Alex
Donncha
Dougal
Matt
Michel
Mike
Ryan
Meta
Login
Valid XHTML
XFN
WordPress——————————————————————————–
Life After A Stroke is proudly powered by WordPressCheck your wp-config file. Most likely you have an empty/blank line or a space after the very last
?>
Place the cursor right after it and keep the Delete button prseed.
Save. Upload.Generally the Save As is covered in Boot Camp……
Thank you so very much. Your generous help enabled to to struggle through and achieve a small victiry for your kindness, but a very large one, for this new chum(p).
However, as you can see below, I’m only about three quarters through the first video of this series. Much, still to do. Shall take them one step at a time. Looking at all 25 videos, all at once, scares the pants off me!
So, you might be hearing from me again.
Thank you again,
Cheers,
Ray.
#1 How to manually install a WordPress blog on your web host.(22mins37secs)
#2: How to install new WordPress themes.(9mins35secs)
#3: How to create your first blog post.(6mins11secs)
#4: How to add blogroll links.(24mins51secs)
#5: Adding HTML with images in a blog post.(5mins10secs)
#6: Integrating a Youtube or Google video into a blog post(21mins34secs)
#7: How to create a blog page containing affiliate links.(7mins15secs)
#8: Setting the customized permalink structure.(2mins49secs)
#9: How to integrate update service websites (auto-pinging).(17mins45secs)
#10: Creating a custom image header for your blog.(54mins22secs)#11: How to design and integrate a newsletter optin form as well as create and setup a new list in aweber.(6mins54secs)
#12: Installing the No Ping Wait plugin.(7mins02secs)
#13: Installing the social bookmarking plugin(16mins27secs)
#14: Installing the feed buttons plugin and how to setup addthis.com.(6mins01secs)
#15: Installing the Google sitemaps plugin.(8mins44secs)
#16: Installing the subscribe to comments plugin.(2mins25secs)
#17: Installing the permalink redirect plugin.(28mins41secs)
#18: Installing the AdsenseDeluxe plugin and how to integrate Google Adsense into your blog.(11mins19secs)
#19: Setting up and configuring your Feedburner account(5mins29secs)
#20: How to integrate the Feedburner social bookmarking links.(4mins58secs)
#21: How to integrate the Feedburner email subscribe form.(3mins25secs)
#22: How to integrate the Feedburner Headline Animator banner into other websites and webpages.(17mins46secs)
#23: Setting up and configuring your MyBlogLog account.(12mins56secs)
#24: How to integrate AuctionAds into your blog.(6mins05secs)
#25: Setting up an account at Digg.com and Technorati.com.
The topic ‘How to convert .txt to .php?’ is closed to new replies.