Working on site preview URL

4 posts by 3 authors in: Forums > CMS Builder
Last Post: August 24, 2009   (RSS)

Re: [rjbathgate] Working on site preview URL

By Chris - August 23, 2009

Hi Rob,

I'm wondering if this is a problem with older versions of CMSb, since I was able to rename my 1.31 directory with no problems.

Can you fill out a [url https://www.interactivetools.com/support/email_support.cgi]Support Ticket[/url] with FTP info please and we'll see what's wrong?
All the best,
Chris

Re: [chris] Working on site preview URL

Hi,

How did you rename your directory - simply within FTP, or did you need to change any settings within the CMSB?

The issue isn't necassarily CMS Directory NAME, but location to root of the server...

Because all of the actions within the CMS code are relative to root (i.e. /cmsAdmin/admin.php as oppose to cmsAdmin/admin.php) --- so this sends it to ROOT of the server, whereas I need it to stay within its subdirectory.

So, either by hacking the CMS to tell it ROOT is actually somewhere else, or by making paths not relative to root (although this is a quite large task manually).

I have raised a support ticket with FTP details.

Cheers

Re: [rjbathgate] Working on site preview URL

By Dave - August 24, 2009

Hi Rob,

CMSB doesn't actually reference root paths (/cmsAdmin/...) anywhere. So you can install it in other directory locations no problem.

CMSB auto detects the current url. What I suspect is happening is that your hosts preview url setup isn't correctly setting some PHP variables. We may be able to add some code to work around what they're doing (or not doing). Can you send me an email with the ticket number you submitted? (You should get an auto-reply with a ticket ID).

Thanks!
Dave Edis - Senior Developer
interactivetools.com