Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Problem running from a symbolically linked directory
I am trying to update Humboldt State University from rc3 to 4.0.3. The main site index is symbolically linked to the index of another account, called humboldt. I access and maintain the web site through humboldt. After upgrading, I am getting the error
<pre><code>config.php is not ok or not found. If you would like to install, go to [/subdir]/textpattern/setup/</code></pre>
on the root index page and a 404 on the index page for the humboldt account. The paths in the config file are correct as far as I can tell, and they are the same as in the rc3 install that is working.
I have set up a test system and tried to install a new version of 4.0.3 from scratch, and I am having the same problem there using the config file generated by 4.0.3.
Any suggestions on how to try fixing this?
Thanks in advance,
Andrea
Offline
Re: Problem running from a symbolically linked directory
I was able to get rid of the 404, but am still getting the same error on the main index page.
Here are my diagnostics:
<pre><code>
Textpattern version: 4.0.3 (r1188)
last_update: 2006-04-11 20:58:46/2006-04-20 23:31:44
Document root: /usrweb2/netsite-dev (/appweb1/usrweb2/netsite-dev)
$path_to_site: /d3/home/univ/humbold1/public_html
Textpattern path: /d3/home/univ/humbold1/public_html/textpattern
Permanent link mode: section_title
Temp folder: /cluster/members/member0/tmp
Site URL: humboldt.edu/~humbold1
PHP version: 4.3.10
Server time: 2006-04-21 14:25:35
MySQL: 3.23.54
Locale: en_GB
Server: Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.6h PHP/4.3.10
Apache version: Apache/1.3.34 (Unix) mod_ssl/2.8.25 OpenSSL/0.9.6h PHP/4.3.10
PHP mode: apache
Operating System: OSF1 V5.1
.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
RewriteBase /~humbold1/
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php </IfModule>php_value register_globals 0
</code></pre>
I have tried uncommenting the Options +FollowSymLinks and had the same problem.
Offline
#3 2006-05-17 02:10:22
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Problem running from a symbolically linked directory
Bumping this topic. Is this still a problem?
Offline
Re: Problem running from a symbolically linked directory
Yes this is still a problem. I am now stuck in a state where the db has been updated for 4.0.3 but the site won’t run without using the site files for rc3. This (not surprisingly) gives me errors in the admin interface, and I can only make changes in Safari— Firefox won’t let me in due to header issues.
I am going to have to roll back to rc3 to have a fully functioning site, which I can only do during scheduled maintenance periods at the University, the next one being May 21. I am crossing my fingers that nothing goes terribly wrong before then.
Offline
#5 2006-05-17 17:34:14
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Problem running from a symbolically linked directory
Okay, this is the actual location of config.php?
/d3/home/univ/humbold1/public_html/textpattern/config.php
Offline
Re: Problem running from a symbolically linked directory
Yep, that’s it for the test instance. Production uses /humboldt/ instead of /humbold1/.
Offline
#7 2006-05-17 18:42:46
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Problem running from a symbolically linked directory
Okay, what’s happening is that Textpattern is looking for the config.php file in the same directory as the index.php file. I think if you symlink config.php as well, you’ll be in business.
Offline
Re: Problem running from a symbolically linked directory
ah ha! I will try that.
Offline