Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-09-28 05:17:57
- matthewwithanm
- Member
- Registered: 2006-09-28
- Posts: 12
Seeing some content.
This is probably a very simple question..
I just installed TextPattern for the first time and everything seemed to be going great. I decided to install it in mysite.com/2.0. (Currently there is an htaccess in the root directory that redirects to mysite.com/1.0/) After adding some content, I tried to go to mysite.com/2.0/index.php but got a 404. So I went into index.php and put an echo statement in there, and sure enough, it showed up.
So my index.php is definitely loading.. but it’s giving me a 404 error. What could be causing this?
Thanks very much for the help.
Offline
#2 2006-09-28 07:15:15
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Seeing some content.
What does your root .htaccess look like?
Offline
#3 2006-09-28 13:29:57
- matthewwithanm
- Member
- Registered: 2006-09-28
- Posts: 12
Re: Seeing some content.
Sorry, I should’ve mentioned that I deleted the root htaccess file and it didn’t fix the problem.
All my diagnostics pass and I can see the articles I’ve entered when i go to mysite.com/2.0/textpattern/index.php. Would the diagnostics be helpful to..um, diagnose the problem?
Thanks so much for your help. I really appreciate it.
Offline
#4 2006-09-30 17:05:40
- matthewwithanm
- Member
- Registered: 2006-09-28
- Posts: 12
Re: Seeing some content.
publish.php is dying at line 423 (if ($pretext[‘status’] == ‘404’)…) Could somebody please tell me what exactly would cause that variable to be set to ‘404’? I really don’t want to search through every included file to find it.
There’s data in my mySQL tables and all my diagnostics pass. I’m running version 4.0.3 of TextPattern. Has anybody else had issues installing this version in a subdirectory of their site?
Really, any information at all would help. I’m at a loss.
Offline
Re: Seeing some content.
Please post your diagnostics.
Offline
#6 2006-09-30 21:51:54
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Seeing some content.
Is your default section missing, or it’s page empty?
Offline
#7 2006-10-01 00:56:26
- matthewwithanm
- Member
- Registered: 2006-09-28
- Posts: 12
Re: Seeing some content.
Mary – I think it must be something like that, but when I go to my Presentation >> Pages section, I have a page called “default” and it isn’t empty. Is it possible that something that’s supposed to point to it isn’t? What else would cause TextPattern to show a 404?
Spencer –
Textpattern version: 4.0.3 (r1188)
Last Update: 2006-09-28 03:30:00/2006-09-30 16:34:33
Document root: /home/matthewwithanm/mysite.com (/home/.aloha/matthewwithanm/mysite.com)
$path_to_site: /home/.aloha/matthewwithanm/mysite.com/2.0
Textpattern path: /home/.aloha/matthewwithanm/mysite.com/2.0/textpattern
Permanent link mode: title_only
Temporary directory path: /home/.aloha/matthewwithanm/mysite.com/2.0/textpattern/tmp
Site URL: mysite.com
PHP version: 5.1.2
Server Local Time: 2006-09-30 16:16:08
MySQL: 5.0.18-standard-log
Locale: en_US.UTF-8
Server: Apache/1.3.33 (Unix) mod_throttle/3.1.2 DAV/1.0.3 mod_fastcgi/2.4.2 mod_gzip/1.3.26.1a PHP/4.4.2 mod_ssl/2.8.22 OpenSSL/0.9.7e
PHP Server API: cgi-fcgi
Server OS: Linux 2.4.29-grsec+w+fhs6b+gr0501+nfs+a32+++p4+sata+c4+gr2b-v6.189
Pre-flight check:
————————————
/home/.aloha/matthewwithanm/mysite.com/2.0/textpattern/setup/ still exists
————————————
.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/
<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
————————————
Thanks for the quick response, guys. I’m really looking forward to getting TextPattern up and working.
Offline
#8 2006-10-01 05:14:56
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Seeing some content.
I think this might be your problem: Permanent link mode: title_only. If you change your Permanent link mode to anything else, does it “magically” start working?
Don’t forget to delete the sub-directory “setup”, by the way.
Offline
#9 2006-10-04 00:20:16
- matthewwithanm
- Member
- Registered: 2006-09-28
- Posts: 12
Re: Seeing some content.
That’s it, Mary!
So, I’m guessing that the problem is that it thinks “2.0” is a title? How do I fix that?
(Btw, I had deleted setup but tried reinstalling to fix the problem.. I’ll delete it again when we get this sorted out.)
Thanks again for the help!!
Last edited by matthewwithanm (2006-10-04 00:21:21)
Offline
Re: Seeing some content.
It thinks that, becuase you have the wrong setting for Site-URL:
Site URL: mysite.com
It should be: mysite.com/2.0
Offline
#11 2006-10-05 00:07:13
- matthewwithanm
- Member
- Registered: 2006-09-28
- Posts: 12
Re: Seeing some content.
Problem solved! Thanks, guys. I had redone the setup but I didn’t realize that wasn’t part of the generated php.
Thanks again for all the help!
Offline
Pages: 1