Forums / Upgrading to 1.5.x / after installing thru cpanl, got www.mysite.com//index.... (double slash). why?

after installing thru cpanl, got www.mysite.com//index.... (double slash). why?

Views: 1,057

Results 1 to 3 of 3
22 May 2012, 8:56 AM
#1
zenartman avatar

zenartman

Zen Follower

Join Date:
Nov 2005
Posts:
134
Plugin Contributions:
0

after installing thru cpanl, got www.mysite.com//index.... (double slash). why?

Probably ignorant question. I ended up installing automatically. Then seems like I have 2 admin folders. One is zc_install-disabled, thru which i did db upgrade. and the other is zcadmin. Is it because of these 2 that i have something like this: http://www.mongolianshop.com//index.php?main_page=product_info&cPath=77&products_id=818

What causes this // ?
Which of above folders need to be renamed and which deleted? Nobody asked about double slash.

Thank you.

23 May 2012, 2:37 AM
#2
zenartman avatar

zenartman

Zen Follower

Join Date:
Nov 2005
Posts:
134
Plugin Contributions:
0

Re: after installing thru cpanl, got www.mysite.com//index.... (double slash). why?

1.5.0 includes/config had this:

define('DIR_WS_CATALOG', '//');
define('DIR_WS_HTTPS_CATALOG', '//');

I tried taking out one slash in the each of 2 lines, which seem to fix the issue.

23 May 2012, 3:11 AM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: after installing thru cpanl, got www.mysite.com//index.... (double slash). why?

That's about right.

You should complain to your host to tell them that their 1-click install is broken. If it's Fantastico, report it to them: https://netenberg.com/#customer.html

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.