Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: HELP! Side-bar disappeared
I suspect this has to do with having the entire site inside a directory named “textpattern”.
Code is topiary
Offline
#14 2011-01-26 02:47:05
- n2
- Member
- Registered: 2011-01-25
- Posts: 56
Re: HELP! Side-bar disappeared
.
Last edited by n2 (2011-01-26 15:22:45)
If code is poetry, I’m a lousy poet.
Offline
Re: HELP! Side-bar disappeared
Is there in fact a directory called ‘centertemplate’ where the txpath
indicates?
Code is topiary
Offline
#16 2011-01-26 02:51:35
- n2
- Member
- Registered: 2011-01-25
- Posts: 56
Re: HELP! Side-bar disappeared
.
Last edited by n2 (2011-01-26 15:22:28)
If code is poetry, I’m a lousy poet.
Offline
#17 2011-01-26 02:55:42
- n2
- Member
- Registered: 2011-01-25
- Posts: 56
Re: HELP! Side-bar disappeared
Yes, but it is just an empty folder…
jsoo wrote:
Is there in fact a directory called ‘centertemplate’ where the
txpath
indicates?
If code is poetry, I’m a lousy poet.
Offline
Re: HELP! Side-bar disappeared
What seems to be happening is that when you try to log in, the public-side index.php is loading instead.
You didn’t by any chance move index.php files around?
Code is topiary
Offline
#19 2011-01-26 03:00:47
- n2
- Member
- Registered: 2011-01-25
- Posts: 56
Re: HELP! Side-bar disappeared
#
Last edited by n2 (2011-01-26 15:08:18)
If code is poetry, I’m a lousy poet.
Offline
Re: HELP! Side-bar disappeared
n2 wrote:
Yes, but it is just an empty folder…
Must be some kind of link or alias in it, I would guess. Or an .htaccess file. Are you using an FTP view that shows invisible files?
Code is topiary
Offline
Re: HELP! Side-bar disappeared
Possibly; yes.
Is there a way to append the index.file to correct the problem…?
Possibly, but this is a guess. On line 20 of the admin-side index.php file (!!!EXTREMELY IMPORTANT THAT YOU HAVE THE CORRECT INDEX.PHP FILE!!!), which reads:
define("txpath", dirname(__FILE__));
replace dirname(__FILE__)
with the full txpath
, hence:
define("txpath", ‘/home/serling/public_html/centertemplate/textpattern’);
Again, I am guessing, and this is a hack-ish approach to take.
Code is topiary
Offline
#22 2011-01-26 03:05:16
- n2
- Member
- Registered: 2011-01-25
- Posts: 56
Re: HELP! Side-bar disappeared
.
Last edited by n2 (2011-01-26 15:23:36)
If code is poetry, I’m a lousy poet.
Offline
Re: HELP! Side-bar disappeared
Please post the full contents of the /textpattern/index.php file. Pretty clearly you are using a modified version of it.
Code is topiary
Offline
Re: HELP! Side-bar disappeared
And don’t panic. The site is still there; we’ll figure this out. I know, it’s missing the sidebar. jpcache may be involved.
Code is topiary
Offline