| Author |
Message |
ckenney
Joined: 31 Dec 2006 Posts: 5
|
Posted: 11 Jan 2007 15:01 Post subject: Using Trade Expert and.... |
|
|
Does anyone know the reason why when I add:
<!--#include virtual="protectx.php"--> to my site my site Cant Be Displayed?
My scripts i use are smart thumbs and trade expert?
My other sites that I use at3 on and smart thumbs work fine.
Please help.
Thanks
CK |
|
| Back to top |
|
jack

Joined: 19 Sep 2006 Posts: 570 Rank: 42
|
Posted: 11 Jan 2007 20:32 Post subject: |
|
|
Put it to index.shtml ( its must be .shtml file )
<!--#include virtual="protectx.php"--> _________________ I Love Protect-X.com |
|
| Back to top |
|
ckenney
Joined: 31 Dec 2006 Posts: 5
|
Posted: 11 Jan 2007 20:40 Post subject: |
|
|
| I did that, and then when i go to smart thumbs to reset the page i get a black page. |
|
| Back to top |
|
jack

Joined: 19 Sep 2006 Posts: 570 Rank: 42
|
Posted: 11 Jan 2007 20:46 Post subject: smart thumbs and protect-x |
|
|
You tried enter it on smart thumb ? _________________ I Love Protect-X.com |
|
| Back to top |
|
ckenney
Joined: 31 Dec 2006 Posts: 5
|
Posted: 11 Jan 2007 20:50 Post subject: |
|
|
| yes |
|
| Back to top |
|
fatfoo

Joined: 02 Dec 2006 Posts: 269 Rank: 44 Location: Toronto, Canada
|
Posted: 12 Jan 2007 02:49 Post subject: |
|
|
| If you get a blank page , that could mean your hosting is setup in a way which suppresses errors, instead of showing them, so you have no way of knowing what the problem is. I suggest talk to your hosting about this? |
|
| Back to top |
|
Protect-X Support

Joined: 30 Oct 2006 Posts: 934 Rank: 35
|
Posted: 12 Jan 2007 08:51 Post subject: |
|
|
| fatfoo wrote: | | If you get a blank page , that could mean your hosting is setup in a way which suppresses errors, instead of showing them, so you have no way of knowing what the problem is. I suggest talk to your hosting about this? |
I agree with fatfoo.
And I think you should try to talk with trade expert support as you say it is only difference between two sites. _________________ Free A-B-C-D Hard Links Exchange Automatic System:
http://www.protect-x.com/index.php?go=shardlinks
Visit other Protect-X sections:
Find/Add NEW SPONSORS:
http://www.protect-x.com/index.php?go=findsponsors |
|
| Back to top |
|
ckenney
Joined: 31 Dec 2006 Posts: 5
|
Posted: 12 Jan 2007 14:36 Post subject: |
|
|
| Thanks Guys. I appreciate all your help. |
|
| Back to top |
|
Protect-X Support

Joined: 30 Oct 2006 Posts: 934 Rank: 35
|
|
| Back to top |
|
rhino

Joined: 23 Dec 2006 Posts: 70 Rank: 12
|
Posted: 18 Jan 2007 08:55 Post subject: |
|
|
That sounds like an issue with how your server is set up to handle the include... but I doubt it's from TE (I run about 25 domains with ST5/TE/Protect-X, and no problems). What do you get if you view source on the blank page, totally blank or incomplete code? What browser do you use (some are more forgiving of bad html code then others), might be where the problem is.
Quick check - add a 2nd face to ST5 and a test page for the output (both the index & the test page with the same extension). Do a save as for your current index template and put the TE code on 1 template page, AT3 code on the other, and Protect-X code on both. Then use ST5 to do a random rebuild of the pages, and check both through your browser. (Template pages need to be exactly the same, other then the trade script include.)
Best guess, your server is having a display problem with the include... If that's the problem, simple fix might be to add an instruction to the root .htaccess file to read the page extension (also a quick fix to eliminate the need to use the .shtml extension to run SSIs).
Here's the lines to add to the .htaccess file (IIRC, it's called the X Bit hack, and can be added on a domain by domain basis through .htaccess (or in the server conf file if your box is dedicated) -
AddType text/x-server-parsed-html .html
AddType text/x-server-parsed-html .htm
Last Q, did you by any chance put the Protect-X include in the head tag instead of in the body? |
|
| Back to top |
|
ckenney
Joined: 31 Dec 2006 Posts: 5
|
Posted: 18 Jan 2007 14:45 Post subject: |
|
|
Rhino-
I appreciate the time you put into this problem. I get Page cant be displayed when i add:
<!--#include virtual="protectx.php"-->
to the site.
I use IE7.
I think i will just add the lines to .htaccess.
I will let you know the out come.
Thanks again for your thoughts.
CK |
|
| Back to top |
|
Protect-X Support

Joined: 30 Oct 2006 Posts: 934 Rank: 35
|
|
| Back to top |
|
|
|
|
|
|
|
|
|