Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#18 2011-01-26 02:57:04

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

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

#20 2011-01-26 03:00:51

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

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

#21 2011-01-26 03:05:00

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

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

#23 2011-01-26 03:06:40

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

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

#24 2011-01-26 03:14:22

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

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

#25 2011-01-26 03:21:32

n2
Member
Registered: 2011-01-25
Posts: 56

Re: HELP! Side-bar disappeared

.

Last edited by n2 (2011-01-26 15:23:55)


If code is poetry, I’m a lousy poet.

Offline

#26 2011-01-26 03:25:30

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: HELP! Side-bar disappeared

My mistake — I keep getting confused by the twin textpattern directories. What I want to see is the index.php inside the inner textpattern directory, the one that that also contains include, lib, etc.

But you may want to try commenting out the include './jpcache line. Just be ready to change it back in case this does anything to the public side. I don’t see how it could, but just in case.


Code is topiary

Offline

#27 2011-01-26 03:27:11

n2
Member
Registered: 2011-01-25
Posts: 56

Re: HELP! Side-bar disappeared

Sorry, i missed this question you asked.

Yes, i am able to see all the invisible files, and can see otehrs like the .htaccess files in various folders but the centertamplate folder is indeed completely empty.

jsoo wrote:

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?


If code is poetry, I’m a lousy poet.

Offline

#28 2011-01-26 03:33:08

n2
Member
Registered: 2011-01-25
Posts: 56

Re: HELP! Side-bar disappeared

.

Last edited by n2 (2011-01-26 15:24:11)


If code is poetry, I’m a lousy poet.

Offline

#29 2011-01-26 03:44:58

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: HELP! Side-bar disappeared

What URL were you originally using to log in to the admin side? Was it in fact the public URL + textpattern? I’m thinking it wasn’t, and that there must be some kind of extra DNS redirection going on here. Do you have access to the web hosting account control panel?


Code is topiary

Offline

#30 2011-01-26 03:50:54

n2
Member
Registered: 2011-01-25
Posts: 56

Re: HELP! Side-bar disappeared

.

Last edited by n2 (2011-01-26 15:24:22)


If code is poetry, I’m a lousy poet.

Offline

Board footer

Powered by FluxBB