PDA

View Full Version : Second support center not working


malberghini
06-16-2008, 08:57 PM
We have a separate department we support here at work. We are trying to create a second Support Center for them. Basically a second front end with their branding, but feeding into the same back end.

I went to the Community Tools tab in the setup pages, created a new Community and added a new Support center.

Support Center A works fine. Support Center B, the new one, doesn't work.
When I go to the URL, I see the index page, but all of the images are broken. When I click on Open A Ticket, I get a file not found error.

The working support center has URLs like this:
http://gatech.edu/helpdesk-A/index.php/contact

The non-working one has URLs like this:
http://gatech.edu/helpdesk-B/contact

I diffed the index.php files created by the Community Tools and the only two differences were the REMOTE_URI line and a section with a switch for $pathinfo.

Hildy
06-16-2008, 09:14 PM
Are you using the .htaccess file in either one of those support centers?

At the top of the index.php file, you should have a section that looks like:
define('REMOTE_HOST', 'localhost');
define('REMOTE_BASE', '/cerberus4/index.php'); // NO trailing slash!
define('REMOTE_URI', '/portal/1f521bb4'); // NO trailing slash!
make sure the non-working one also has the "index.php" bit in the REMOTE_BASE.

malberghini
06-16-2008, 09:21 PM
aha. Nuking the .htaccess file fixed it.