IFrame Shared SSL

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
jimtomas
Posts: 25
Joined: Mon 29. Mar 2004, 01:33

IFrame Shared SSL

Post 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
jimtomas
Posts: 25
Joined: Mon 29. Mar 2004, 01:33

Post 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?
Post Reply