Page 1 of 1

Install problem with long domain name - Solved via Workaround

Posted: Sun Feb 17, 2008 5:59 pm
by emt
Hey, I'm throwing this out because I ran into this problem. I don't fully understand what's happening, but I did find a workaround in case it happens to someone else.

Installing CMSMS 1.2.3 on a domain with a long domain name like abcdefghijk-lmnopqrstuvw.com - that's 24 characters before the .com.

Install script reported folder tmp/templates_c was not writable - but it was writable!

Fortunately I had another domain with a shorter name I could work under. So I created a folder with the same domain name (less the .com) and tried there. Same problem!

Then I shortened the folder name and the install ran without error. I actually bailed out of the install on the first page (the checklist page), changed the folder name back to the long name and restarted the install. If still ran and I completed the install.

The site appears to be working fine with the long name. Seems just the initial part of the install script has this problem.

I haven't tested this enough to log it as a defect, but it appears to be one.

Marshall

Re: Install problem with long domain name - Solved via Workaround

Posted: Tue Feb 19, 2008 6:25 pm
by nivekiam
Can you post how long the entire path from the root to the tmp/templates_c directory is?

Example

/usr/www/username/abcdefghijk-lmnopqrstuvw.com/tmp/templates_c

Is 62 characters

Re: Install problem with long domain name - Solved via Workaround

Posted: Wed Feb 20, 2008 2:30 am
by emt
/var/www/vhosts/abcdefhijkl-mnopqrstuvwx.com/httpdocs/tmp/templates_c

/var/www/vhosts/abcdefghijklm.com/httpdocs/dvl/abcdefhijkl-mnopqrstuvwx/tmp/templates_c

I used both, under different domains. Install wouldn't run until I shortened the abcdefhijkl-mnopqrstuvwx.

Sorry to obfuscate the domains, client's site is under development.