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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-24-2005, 03:43 AM
|
#1
|
Member
Registered: Mar 2004
Location: Ohio, USA
Distribution: Ubuntu 6.04
Posts: 117
Rep:
|
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.
|
|
|
04-24-2005, 03:47 AM
|
#2
|
Member
Registered: Mar 2004
Location: Ohio, USA
Distribution: Ubuntu 6.04
Posts: 117
Original Poster
Rep:
|
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.
|
|
|
04-24-2005, 02:03 PM
|
#3
|
LQ Newbie
Registered: Aug 2004
Posts: 23
Rep:
|
try a new .html file.. with simple texts in
just to know if the problem is related to apache configuration or not.
|
|
|
04-24-2005, 03:03 PM
|
#4
|
Member
Registered: Mar 2004
Location: Ohio, USA
Distribution: Ubuntu 6.04
Posts: 117
Original Poster
Rep:
|
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.
|
|
|
04-24-2005, 10:27 PM
|
#5
|
Member
Registered: Mar 2004
Location: Ohio, USA
Distribution: Ubuntu 6.04
Posts: 117
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 09:57 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|