Your account is limited to posting only in the Pre-Sales Questions forum.
Support forum access is limited to members with a purchase history.

If you are working on behalf of another member, please contact us with the name of the license holder and we will upgrade your account.
   
 
Renaming site index
Posted: 11 March 2011 01:17 AM   [ Ignore ]
Administrator
RankRank
Total Posts:  356
Joined  2010-01-21

I’ve renamed my site index file but CT is still trying to submit the add-to-cart form to index.php. Is that a bug or is there a setting I can change?

[ Edited: 15 March 2011 01:59 PM by Rob Sanchez ]
 Signature 

Freelance web designer & ExpressionEngine Pro Network developer

Profile
 
 
Posted: 11 March 2011 01:24 AM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  10223
Joined  2008-09-29

So the index.php file has been renamed to somethingelse.php, and you’ve changed this in your ee settings as well?

Do you have an .htaccess file doing anything tricky?

Generally, all you’d need to do would be to change this setting: EE > Admin > General Configuration > Name of your site’s index page and CT will use the new URL the next time your reload the page. Keep an eye out for cached templates,  or cached sql queries. There aren’t any paths hardcoded in CT, so it should just be using your sites’ default index page location.

 Signature 

We’re moving away from the forums, though not entirely and not immediately. Lack of support lately is coincidental to that. Unfortunately we’ve had a bad month with it, but we do not forsee that we will have any continued problems with support through our portal going forward, or on forums while we’re still transitioning. We will send out a newsletter and make additional notifications through twitter and other outlets over the coming weeks.

Moving forward; things returning to normal.

Profile
 
 
Posted: 11 March 2011 01:40 AM   [ Ignore ]   [ # 2 ]
Administrator
RankRank
Total Posts:  356
Joined  2010-01-21

Yep, index.php is site.php and that’s set in the general config options (I’m using Leevi Graham’s config bootstrap but I’ve tested without it and the problem’s the same). Disabling the .htaccess doesn’t affect it either.

 Signature 

Freelance web designer & ExpressionEngine Pro Network developer

Profile
 
 
Posted: 11 March 2011 07:20 AM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  10223
Joined  2008-09-29

Hm. We’ve tested that switch here without issue. The form actions are generated on the fly, so I don’t see why they’d be sending to index.php

Do you happen to have sql query caching or template caching turned on?

 Signature 

We’re moving away from the forums, though not entirely and not immediately. Lack of support lately is coincidental to that. Unfortunately we’ve had a bad month with it, but we do not forsee that we will have any continued problems with support through our portal going forward, or on forums while we’re still transitioning. We will send out a newsletter and make additional notifications through twitter and other outlets over the coming weeks.

Moving forward; things returning to normal.

Profile
 
 
Posted: 11 March 2011 07:36 AM   [ Ignore ]   [ # 4 ]
Administrator
RankRank
Total Posts:  356
Joined  2010-01-21

No, nothing like that. It’s a fresh install with pretty much everything still set at the defaults. It’s not an issue for me now as I’ve renamed site.php back to index.php.

 Signature 

Freelance web designer & ExpressionEngine Pro Network developer

Profile
 
 
Posted: 11 March 2011 12:25 PM   [ Ignore ]   [ # 5 ]
Administrator
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

It must be an issue of setting it to site.php in the CP vs setting it in the config file, I’ll see what I can dig up.

Profile
 
 
Posted: 11 March 2011 08:55 PM   [ Ignore ]   [ # 6 ]
Administrator
RankRank
Total Posts:  356
Joined  2010-01-21

Ah right, yeah, didn’t think of that.

 Signature 

Freelance web designer & ExpressionEngine Pro Network developer

Profile
 
 
Posted: 14 March 2011 03:04 PM   [ Ignore ]   [ # 7 ]
Administrator
Avatar
RankRankRank
Total Posts:  3541
Joined  2009-05-29

We made some changes in the way we generate the form action urls that I think might’ve fixed this.

Profile