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

PS3 Link Assumed Root Issue

Thread began 12/07/2010 4:29 pm by avatar8390144 | Last modified 12/10/2010 2:21 pm by Jason Byrnes | 2195 views | 9 replies |

avatar8390144

PS3 Link Assumed Root Issue

Hi. I'm having a problem with the link structure that is being produced by PS3. My store is installed in a subfolder on the server, but is defined as the root for the domain using .htaccess rewrites.

The links should read as "www.boomco.com/Products_Detail.php..." but include the subfolder name, ie "www.boomco.com/store_ps3/Products_Detail.php..."

I'm assuming that this has to do with how PS3 sets the root for the site.
What do I need to do to change this behavior?

The site can be reached at www.boomco.com. It is set up to use https by default, if that matters.

Thanks.

Sign in to reply to this post

Jason ByrnesWebAssist

in the powerstore database look in the wa_settings table.

Make sure the root url is set to:
www.boomco.com

and the Local and Remote root should be set to:
/

Sign in to reply to this post

avatar8390144

Thanks for taking a look. I successfully changed the Root URL to www.boomco.com. However, when I changed the Local Root to "/" the site errors out with the following message:

Warning: require_once(../Connections/PowerStoreConnection.php) [function.require-once]: failed to open stream: No such file or directory in .../public_html/store_ps3/CSSMenuWriter/cssmw_home/menu.php on line 23

Fatal error: require_once() [function.require]: Failed opening required '../Connections/PowerStoreConnection.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in .../public_html/store_ps3/CSSMenuWriter/cssmw_home/menu.php on line 23

Any ideas? If the information helps, we're moving the store from a subdomain (store.boomco.com) where it was originally installed, to the master domain of boomco.com.

Sign in to reply to this post

Jason ByrnesWebAssist

sorry, the root url needs the trailing slash at the end:
www.boomco.com/

Sign in to reply to this post

avatar8390144

Tried it with the trailing "/", gave the same error.

Sign in to reply to this post

Jason ByrnesWebAssist

this seam to be more of an issue with the htaccess.




if i try to go to:
www.boomco.com/

it automatically redirects me to:
store_ps3/

this is before I even click on any of the links, so the links are not the issue.

Sign in to reply to this post

avatar8390144

Ok. My HTTPS rewrite rule was causing it to go to boomco.com/store_ps3/

I've taken care of that, but changing the Local Root to "/" still gives the same errors.

Sign in to reply to this post

Jason ByrnesWebAssist

well, since the real locations of the filesare in the /store_ps3/ directory, you need to set that in the root url.

Sign in to reply to this post

avatar8390144

I've tried to set the root url to"http:www.boomco.com/store_ps3/", but I still get the same error when I set the local root to "/".

Incidently, the site works whether the root url is set to "boomco.com" or "boomco.com/store_ps3/". But the links generated by the site still expose the underlying folder structure ("www.boomco.com/store_ps3/page..." instead of "www.boomco.com/page...")

I've tried a number of combinations with the root url, local root, and remote root settings, and nothing is working. Is there something I'm missing about hosting PowerStore in a subfolder, mapped to the main domain?

Sign in to reply to this post

Jason ByrnesWebAssist

the only way for the links to work and not show the subfolder is to move the store out of the subfolder


the links must point to the subfolder if that is where he files are.

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