Page 1 of 1

IFrame Shared SSL

Posted: Fri 22. Oct 2004, 04:17
by jimtomas
I am wanting to use a IFrame to display a order script. The order script is accessed by a shared SSL by my webhost https://secure.mywebhost.com/~mysite .

I would like to put a link to a page within my PHPwcms https://secure.mywebhost.com/~mysite/index.php?order which would contain an IFrame to https://secure.mywebhost.com/~mysite/orderscript.php

Problem is I keep getting
Warning: main(/home/mywebhost/public_html/include/inc_front/content.article.inc.php): failed to open stream: No such file or directory in /home/mysite/public_html/include/inc_front/content.func.inc.php on line 196

Warning: main(): Failed opening '/home/mywebhost/public_html/include/inc_front/content.article.inc.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/include/inc_front/content.func.inc.php on line 196
It seems if I don't use the link https://secure.mywebhost.com/~mysite/index.php?order to access my page in PHPwcms but http://www.mysite.com/index.php?order all seems well. The only problem is that I get no SSL lock, which is the whole reason I need this.

Any thoughts?
-Jim

Posted: Fri 22. Oct 2004, 05:16
by jimtomas
Eureka!

Got it to work by adding this line in to the bottom of my conf.inc.php

Code: Select all

$_SERVER['DOCUMENT_ROOT'] = '/home/mysite/public_html';
Strange that this setting is buried so deep, document root seems pretty important?