Install problem with long domain name - Solved via Workaround

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
emt
Forum Members
Forum Members
Posts: 20
Joined: Mon Jul 16, 2007 5:37 pm
Location: Athens, GA US

Install problem with long domain name - Solved via Workaround

Post 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
nivekiam

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

Post 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
emt
Forum Members
Forum Members
Posts: 20
Joined: Mon Jul 16, 2007 5:37 pm
Location: Athens, GA US

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

Post 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.
Locked

Return to “[locked] Installation, Setup and Upgrade”