close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Powerstore(4) Galleries - HTTPS?

Thread began 12/03/2010 3:19 am by info405361 | Last modified 12/10/2010 8:14 am by Jason Byrnes | 2976 views | 8 replies |

info405361

Powerstore(4) Galleries - HTTPS?

Hi All

I have powerstore 4 installed and all was fine untill I installed an SSL Cert and now operate the site in HTTPS

Everything still seams to work except for the galleries we have included into some product descriptions. The gallery box shows but with no pictures.

I have check my plesk setting and I have the site runing using the same directory for both ssl and non ssl

Any ideas most welcome

Kinds
Roger

Sign in to reply to this post

Jason ByrnesWebAssist

in the galleries/global.php file, try changing:

php:
$Root_URL = ((isset($_SERVER['SERVER_PROTOCOL']) && strpos($_SERVER['SERVER_PROTOCOL'], 'HTTPS') !== false) ? 'https://' : 'http://') . $_SERVER['SERVER_NAME'] . ( (isset($_SERVER['SERVER_PORT'])&& $_SERVER['SERVER_PORT'] != 80)?":".$_SERVER['SERVER_PORT']:"") . $assumedRoot;




to:

php:
$Root_URL = 'https://'. $_SERVER['SERVER_NAME'] . $assumedRoot;
Sign in to reply to this post

info405361

Sorry Jason, that did not make any difference any other thoughts?

Sign in to reply to this post

info405361

Bump

Bumped, I realy at a loss on this, any ideas?

Sign in to reply to this post

Jason ByrnesWebAssist

can you send a link to where i can see the problem please.

Sign in to reply to this post

info405361

products_detail.php?ProductID=3

Sign in to reply to this post

Jason ByrnesWebAssist

the same change needs to be made in the mediarss.php file.


change line 33:

php:
$WAGLOBAL_Root_URL = ((isset($_SERVER['SERVER_PROTOCOL']) && strpos($_SERVER['SERVER_PROTOCOL'], 'HTTPS') !== false) ? 'https://' : 'http://') . $_SERVER['SERVER_NAME'] .( (isset($_SERVER['SERVER_PORT'])&& $_SERVER['SERVER_PORT'] != 80)?":".$_SERVER['SERVER_PORT']:"") . $assumedRoot;




to:

php:
$WAGLOBAL_Root_URL = 'https://' . $_SERVER['SERVER_NAME'] . $assumedRoot;
Sign in to reply to this post

info405361

Thank you

Hi Jason,

Thank you, this has solved my problem and the gallery is now working correctly in https

Merry Xmas

Sign in to reply to this post

Jason ByrnesWebAssist

glad to hear it is working.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...