LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-24-2005, 03:43 AM   #1
JerryMcFarts
Member
 
Registered: Mar 2004
Location: Ohio, USA
Distribution: Ubuntu 6.04
Posts: 117

Rep: Reputation: 15
Webpage wont show up.


Ok, I have been logging into my server and using sftp to add my web pages i have downloaded.. its not the best way but the best way i know.

but I just installed Ubuntu 5.04 and I used gThumb 2.6.3 to build my webpages. But For some reason When i go to the page, its blank and i believe i set the permissions all correct:


Things I have checked:
thats blank it has an index.html
The Folder People is 755 or Dwxrr_xr_x
All the files in the folder are 644 or -rw_r--r--

The index file works on my local machine with Fire-Fox, but when i transfered it to my server, it stopped working.. And it isn't a link problem, I overwrite my files with new files, with the exact same naming scheme.

Also I have chowned the Directories -R recursively with my user-name. but i don't really understand what name should get out to the INTERNET, i just know that it works that way.

The only thing I notice different between the new folders i added and the old ones I haven't touched is these files:

Layout.css
Style.css

Which i believe the only culprit has to be the new gThumb. I don't remember the other version i used for the other web-pages. I don't know what to do..


Dance, Faces, and Family & Friends wont work, because of this new update.. Could anyone give me something to try? I am just confused that it works with fire-fox on my local machine but not on my server, it just sits there..

Last edited by JerryMcFarts; 04-24-2005 at 10:31 PM.
 
Old 04-24-2005, 03:47 AM   #2
JerryMcFarts
Member
 
Registered: Mar 2004
Location: Ohio, USA
Distribution: Ubuntu 6.04
Posts: 117

Original Poster
Rep: Reputation: 15
OK I Deleted my css files, still nothing, lol didn't make a difference, so I put them back.

Other things, that might be helpful, but to me i don't see why it would be this.

My server is running FC3

My Local machine is running Ubuntu 5.04.

I believe i have php running in FC3 and I tried MySQL but i screwed up and my passwd is lost, so i can't do anything with that. I tried resetting it, butt he howto's didn't get through to me :-P. but I don't think it should be those problems.. well anything thoughts would be great. Thanks so much.

Last edited by JerryMcFarts; 04-24-2005 at 03:56 AM.
 
Old 04-24-2005, 02:03 PM   #3
eech55
LQ Newbie
 
Registered: Aug 2004
Posts: 23

Rep: Reputation: 15
try a new .html file.. with simple texts in

just to know if the problem is related to apache configuration or not.
 
Old 04-24-2005, 03:03 PM   #4
JerryMcFarts
Member
 
Registered: Mar 2004
Location: Ohio, USA
Distribution: Ubuntu 6.04
Posts: 117

Original Poster
Rep: Reputation: 15
Ok, I tried that. I logged into IRC and talked to some people. I am new to log files, so i found out that it was a Php error

error_log:
PHP Parse error: parse error, unexpected T_STRING in /var/www/html/Main/People/index.html on line 1


This webpage showed the answer HERE

Quote:
Parse Error on XML pages
Created By: Dan Udey Last Modified By: Dan Udey
Question

I'm trying to use PHP to preprocess my XML/XHTML, but I get parse errors when I view my site! Why doesn't it work?
Answer

Parse error: parse error, unexpected T_STRING in /home/myuser/public_html/parseerror.php on line 1

If you get an error like this from a page where you are trying to use XHTML or XML and have it pre-processed by PHP, check the line PHP refers to. If it is an XML descriptor (like <?xml version="1.0" encoding="utf-8"?>) then you probably have short_open_tag enabled. This lets you use <? ... ?> instead of using <?php ... ?> and <?=$var;?> instead of <?php echo $var; ?>, but provides no other benefits.

If you wish, you can disable this in your php.ini by setting short_open_tags = Off or by setting php_flag short_open_tag Off in your httpd.conf or .htaccess files. Alternately, you can use PHP to echo the line to the browser using PHP by (for example) changing the line to <?='<?xml version="1.0" encoding="utf-8"?>'?>

Before you do this, keep in mind that this change may break older scripts, so make sure you test your code before you make this change for good.

So httpd.conf, doesn't have anything with short_open_tags, I looked at php.ini and changed the value to off, that didn't do anything, (I did restart apache) and then I commented out the php_short_tags with a # but that didn't do anything, I don't know what else to try, maybe I didn't install this stuff correctly in the first place. I am very new to server aspect.
 
Old 04-24-2005, 10:27 PM   #5
JerryMcFarts
Member
 
Registered: Mar 2004
Location: Ohio, USA
Distribution: Ubuntu 6.04
Posts: 117

Original Poster
Rep: Reputation: 15
Yea so I didn't know how to fix it, so I reinstalled Ubuntu 5.04 on my Server Box, and I turned short tags in php.ini to off and everything is working great :-P

not the best way... I don't really know how to uninstall stuff or see if programs are installed correctly.

I have been trying to get away from the fresh installs, since i feel that is a great newb way, but i don't want to be a freakin newb any more :-P

But hey, if it gets the job done.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
evolution often wont show pictures Barserk Linux - Software 6 10-25-2005 11:09 PM
X wont show movitto Linux - Hardware 3 06-08-2004 10:36 PM
Opera wont show a site true_atlantis Mandriva 5 10-27-2003 02:42 PM
Browsers wont call a webpage via 8087 or 2024 linuxfond Linux - Newbie 2 09-08-2003 02:00 PM
Text wont show up - Help WarChild Linux - Hardware 33 03-18-2003 11:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:57 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