Moved to another server

A place for users and developers of the Xataface to discuss and receive support.

Moved to another server

Postby PolderBoy » Mon Jun 18, 2012 7:46 am

Hello All,

I just moved my database and application folder to an other server.
And changed the variables where necessary.
But now when I log in to app onto the new server the records are still linked to the old server adress.
Mouse over the link and the adress is still the old server.
And when clicked I need to login again, which is normal as I am going to the old server.


And before every link there is a world icon.
Please see screenshot.
How and in which file do solve this?

Thanks in advance.
Brian

Image
PolderBoy
 
Posts: 72
Joined: Fri Apr 03, 2009 12:53 am

Re: Moved to another server

Postby shannah » Wed Jun 20, 2012 10:04 am

Are you using output caching? If so, you'll want to clear the cache. Also make sure you don't have any other places in your application where you hard coded the old url.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Moved to another server

Postby PolderBoy » Wed Jun 20, 2012 2:03 pm

Dear,

Thanks for the reply,
I have searched the forum for clearing a cache and found tree solutions:
1. using: index.php?-table=tblProjects&-refresh-apc=1
2. putting in index.php
define('DATAFACE_EXTENSION_LOADED_APC',false);

3. put into conf.ini
[_output_cache]
enabled=1

1 and 2 give no result
3 if I refresh several times , quickly after each other, it looks that the world icon disappears but the last refresh it comes back.
(if I put a zero in the value, the world icon always stays.
I have trancate the table: _output_cache
I have cleared the templates_c folder as well.
All these I have found on this forum.

No result.

But when I click on a link I have to login again the links are now to the local IP adres of the new server. But not to the name of the server.
so:
xxxxx.com/Beheer/index.php?-table=tblSettings
shows the world icon and:
192.168.178.26/Beheer/index.php?-table=tblSettings
does not show the world icon.
Now I have to admit that this could be the case all along.
So that I have been looking in the wrong place.

I have my own little server running from home. Ubuntu 12.4 with apache2/php/mysql.
I have a name (.nl) which redirects to my ip adres

Maybe this goes beyond the xataface programm but I would like to solve this.

(I am away for a week from tomorrow, please do not think that I am being unpolite. I am on holyday tomorrow.)

Thanks in advance
Brian
PolderBoy
 
Posts: 72
Joined: Fri Apr 03, 2009 12:53 am

Re: Moved to another server

Postby Jean » Wed Jun 20, 2012 11:58 pm

Brian,

I suggest you drop the views in the database and may be you empty the templates_c directory.

Jean
Jean
 
Posts: 259
Joined: Wed Nov 07, 2007 1:30 am
Location: Pau, France

Re: Moved to another server

Postby PolderBoy » Fri Jun 22, 2012 8:59 am

Dear Jean,

I have done that already.
As stated:
I have trancate the table: _output_cache
I have cleared the templates_c folder as well.

But thanks for the reply.

With regards,
Brian
PolderBoy
 
Posts: 72
Joined: Fri Apr 03, 2009 12:53 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 6 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved