close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Powerstore 4 gallery problems

Thread began 11/19/2010 8:28 pm by davkim_00418069 | Last modified 11/23/2010 10:12 am by Jason Byrnes | 1319 views | 9 replies |

davkim_00418069

Powerstore 4 gallery problems

Hello!
I have the powerstore 4, with the picture gallery. When I put the picture gallery in one of my pages in my secured website, the gallery comes out blank, but when I unsecure the website, the gallery is fine, meaning that I can see the pictures in the gallery. What is the problem with the site?
Please let me know,
thanks,
David

Sign in to reply to this post

Jason ByrnesWebAssist

when a page displays blank, it means a php error is occurring but error reporting is turned. To fix the issue, we will need to know the error.

Add the following code at line 1 of the page that displays blank"

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','all');
?>



Once we know the error, we can fix the issue.

Sign in to reply to this post

davkim_00418069

Hello Jason,
I do not know where to put to codes in the php; however, I found out that the address of the gallery images are Neutral20Champagne01_62c.jpg. My site is secure, thus, when I tried to open in a new window, it said: Bad Request

Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.

Hint: www.shopmytrend.com/

On my htaccess, i have put:
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.shopmytrend.com/$1 [R,L]

Can you please tell me how the gallery image address can be changed from http to https?

thank you,

David

Sign in to reply to this post

Jason ByrnesWebAssist

in the webassist/globals/global.php file, try changing:

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

davkim_00418069

Hello Jason,
I did change it in the file as you have directed, but still, the gallery images are not showing up nor the address changed from blah.com:443 to https...

Sign in to reply to this post

Jason ByrnesWebAssist

try making the same change in the galleries/global.php file.

Sign in to reply to this post

davkim_00418069

I did, and still does not work....

Sign in to reply to this post

Jason ByrnesWebAssist

That line of code is also in the mediarss.php file, change it there as well.

Sign in to reply to this post

davkim_00418069

It worked! Thanks a lot Jason!

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post
loading

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...