Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2011-08-01 15:00:58
- RipvanFish
- Member
- Registered: 2009-07-09
- Posts: 35
path_to_site is resetting itself in MySQL table ?!
Hi there,
i moved my Textpattern installation, and changed all path’s in the admin tab.
The last problem occuring was in the diagnosis tab:
“path_to_site is not reachable: /my/path/to/my/installation/some_name/http/docs”.
“/my/path/to/my/installation/some_name/http/docs”
was my old path and i changed it to
“/my/path/to/my/installation/some_NEW_name/http/docs”.
To fix that warning I changed the path in the txp_pref table using myPHPadmin to “ /my/path/to/my/installation/some_NEW_name/http/docs”.
Everything is working fine then, but after a couple of minutes, Textpattern seems to reset that db entry by itself.
Can you guys tell me how to prevent textpattern from doing so?
regards,
ripvanfish
Offline
Re: path_to_site is resetting itself in MySQL table ?!
If txpath is set in /textpattern/config.php, try removing it there.
Offline
#3 2011-08-01 15:50:18
- RipvanFish
- Member
- Registered: 2009-07-09
- Posts: 35
Re: path_to_site is resetting itself in MySQL table ?!
txpath was set right. I removed it anyways, it contains now an empty string.
I searched the files and the old folder or path could not be found.
How is that even possible? It’s not in the files, it’s not in the DB.
Offline
#4 2011-08-01 15:58:06
- RipvanFish
- Member
- Registered: 2009-07-09
- Posts: 35
Re: path_to_site is resetting itself in MySQL table ?!
Took some minutes, but now it’s the old value again.
I really need help on this, I think I’m going nuts.
I searched ALL files and changed the db-entry by myself.
How the **** is that possible?
I had a look at the code and I think it has to be the updatepathside() function, i just don’t understand where it’s getting that value from!
http://phpxref.com/xref/textpattern/textpattern/lib/txplib_misc.php.source.html#l997
Last edited by RipvanFish (2011-08-01 16:01:17)
Offline
Re: path_to_site is resetting itself in MySQL table ?!
You don’t still have TXP running at the old path and using the same database do you?
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#6 2011-08-01 17:37:14
- RipvanFish
- Member
- Registered: 2009-07-09
- Posts: 35
Re: path_to_site is resetting itself in MySQL table ?!
MattD schrieb:
You don’t still have TXP running at the old path and using the same database do you?
Dear Sir,
I am not stupid, so I already checked that and I am, of course, not still running the old installation which is messing up my database. [1]
Thanks alot for your help! Thread can be closed :)
[1] The above mentioned content is NOT true.
Last edited by RipvanFish (2011-08-01 17:38:51)
Offline