Jump to content
nkycomputers

Why Aren't All Companies Like Total Choice?

Recommended Posts

Let me start by expressing my appreciation for these forums. They have got me out of several jams.

 

If anyone can answer this question I would greatly appreciate it. Unfortunately it is about another hosting company. I have built a website and it works 100% on my TotalChoice hosted page. I transfer it to this other host and I get the error message in the description. I know what you are thinking and I have argued strongly for this client to move to my hosting. I even offered to just refer them directly so they didn't think I was trying to make money off of them. I just want the site over here. Needless to say it doesn't look like that is going to happen.

 

I just want to see if it isn't something that I am doing wrong. I am not doing anything different than I would usually do and it just won't seem to load.

 

I use PHP includes. I also change the mime type with the .htaccess from php to html.

 

If I type in a plain html page with no includes the page appears to work.

 

However if I make an index.html page the url will not work it gives the above error message.

 

Thanks for everything

:)

Share this post


Link to post
Share on other sites

If you have access to edit to the .htaccess file on the other site add the following line to it.

 

>AddType application/x-httpd-php .htm .html

 

That should eliminate the error.

Share this post


Link to post
Share on other sites

Thanks for the replies.

 

That is what I have in my .htaccess file. I am not a novice at this. I host 6 other sites on Total choice currently and use the same structure on all of them. I can also provide the info.php printout if anyone is interested and/or knows how to make sense of it.

 

problem.jpg

 

That is the prompt I get when I try to access the site.

 

Thanks again for any help. It is greatly appreciated.

Share this post


Link to post
Share on other sites

Hello,

 

First off, create a simple index.php page and see if that can be displayed, and also a simple index.html page. This then would exclude any simple errors.

 

Having had a quick search on the internet, try this:

AddType x-httpd-php .php .htm .htm

 

(notice it doesn't have the 'application/' in it.)

 

Unfortuantley most fixes involve editing the httpd file which you wont have access too.

 

Also is the new host running apache or running php off a windows server?

 

Jimuni

Share this post


Link to post
Share on other sites
Hello,

 

First off, create a simple index.php page and see if that can be displayed, and also a simple index.html page. This then would exclude any simple errors.

 

***Index.php displays not correctly with css but does display. No lucky with index.html***

Having had a quick search on the internet, try this:

Unfortuantley most fixes involve editing the httpd file which you wont have access too.

 

***changing .htaccess didn't change anything.***

Also is the new host running apache or running php off a windows server?

 

***System Linux obsession.trivergent.net 2.2.16 #1 Tue Aug 8 05:01:09 EDT 2000 i686 unknown

Build Date Jan 4 2001

Configure Command './configure' '--with-mysql=/usr/local' '--enable-discard-path' '--with-ttf=/usr/local' '--disable-debug' '--enable-inline-optimizations' '--with-xml'

Server API CGI

Virtual Directory Support disabled

Configuration File (php.ini) Path /usr/local/lib

ZEND_DEBUG disabled

Thread Safety disabled***

Jimuni

 

Edited by nkycomputers

Share this post


Link to post
Share on other sites

Ok

 

PHP is working because when I load a script called info.php (the common way to check server info) I can see output. And if I type in the address bar www.url.com/index.php....the page comes up. Is it possible the server is running php but no html....It just doesn't make sense.

 

p.s. I also made a test.html file if I type it in directly it doesn't work but it did yesterday. WTF......Everyone send MOJO to my client to get him to switch to Total Choice.

 

p.p.s. I am going to post something in the reseller section about this as well because this would not even be a problem if I could just get them to switch. The guy is really hard to get ahold of and is an old school programmer so it is hard to tell him anything other than what he wants to believe. Sorry ranting now. Anybody have any ideas on how to close the deal? :yes:

 

Thanks Again

Edited by nkycomputers

Share this post


Link to post
Share on other sites

Hello,

 

Hmm, sounds like you should be talking to the tech department of the hoster in question, something seems seriously wrong. The fact the index.html can not display which is the most simple page that any web server can display is a worrying fact.

 

Not knowing the client its hard to tell you how to close the deal, however, it should be pretty clear, put the pages on his not working server, put the same on an account here at TCH (put them in a sub folder of a working account just for a temp) and show him the two links. The result should be pretty easy to see. Also, point out the excellant customer service, low cost, top notch support and the fact you host many other clients here at TCH (I assume this from your first post)

 

Jimuni

 

P.S. Just for curosity sake, i would like to see the info.php for nothing other then to see what they have.

Share this post


Link to post
Share on other sites
P.S. Just for curosity sake, i would like to see the info.php for nothing other then to see what they have.

 

I agree... I am going to get ahold of tech support somehow next week. It isn't easy like here at Total Choice. I do appreciate the help though. If they can't get it fixed I am either going to tell the guy to switch or find another person to help them.

 

I have it completely operational on a TCH account and it just goes to show how good TCH really is.

 

I agree with the method of convincing him and have already shown him this. What he thinks is I just want to trick him into going through my hosting. This is obsurd because he was going to go through GoDaddy and I said that would be fine as they do run the proper software, not that I wanted him to.

 

Anyway for giggles here is the output of info.php.....

 

PHP Version 4.0.4

 

System Linux obsession.trivergent.net 2.2.16 #1 Tue Aug 8 05:01:09 EDT 2000 i686 unknown

Build Date Jan 4 2001

Configure Command './configure' '--with-mysql=/usr/local' '--enable-discard-path' '--with-ttf=/usr/local' '--disable-debug' '--enable-inline-optimizations' '--with-xml'

Server API CGI

Virtual Directory Support disabled

Configuration File (php.ini) Path /usr/local/lib

ZEND_DEBUG disabled

Thread Safety disabled

 

Zend logo This program makes use of the Zend scripting language engine:

Zend Engine v1.0.3, Copyright © 1998-2000 Zend Technologies

 

 

PHP 4.0 Credits

Configuration

PHP Core

Directive Local Value Master Value

allow_call_time_pass_reference

Off Off

allow_url_fopen

1 1

arg_separator

& &

asp_tags

On On

auto_append_file

no value no value

auto_prepend_file

no value no value

browscap

no value no value

default_charset

no value no value

default_mimetype

text/html text/html

define_syslog_variables

Off Off

disable_functions

no value no value

display_errors

On On

display_startup_errors

Off Off

doc_root

no value no value

enable_dl

On On

error_append_string

Off Off

error_log

no value no value

error_prepend_string

Off Off

error_reporting

2039 2039

expose_php

On On

extension_dir

./ ./

file_uploads

1 1

gpc_order

GPC GPC

highlight.bg

#FFFFFF #FFFFFF

highlight.comment

#FF8000 #FF8000

highlight.default

#0000BB #0000BB

highlight.html

#000000 #000000

highlight.keyword

#007700 #007700

highlight.string

#DD0000 #DD0000

html_errors

On On

ignore_user_abort

Off Off

implicit_flush

Off Off

include_path

/private:. /private:.

log_errors

Off Off

magic_quotes_gpc

On On

magic_quotes_runtime

Off Off

magic_quotes_sybase

Off Off

max_execution_time

30 30

open_basedir

no value no value

output_buffering

Off Off

output_handler

no value no value

post_max_size

8M 8M

precision

14 14

register_argc_argv

On On

register_globals

On On

safe_mode

Off Off

safe_mode_exec_dir

1 1

sendmail_from

no value no value

sendmail_path

/usr/lib/sendmail -t /usr/lib/sendmail -t

short_open_tag

On On

SMTP

localhost localhost

sql.safe_mode

Off Off

track_errors

Off Off

upload_max_filesize

2097152 2097152

upload_tmp_dir

no value no value

user_dir

no value no value

variables_order

EGPCS EGPCS

y2k_compliance

Off Off

 

xml

XML Support active

 

standard

Regex Library Bundled library enabled

Dynamic Library Support enabled

Path to sendmail /usr/lib/sendmail -t

 

Directive Local Value Master Value

assert.active

1 1

assert.bail

0 0

assert.callback

no value no value

assert.quiet_eval

0 0

assert.warning

1 1

safe_mode_allowed_env_vars

PHP_ PHP_

safe_mode_protected_env_vars

LD_LIBRARY_PATH LD_LIBRARY_PATH

session.use_trans_sid

1 1

 

session

Session Support enabled

 

Directive Local Value Master Value

session.auto_start

Off Off

session.cache_expire

180 180

session.cache_limiter

nocache nocache

session.cookie_domain

no value no value

session.cookie_lifetime

0 0

session.cookie_path

/ /

session.cookie_secure

Off Off

session.entropy_file

no value no value

session.entropy_length

0 0

session.gc_maxlifetime

1440 1440

session.gc_probability

1 1

session.name

PHPSESSID PHPSESSID

session.referer_check

no value no value

session.save_handler

files files

session.save_path

/tmp /tmp

session.serialize_handler

php php

session.use_cookies

On On

 

posix

Revision $Revision: 1.27 $

 

pcre

PCRE (Perl Compatible Regular Expressions) Support enabled

PCRE Library Version 3.1 09-Feb-2000

 

mysql

MySQL Support enabled

Active Persistent Links 0

Active Links 0

Client API version 3.22.30

MYSQL_INCLUDE

MYSQL_LFLAGS

MYSQL_LIBS

 

Directive Local Value Master Value

mysql.allow_persistent

On On

mysql.default_host

no value no value

mysql.default_password

no value no value

mysql.default_port

no value no value

mysql.default_socket

no value no value

mysql.default_user

no value no value

mysql.max_links

Unlimited Unlimited

mysql.max_persistent

Unlimited Unlimited

 

Additional Modules

 

Environment

Variable Value

PATH /usr/local/bin:/usr/bin:/bin

DOCUMENT_ROOT /html

SCRIPT_FILENAME /html/info.php

HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

HTTP_ACCEPT_CHARSET ISO-8859-1,utf-8;q=0.7,*;q=0.7

HTTP_ACCEPT_ENCODING gzip,deflate

HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5

HTTP_CONNECTION keep-alive

HTTP_HOST xxxxxxxx.us.temp.xxxx.net

HTTP_KEEP_ALIVE 300

HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1

REMOTE_ADDR xx.xx.xx.xx

REMOTE_HOST cn-esr1-xx-xx-xx-xx.xxxx.net

REMOTE_PORT 3234

SERVER_ADDR xx.xx.xx.xx

SERVER_ADMIN webmaster@xxxxxxx.us

SERVER_NAME www.xxxxxxxx.us

SERVER_PORT 80

SERVER_SOFTWARE Apache/1.3.27

GATEWAY_INTERFACE CGI/1.1

SERVER_PROTOCOL HTTP/1.1

REQUEST_METHOD GET

QUERY_STRING

REQUEST_URI /info.php

SCRIPT_NAME /info.php

 

PHP Variables

Variable Value

PHP_SELF /info.php

HTTP_SERVER_VARS["PATH"] /usr/local/bin:/usr/bin:/bin

HTTP_SERVER_VARS["DOCUMENT_ROOT"] /html

HTTP_SERVER_VARS["SCRIPT_FILENAME"] /html/info.php

HTTP_SERVER_VARS["HTTP_ACCEPT"] text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

HTTP_SERVER_VARS["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7

HTTP_SERVER_VARS["HTTP_ACCEPT_ENCODING"] gzip,deflate

HTTP_SERVER_VARS["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5

HTTP_SERVER_VARS["HTTP_CONNECTION"] keep-alive

HTTP_SERVER_VARS["HTTP_HOST"] xxxxxxxx.us.temp.xxxxx.net

HTTP_SERVER_VARS["HTTP_KEEP_ALIVE"] 300

HTTP_SERVER_VARS["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1

HTTP_SERVER_VARS["REMOTE_ADDR"] xx.xx.xx.xx

HTTP_SERVER_VARS["REMOTE_HOST"] cn-esr1-xx-xx-xx-xx.xxx.net

HTTP_SERVER_VARS["REMOTE_PORT"] 3234

HTTP_SERVER_VARS["SERVER_ADDR"] xx.xx.xx.xx

HTTP_SERVER_VARS["SERVER_ADMIN"] webmaster@xxxxxx.us

HTTP_SERVER_VARS["SERVER_NAME"] www.xxxxxxxx.us

HTTP_SERVER_VARS["SERVER_PORT"] 80

HTTP_SERVER_VARS["SERVER_SOFTWARE"] Apache/1.3.27

HTTP_SERVER_VARS["GATEWAY_INTERFACE"] CGI/1.1

HTTP_SERVER_VARS["SERVER_PROTOCOL"] HTTP/1.1

HTTP_SERVER_VARS["REQUEST_METHOD"] GET

HTTP_SERVER_VARS["QUERY_STRING"]

HTTP_SERVER_VARS["REQUEST_URI"] /info.php

HTTP_SERVER_VARS["SCRIPT_NAME"] /info.php

HTTP_SERVER_VARS["PHP_SELF"] /info.php

HTTP_SERVER_VARS["argv"]

 

Array

(

)

 

HTTP_SERVER_VARS["argc"] 0

HTTP_ENV_VARS["PATH"] /usr/local/bin:/usr/bin:/bin

HTTP_ENV_VARS["DOCUMENT_ROOT"] /html

HTTP_ENV_VARS["SCRIPT_FILENAME"] /html/info.php

HTTP_ENV_VARS["HTTP_ACCEPT"] text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5

HTTP_ENV_VARS["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7

HTTP_ENV_VARS["HTTP_ACCEPT_ENCODING"] gzip,deflate

HTTP_ENV_VARS["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5

HTTP_ENV_VARS["HTTP_CONNECTION"] keep-alive

HTTP_ENV_VARS["HTTP_HOST"] xxxxxxxxxx.us.temp.xxxxx.net

HTTP_ENV_VARS["HTTP_KEEP_ALIVE"] 300

HTTP_ENV_VARS["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050225 Firefox/1.0.1

HTTP_ENV_VARS["REMOTE_ADDR"] xx.xx.xx.xx

HTTP_ENV_VARS["REMOTE_HOST"] cn-esr1-xx-xx-xx-xx.xxxxx.net

HTTP_ENV_VARS["REMOTE_PORT"] 3234

HTTP_ENV_VARS["SERVER_ADDR"] xx.xx.xx.xx

HTTP_ENV_VARS["SERVER_ADMIN"] webmaster@xxxxxx.us

HTTP_ENV_VARS["SERVER_NAME"] www.xxxxx.us

HTTP_ENV_VARS["SERVER_PORT"] 80

HTTP_ENV_VARS["SERVER_SOFTWARE"] Apache/1.3.27

HTTP_ENV_VARS["GATEWAY_INTERFACE"] CGI/1.1

HTTP_ENV_VARS["SERVER_PROTOCOL"] HTTP/1.1

HTTP_ENV_VARS["REQUEST_METHOD"] GET

HTTP_ENV_VARS["QUERY_STRING"]

HTTP_ENV_VARS["REQUEST_URI"] /info.php

HTTP_ENV_VARS["SCRIPT_NAME"] /info.php

 

PHP License

 

This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE

 

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

 

If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net.

 

 

Edit: TCH-Bruce - removed domain name from post at users request

Share this post


Link to post
Share on other sites

Hello,

 

Hmmm, its not an true apache server and it seems to be missing quite a bit. Suggest you point out this too, between your version and the version found on TCH

 

Good Luck!

 

Jimuni

Edited by Jimuni

Share this post


Link to post
Share on other sites

If anyone is still interested I have some updates. Still doesn't work but were heading in the right direction. If anyone takes note to the day I started this thread....I still have yet to here from the other companies support department about my "help desk" ticket.

 

Here is what I know now.

1. When I load my .htaccess it breaks the whole site.

2. Without the .htaccess file I can get the .html pages to work, however the php includes on the pages show up when I view the source. So somehow the server is not recognizing the php code.

3. This is what is interesting though if I make a page and call it index.php it works fine with the includes.

 

Anybody have any ideas?

 

Thanks

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...