Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-06-10 03:25:06

Smotchberry
Member
Registered: 2006-06-10
Posts: 20

Serious Issues Regarding TXP When Migrated to New Platfrom!

Hello All,

I currently use Powweb (powweb.com) as my website hosting plan and recently they have started to migrate the websites they host onto a new platform. After which, serious issues have cropped up on a website that is very important for the business that I help maintain this website for.

Here are some of the issues that have cropped up:
  • Only the home page is displayed – all links on the page point to the home page!
  • While I can access /textpattern/index.php no users (including myself) can log-in to make any changes!

After contacting tech support, they identified that the problem might have to do with the fact that: …Permission in ‘.htaccess’ file is set to redirect the links to ‘index.php’ file. Hence links are not working in your website…

Isn’t this the default behaviour for how textpattern is supposed to behave? After all I haven’t made any changes since the new platform (partially because I couldn’t). I have also tried restoring backups to the way the website was in the old platform to no avail.

I have considered trying to reinstall textpattern – but fear that it might cause me to lose all important data, I have worked on for this website.

Here is the link to my website: http://www.thecompanyofextraordinary.com
Here is a link to a section in my website: http://www.thecompanyofextraordinary.com/services
Here is a link to an article in my website: http://thecompanyofextraordinary.com/brandrepresentation/

As you can see, they all display the same page.

Any help on this issue would be greatly appreciated! Thank you!

Updated: Here is what my .htacess looks like,
<i>#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 ^(.+) – [R,L]

RewriteRule ^(.*) index.php </IfModule></i>

Last edited by Smotchberry (2006-06-10 03:31:37)

Offline

#2 2006-06-10 03:31:13

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Serious Issues Regarding TXP When Migrated to New Platfrom!

Permission in ‘.htaccess’ file is set to redirect the links to ‘index.php’ file. Hence links are not working in your website

That’s not how the shipped .htaccess works (it’s not a redirect at all, it passes the section and page information to index.php), so that’s not the problem.

Don’t reinstall yet, let’s try some other things first. :)

  1. When you say can’t login, what do you mean, exactly?
  2. Can you post your diagnostics tab full output please?

Offline

#3 2006-06-10 03:33:23

Smotchberry
Member
Registered: 2006-06-10
Posts: 20

Re: Serious Issues Regarding TXP When Migrated to New Platfrom!

That’s the problem. I can’t.

I can’t get into the admin panel of textpattern dispite typing in the correct password and user name!

Offline

#4 2006-06-10 03:34:10

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Serious Issues Regarding TXP When Migrated to New Platfrom!

Oh thats right. Back to #1: When you say can’t login, what do you mean, exactly?

Offline

#5 2006-06-10 03:37:17

Smotchberry
Member
Registered: 2006-06-10
Posts: 20

Re: Serious Issues Regarding TXP When Migrated to New Platfrom!

I mean that I can’t log-in into my admin panel. The page simply refreshes back to the log in page with no error dialog or anything. However, the interesting thing is that when I type in the wrong user name and/or password an error dialog does come up.

Offline

#6 2006-06-10 03:38:36

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Serious Issues Regarding TXP When Migrated to New Platfrom!

When your site was migrated to a new server, did your site path change? If so, did you update config.php to the new value?

Offline

#7 2006-06-10 03:43:13

Smotchberry
Member
Registered: 2006-06-10
Posts: 20

Re: Serious Issues Regarding TXP When Migrated to New Platfrom!

Hmm… it could have, how should I go about checking that?

BTW, I just checked my .htacess contents of another textpattern site I have and found that it is different to the one this website has is this normal?

Other website:
<i>#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</i>

the Company of Extraordinary website:
<i>#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 ^(.+) – [R,L]

RewriteRule ^(.*) index.php </IfModule></i>

Offline

#8 2006-06-10 03:45:37

Smotchberry
Member
Registered: 2006-06-10
Posts: 20

Re: Serious Issues Regarding TXP When Migrated to New Platfrom!

This is what is contained in my .config file:
<i><?php
$txpcfg[‘db’] = ‘coeo_textpattern’;
$txpcfg[‘user’] = ‘textuser’;
$txpcfg[‘pass’] = ‘********’;
$txpcfg[‘host’] = ‘mysql15.powweb.com’;
$txpcfg[‘table_prefix’] = ‘’;
$txpcfg[‘txpath’] = ‘/home/users/web/b461/pow.calheq/htdocs/textpattern’;
$txpcfg[‘dbcharset’] = ‘utf8’;
?></i>

This is my server root:
<i>ServerRoot: /home/users/web/b461/pow.calheq/htdocs</i>

Last edited by Smotchberry (2006-06-10 03:46:08)

Offline

#9 2006-06-10 03:48:48

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Serious Issues Regarding TXP When Migrated to New Platfrom!

Hm, well, your host should/would have told you if was changing. So it probably didn’t, but it’s probably still a good idea to ask them about it. Verify that the value for $txpcfg['txpath'] is correct: it should be a path to the “textpattern” folder.

I’m suspecting that is the problem because when you correctly login the page just appears to “refresh”, which is what would happen if the cookie couldn’t be set due to an improper path.

Offline

#10 2006-06-10 03:53:43

Smotchberry
Member
Registered: 2006-06-10
Posts: 20

Re: Serious Issues Regarding TXP When Migrated to New Platfrom!

It is: <i>/home/users/web/b461/pow.calheq/htdocs/textpattern</i>
Which I guess is bad news since it means that it isn’t the problem. :-(

Offline

#11 2006-06-10 03:59:00

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Serious Issues Regarding TXP When Migrated to New Platfrom!

Okay, temporarily remove the .htaccess file. Can you login now?

Offline

#12 2006-06-10 04:03:46

Smotchberry
Member
Registered: 2006-06-10
Posts: 20

Re: Serious Issues Regarding TXP When Migrated to New Platfrom!

No, I still can’t.

Offline

Board footer

Powered by FluxBB