Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Error after moving site to another server
I got the following error after moving site to another web server:
Upgrade TXP to at least 4.0.5 or put jquery.js in your /textpattern folder.
But jquery.js is in the /textpattern folder, and the version is 4.0.6.
Any suggestions?
Thanks!
PS. whole site is in subdirectory, but it was also in subdir in the first place
Last edited by AndrijaM (2008-05-21 10:11:37)
Offline
Re: Error after moving site to another server
Did you check your prefernces for right paths?
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: Error after moving site to another server
I cant get in the preferences. Only I can change config.php file and the txp path there:
$txpcfg[‘txpath’] = ‘/usr/local/www/vhosts/mysite.com/httpdocs/subdir/textpattern’;
should be right.
Last edited by AndrijaM (2008-05-21 10:19:41)
Offline
#4 2008-05-21 10:39:57
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: Error after moving site to another server
AndrijaM wrote:
I got the following error after moving site to another web server:
Upgrade TXP to at least 4.0.5 or put jquery.js in your /textpattern folder.
But jquery.js is in the /textpattern folder, and the version is 4.0.6.
Have you installed glz_custom_field plugin?
In my case I believe this is causing the message. I solve it this way (not a rational way but it works for me):
type in the address bar something like www.yoursite/textpattern/index.php?event=article and all will be back to normality (hope it ‘ll work for you too)
Offline
Re: Error after moving site to another server
Yes, I have glz_custom_field instaled.
Your way didnt help me :(
Offline
#6 2008-05-21 10:53:02
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: Error after moving site to another server
AndrijaM wrote:
Yes, I have glz_custom_field instaled.
Your way didnt help me :(
mmh… and with “www.yoursite/textpattern/index.php?event=plugin”?
At least this way you should be able to access the plugin tab, disable glz temporarily and play with settings.
Another thing. Have you tried with a force reload of the page?
Offline
Re: Error after moving site to another server
No, but I think I know what could I do.
In my prefs tab on old server, on site url I have the adress of the old site with subdirectory:
oldsite.com/subdir
I guess I can try to change that path on the old site, then upload again and see what happens.
I know I have to change all this, but I tought when I get to admin tab on new server I’ll do it. Maybe this is the problem?
Offline
#8 2008-05-21 11:14:07
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: Error after moving site to another server
It seems to me too complicated.
1) I repeat: have you tried with: “www.yoursite/textpattern/index.php?event=plugin”?
2) have you checked your .htaccess file? if you’re on a subdirectory it should have
RewriteBase /yoursubdir
Last edited by redbot (2008-05-21 11:14:28)
Offline
Re: Error after moving site to another server
1. Yes, I’ve tried, no luck.
2. just check .htaccess file, it was something else there, but now I entered like RewriteBase /yoursubdir, but still the same.
Upgrade TXP to at least 4.0.5 or put jquery.js in your /textpattern folder. jQuery website
Offline
#10 2008-05-21 11:38:44
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: Error after moving site to another server
AndrijaM wrote:
2. just check .htaccess file, it was something else there, but now I entered like RewriteBase /yoursubdir, but still the same.
Sorry if I’m pedantic but I have to ask: did you delete the # sign before rewritebase?
And then the last (desperate) try: wich version of the plugin do you have?
I remember that if I used the first version of glz with the last version of jquery it was givin me the same message.
In this case try uploading an older version of jquery and once the site is working update the plugin.
If this doesn’t work I’m sorry you must wait for a best suggestion
Offline
Re: Error after moving site to another server
^ did you delete the # sign before rewritebase?
Not at first, but then I remembered :)
I use jQuery 1.2.2, and glz 1.1.3? You think I should try some older version of jQuery?
Thanks for helping out!
Offline
#12 2008-05-21 12:01:08
- redbot
- Plugin Author
- Registered: 2006-02-14
- Posts: 1,410
Re: Error after moving site to another server
No, with this version it should work.
Anyway I’m sure it’s some really silly thing.
As I said it happened to me dozens of times and in a way or another I always managed to solve it.
for a very last try (I’m going random here) have you tried clearing the cache of your browser?
Last edited by redbot (2008-05-21 12:01:58)
Offline