LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-03-2011, 09:02 AM   #1
amritpalpathak
Member
 
Registered: Feb 2010
Posts: 116

Rep: Reputation: 15
Unable to browse to "localhost/wordpress"


I followed the procedure from http://amritpalpathakgne.wordpress.com/page/2/ to install wordpress.But installation when i browse to "localhost/wordpress",it doesn't open wordpress welcome page.it says to open or save a file .phtml.part whose content are

<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/

/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?>

Same problem i got when i try to install drupal.
What is the issue??
Please somebody help

Thanks
 
Old 02-03-2011, 09:20 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by amritpalpathak View Post
I followed the procedure from http://amritpalpathakgne.wordpress.com/page/2/ to install wordpress.But installation when i browse to "localhost/wordpress",it doesn't open wordpress welcome page.it says to open or save a file .phtml.part whose content are

Same problem i got when i try to install drupal. What is the issue?? Please somebody help
So you wrote a tutorial on how to do the installation, THEN you followed it, to find out it didn't work??

Look at the extension on the page, then look at the page contents. You've got a PHP page saved as a .part. Change the extension and see if it works.
 
Old 02-04-2011, 01:11 AM   #3
amritpalpathak
Member
 
Registered: Feb 2010
Posts: 116

Original Poster
Rep: Reputation: 15
The extension of the page is .phtml.part and content are as:
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/

/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?>

What is the error now??

Thanks
 
Old 02-04-2011, 09:36 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by amritpalpathak View Post
The extension of the page is .phtml.part and content are as:

What is the error now??
Thanks
Did you bother to read my first post??
Quote:
Originally Posted by TB0ne
Look at the extension on the page, then look at the page contents. You've got a PHP page saved as a .part. Change the extension and see if it works.
So, again, change the phtml.part to .php. Might also want to update that 'tutorial'.
 
Old 02-04-2011, 11:15 PM   #5
amritpalpathak
Member
 
Registered: Feb 2010
Posts: 116

Original Poster
Rep: Reputation: 15
I search the file with .phtml.part as "sudo find /var/www -name *\.phtml.part",but i didn't find a single file.So what is next now??

Thanks
 
Old 02-05-2011, 11:19 AM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,632

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by amritpalpathak View Post
I search the file with .phtml.part as "sudo find /var/www -name *\.phtml.part",but i didn't find a single file.So what is next now??
Thanks
You said that the file was called phtml.part, but now it appears that the file can't be found at all.

Instead of the incomplete/bad instructions on the tutorial you posted, why don't you re-install using the real instructions from Wordpress??
http://codex.wordpress.org/Installing_WordPress
 
Old 02-05-2011, 10:55 PM   #7
amritpalpathak
Member
 
Registered: Feb 2010
Posts: 116

Original Poster
Rep: Reputation: 15
I followed the instruction at http://codex.wordpress.org/Installing_WordPress to install wordpress again.But i got the same error again.I have also installed drupall in root directory.When i try to start drupal ,same error also struck here.Seems problem is not with wordpress and drupal,problem is somewhere else.
Hope you will help me.!!!
Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] i need to grep "../../usr/share/wordpress" oznola Linux - Newbie 3 04-09-2010 05:04 AM
on url "http://localhost/" error ""The requested URL could not be retrieved " renuaseri Linux - Newbie 1 04-07-2009 12:23 AM
lilo says, "L 01 01 01" and fdisk says, "Unable to seek on /dev/hda1" clausawits Linux - General 3 12-31-2007 09:33 PM
Common problems explained: "kernel panic - not syncing", "unable to mount..." sundialsvcs Linux - Newbie 2 03-01-2006 12:17 PM
My clients "can browse" outside but "can't ping" outside mrnoe Linux - Networking 1 09-05-2003 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration