Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Transferring a site and getting errors
Hi
Thre shouldn be modified files!
first try to upload all textpattern directory files from textpattern repo (the zip downloaded from textpattern.com) that will solve the modified file problem.
for the url i checked your location 176.32.230.27/kro.co.uk/ and still the links are not messy url, maybe the links are hard coded then look at your page tab and form tab to see how things has been coded!
Offline
#32 2013-08-01 17:46:48
- tayfighter
- Member
- Registered: 2013-07-15
- Posts: 23
Re: Transferring a site and getting errors
Hi
I havent modified anything apart from the config.php file
I’ve changed it to messy url but looking in the forms the pages are like this
<a href=”<txp:site_url />kro-social-news-events-promotions” title=“KRO Bar Social”>News & Offers</a>
however I have specified the site)url to be 176.32.230.27/kro.co.uk
So still not sure what i’m missing?
Offline
Re: Transferring a site and getting errors
hi
I didnt say that you mofided something but the files are marked as modified then try uplaoding the textpattern folder from the textpattern.com to solve that.
Four your code it is hardcoded to change that use a code like this:
<txp:section name="kro-social-news-events-promotions">News & Offers</txp:section>
The title information will not be there but the link will works with any url scheme.
try it.
Offline
#34 2013-08-11 13:50:52
- tayfighter
- Member
- Registered: 2013-07-15
- Posts: 23
Re: Transferring a site and getting errors
Have updated and upgraded my version of textpattern.
Sorry, i’m not sure where i change that.
Is it under Pages > Article Output ?
At the moment this is what I have here
<txp:output_form form=“html_head” />
<body>
<div id=“wrapper”>
<div id=“all”>
<div id=“no-css-nav” style=“display:none;”>
<h1>Welcome to …</h1>
<h2>Accessibility Links</h2>
<ul>
<li><a href=”<txp:site_url />access” title=“View Accessibility Page”>Accessibility Page</a></li>
<li><a href=”#navigation”>Skip to Navigation</a></li>
<li><a href=”#content”>Skip to Content</a></li>
</ul>
</div>
<txp:output_form form=“layout_header” />
<txp:if_section name=”,home”>
<div id=“home”>
</txp:if_section>
<txp:if_section name=“about-kro”>
<div id=“contentAbout” class=“contentContainer”>
</txp:if_section>
<txp:if_section name=“kro-piccadilly,kro-piccadilly-promotions”>
<div id=“contentPiccadilly” class=“contentContainer”>
</txp:if_section>
<txp:if_section name=“kro-bar,kro-bar-promotions”>
<div id=“contentBar” class=“contentContainer”>
</txp:if_section>
<txp:if_section name=“kro-heaton-moor,kro-heaton-moor-promotions”>
<div id=“contentHeaton” class=“contentContainer”>
</txp:if_section>
<txp:if_section name=“kro-trafford-centre,kro-trafford-centre-promotions”>
<div id=“contentTrafford” class=“contentContainer”>
</txp:if_section>
<txp:if_section name=“kro-social-news-events-promotions,promotions,news-events,special-offers”>
<div id=“contentSocial” class=“contentContainer”>
</txp:if_section>
<txp:if_section name=“bar-locations”>
<div id=“contentLocations” class=“contentContainer”>
</txp:if_section>
<txp:if_section name=“sitemap”>
<div id=“contentSitemap” class=“contentContainer”>
</txp:if_section>
<txp:if_section name=“terms-and-conditions,privacy-policy,disclaimer”>
<div id=“contentSitedocs” class=“contentContainer”>
</txp:if_section>
<a name=“content”></a>
<txp:output_form form=“layout_content” />
<div class=“clear” ></div>
</div>
<div class=“clear”></div>
<txp:output_form form=“layout_footer” />
</div>
</div><!—all—>
<txp:output_form form=“layout_subfooter” />
<div class=“clear” ></div>
<txp:output_form form=“analytics_code” />
</body>
</html>
The about page seems to now work using a messy url but the other pages still don’t seem to work.
Thanks for the help so far.
Offline
Re: Transferring a site and getting errors
Hi
viewing your page look like the informations to change are on form tab (on textpattern admin), i think it should be on layout_header or layout_content form.
Offline
#36 2013-08-14 11:01:24
- tayfighter
- Member
- Registered: 2013-07-15
- Posts: 23
Re: Transferring a site and getting errors
Hi
Still unsure what i change.
I’ve copied the site over exactly, so not sure why its not working when the existing site is.
Is it possible the site will work once its off a test server / domain?
Thanks
Ty
Offline
Re: Transferring a site and getting errors
Hi
yes if the url is rewrited in the production server the links should works without changing anything.
Offline
#38 2013-08-15 21:56:03
- tayfighter
- Member
- Registered: 2013-07-15
- Posts: 23
Re: Transferring a site and getting errors
Hi
One last go as I have to switch hosting this week
I’ve tried all i can.
I’m guessing the urls are hard coded but i’m not sure what to change.
When changing to messy url the more link under the about drop down works, but all the other links don’t.
The current site works fine > www.kro.co.uk
Also under diagnostics > Textpattern path: /home/sites/kro.co.uk/public_html/textpattern
Is wrong, can this be changed?
Textpattern version: 4.5.4 (r4919)
Last Update: 2013-08-15 21:14:53/2013-08-15 21:14:37
Document root: /var/www/html
$path_to_site: /home/sites/kro.co.uk/public_html
Textpattern path: /home/sites/kro.co.uk/public_html/textpattern
Permanent link mode: section_title
Temporary directory path: 176.32.230.27/kro.co.uk/textpattern/tmp/
Site URL: 176.32.230.27/kro.co.uk
PHP version: 5.3.26
GD Image Library: bundled (2.1.0 compatible); supported formats: GIF, JPG, PNG.
Server TZ: Europe/London
Server Local Time: 2013-08-15 22:51:30
DST enabled?: 0
auto_dst: 0
Time Zone: (+3600)
MySQL: 5.5.31
Server: Apache/2.4.6 (Unix)
PHP Server API: cgi-fcgi
RFC 2616 headers: 0
Active plugins: ako_nav-1.0, chh_if_data-0.10, zem_contact_lang-4.0.3.03, zem_contact_reborn-4.0.3.17, ob1_pagination-2.5, hak_article_image-0.6.3, rss_auto_excerpt-0.5, rvm_substr-0.3, glz_custom_fields-1.1.3m, rss_admin_show_adv_opts-0.3
Admin-side theme: classic 4.5.4
Pre-flight check:
Web Domain DNS lookup fails: 176.32.230.27
File directory path is not writable: 176.32.230.27/kro.co.uk/files/
Temporary directory path is not writable: 176.32.230.27/kro.co.uk/textpattern/tmp/
/home/sites/kro.co.uk/public_html/textpattern/setup/ still exists
Clean URL test failed.
.htaccess file contents:
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default
<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /relative/web/path/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^(.+) - [PT,L]
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*) index.php
RewriteCond %{HTTP:Authorization} !^$
RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>
#php_value register_globals 0
# SVG
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
Thanks if you can help.
{Edited to add some Textile for better readability. – Uli}
Last edited by uli (2013-08-15 22:31:12)
Offline
#39 2013-08-15 22:34:33
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,319
Re: Transferring a site and getting errors
I strongly assume it’s the plugin ako_nav.
Does ako_nav have preferences? Look on either
• Admin > Preferences > Advanced (there might be an additional input field created by ako)
or
• Admin > Extensions.
The latter isn’t a page on its own, you have to look there for any page that sounds like ako_nav might have created it.
If you find no traces on neither of these two, there’s a last possibility that the agency before you has hardcoded the links in ako_nav:
• Admin > Plugins: click on ako_nav’s name, search the plugin code.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#40 2013-08-16 10:15:40
- tayfighter
- Member
- Registered: 2013-07-15
- Posts: 23
Re: Transferring a site and getting errors
Thanks.
That plugin is installed.
However i cant seem to view any of the plugins in the admin area.
Also the path to site seem sto keep reverting to the old url.
Any ideas?
Last edited by tayfighter (2013-08-16 10:16:33)
Offline
#41 2013-08-16 10:44:03
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,319
Re: Transferring a site and getting errors
tayfighter wrote:
That plugin is installed.
Yup. You posted that.
However i cant seem to view any of the plugins in the admin area.
In case this isn’t a misunderstanding: Absolutely unusual. Please post screenshots where you’d expect to view what.
Also the path to site seem sto keep reverting to the old url.
Where exactly, this time?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#42 2013-08-16 12:08:21
- tayfighter
- Member
- Registered: 2013-07-15
- Posts: 23
Re: Transferring a site and getting errors
Screenshot here >
http://44media.com/artwork/Screen Shot 2013-08-16 at 13.03.19.png
The path to site keeps reverting to the old url in the mysql database
path_to_$site
Offline
#43 2013-08-16 12:20:06
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,319
Re: Transferring a site and getting errors
When you switch from that empty plugins panel to the diagnostics page: Is there ako_nav listed? Or is this by any accident a different installation?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#44 2013-08-16 13:08:39
- tayfighter
- Member
- Registered: 2013-07-15
- Posts: 23
Re: Transferring a site and getting errors
Hi
Yes its listed in the diagnostics and can also see it in the MySQL database.
But for some reason it is not displaying in the admin area.
Offline
#45 2013-08-16 15:04:42
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,319
Re: Transferring a site and getting errors
- Empty Plugin page in the TXP Admin
- Frontside links not working
- Path to site doesn’t keep its entry
- Are there any more issues? Please mention them, this topic is damn old and at least I have lost what is actual and what’s resolved.
As you can’t deactivate plugins one by one, you have to turn them off with one cut. Open Admin > Preferences > Advanced. Scroll down til you see “Use plugins”. Switch that radio to off, press save, then go check whether that changed any of the above issues. If so, write the changes down, and turn plugins back on.
As the next step visit PHPmyAdmin, open the txp_plugin table and turn off ako_nav, i.e. change its “status” entry from 1 to 0. (To say it clearly: this is not the standard Textpattern way of deactivating plugins.) Check what happened, then please post all the results.
Last edited by uli (2013-08-16 15:07:14)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline