Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-06-14 17:57:23

xbl4814
Member
Registered: 2013-06-14
Posts: 10

Help with Upgrade

First forum post :-)

Just wondering if there is a way we can quickly patch from V 4.0.4 to latest version by just uploading the latest TextPattern files by FTP? This is how we update client Joomla sites.

We have moved an ancient Client TextPattern site from an old server that is about to be decommissioned to one of our new dedicated boxes we use for hosting Joomla/Moodle/Wordpress client sites and we are getting the usual PHP error messages

The site URL is http://gardens-of-argyll.co.uk/

We have tried upgrading using the automated process and this seems to create a duplicate textpattern folder below the original /textpattern folder and trashes the entire site :-)

Many thanks and apologies if this has been covered before

Offline

#2 2013-06-14 19:18:01

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: Help with Upgrade

Uploading the files via ftp is the standard way. I assume your hosting control panel has an installer but you don’t have to use that.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#3 2013-06-14 19:58:57

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Help with Upgrade

Just follow these steps: Detailed upgrading instructions.

Offline

#4 2013-06-15 09:47:15

xbl4814
Member
Registered: 2013-06-14
Posts: 10

Re: Help with Upgrade

Thanks for the tips and we have now upgraded to 4.5.4

However for some inexplicable reason if we update an existing publiched article or write a new article under the events section it is stored in Textpattern but does not display when we view the website

We have tested the News section and this is working fine so haven’t a clue as to what might be causing this problem.

Do you have any ideas?

Offline

#5 2013-06-15 11:00:02

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Help with Upgrade

Sounds like you may have incorrect TXP tags in the page template which is used for Events. You could compare with the page template which is used for the News section.

Also, we sure that in the Sections tab the Events section is publishing to the correct page template.

Offline

#6 2013-06-19 06:45:25

xbl4814
Member
Registered: 2013-06-14
Posts: 10

Re: Help with Upgrade

We imported via a MySQL dump file so would assume all the TXP tags had been ported across correctly and there are a lot of events already listed for 2013 and these are all displaying.

It is just we cannot change the existing entries nor add new events.

However news is working perfectly.

Any other suggestions much appreciated as this is driving us demented trying to fathom what is wrong :-)

Thanks

Offline

#7 2013-06-19 08:02:13

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,529
Website GitHub Twitter

Re: Help with Upgrade

Hi

can you post the code that show events then we can see what could be wrong?

Offline

#8 2013-06-19 08:18:14

xbl4814
Member
Registered: 2013-06-14
Posts: 10

Re: Help with Upgrade

Really appreciate all your help and here is the code for the Events section at http://www.gardens-of-argyll.co.uk/events/

As you can see the events we added before we moved servers are displaying correctly. However if we try and update a current event or add a new one it does nothing! Just ignores the changes we have made.

We inherited this site from another design agency so please excuse our inexperience with Text Pattern

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<meta name="keywords" content="achamore, an cala, ardchattan priory, ardencraig, ardkinglas, ardmaddy castle, ardtornish, arduaine, ascog hall fernery, barguilleans angus, colonsay house, crarae, glenarn, jura house, kilmory woodland, kinlochlaich house, mount stuart torosay castle, benmore botanic, gardens, scottish-gardens, plants, argyll, argyll-gardens, highland, highlands, rhododendrons, azaleas, camellias, horticulture, trees, plants, Benmore, Crarae, Scotlands-gardens-scheme, yellow-book, nts, national-trust-for-scotland," />
<meta name="description" content="The Glorious Gardens of Argyll and Bute consist of 21 Gardens across the west of Scotland" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title><txp:page_title /></title>
<link href="/styles/style.css" rel="stylesheet" type="text/css" />
<!--[if lte IE 7.0]>
<link href="/styles/ie.css" rel="stylesheet" type="text/css" />
<![endif]-->
<script type="text/javascript">var switchTo5x=true;</script><script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script><script type="text/javascript">stLight.options({publisher:'8dbadb7c-da01-4e51-9172-5592b6947951'});</script>
</head>

<body id="event-page">
<script src="http://www.geoplugin.net/javascript.gp" type="text/javascript"></script>
<script src="../cookieControl-5.1.min.js" type="text/javascript"></script>
<script type="text/javascript">//<![CDATA[
  cookieControl({
      introText:'<p>This site uses some unobtrusive cookies to store information on your computer.</p>',
      fullText:'<p>Some cookies on this site are essential, and the site won\'t work as expected without them. These cookies are set when you submit a form, login or interact with the site by doing something that goes beyond clicking on simple links.</p><p>We also use some non-essential cookies to anonymously track visitors or enhance your experience of the site. If you\'re not happy with this, we won\'t set these cookies but some nice features of the site may be unavailable.Some cookies on this site are essential, and the site won\'t work as expected without them. These cookies are set when you submit a form, login or interact with the site by doing something that goes beyond clicking on simple links.</p><p>We also use some non-essential cookies to anonymously track visitors or enhance your experience of the site. If you\'re not happy with this, we won\'t set these cookies but some nice features of the site may be unavailable.</p><p>To control third party cookies, you can also adjust your <a href="http://www.allaboutcookies.org/" target="_blank">browser settings</a>.</p><p>By using our site you accept the terms of our Privacy Policy.</p>',
      position:'right', // left or right
      shape:'triangle', // triangle or diamond
      theme:'dark', // light or dark
      startOpen:true,
      autoHide:6000,
      subdomains:true,
      protectedCookies: [], //list the cookies you do not want deleted ['analytics', 'twitter']
      consentModel:'implicit',
      onAccept:function(){ccAddAnalytics()},
      onReady:function(){},
      onCookiesAllowed:function(){ccAddAnalytics()},
      onCookiesNotAllowed:function(){},
      countries:'United Kingdom,Netherlands' // Or supply a list ['United Kingdom', 'Greece']
      });

  function ccAddAnalytics(){
    jQuery.getScript('http://analytics.robbinsassociates.co.uk/piwik.js', function(){
var pkBaseURL = (("https:" == document.location.protocol) ? "https://analytics.robbinsassociates.co.uk/" : "http://analytics.robbinsassociates.co.uk/");
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 2);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
    });

  };   
   //]]>
</script>

<div id="wrapper">

	<div id="leftcol">
	<h1><a href="/index.php">Glorious Gardens of Argyll &amp; Bute</a></h1>
		<div id="leftnav">
		<h2 id="leftnav_heading">The Gardens</h2>
			<ol>
			<li><a href="/gardens/achamore-gardens.html">Achamore Gardens</a></li>
			<li><a href="/gardens/an-cala.html">An Cala</a></li>
			<li><a href="/gardens/angus-garden.html">Angus Garden</a></li>
			<li><a href="/gardens/ardchattan-priory-garden.html">Ardchattan Priory Garden</a></li>
			<li><a href="/gardens/ardencraig-gardens.html">Ardencraig Gardens</a></li>
			<li><a href="/gardens/ardkinglas-woodland-garden.html">Ardkinglas Woodland Garden</a></li>
			<li><a href="/gardens/ardmaddy-castle-garden.html">Ardmaddy Castle Garden</a></li>
			<li><a href="/gardens/ardtornish.html">Ardtornish</a></li>
			<li><a href="/gardens/arduaine-garden.html">Arduaine Garden</a></li>

			<li><a href="/gardens/benmore-botanic-garden.html">Benmore Botanic Garden</a></li>
			<li><a href="/gardens/crarae-garden.html">Crarae Garden</a></li>
			<li><a href="/gardens/geilston-garden.html">Geilston Garden</a></li>
			<li><a href="/gardens/glenarn.html">Glenarn</a></li>
			<li><a href="/gardens/inveraray-castle-garden.html">Inveraray Castle Garden</a></li>
			<li><a href="/gardens/kinlochlaich-house-gardens.html">Kinlochlaich House Gardens</a></li>
            <li><a href="/gardens/linn_botanic_gardens.html">Linn Botanic Gardens</a></li>
			<li><a href="/gardens/mount-stuart.html">Mount Stuart</a></li>
			<li><a href="/gardens/ascog-hall-fernery-and-garden.html">Ascog Hall Fernery &amp; Garden</a></li>

			</ol>
		</div><!-- close leftnav -->
	</div><!-- close leftcol -->

	<div id="rightcol">

		<div id="topnav">
		<ul>
		<li><a href="/index.php">Home</a></li>
		<li><a href="/map.html">Map</a></li>
		<li><a href="/planning-a-visit.html">Planning a Visit</a></li>
		<li><a href="/news/">News</a></li>
		<li class="current"><a class="current" href="/events/">Events</a></li>
		<li><a href="/links.html">Links</a></li>
		<li><a href="/contact/">Contact</a></li>
		</ul>
		</div><!-- close topnav -->

		<div id="content">

		<div class="inner">
		<h1>Events</h1>
<span  class='st_facebook' ></span><span  class='st_twitter' ></span><span  class='st_google' ></span><span  class='st_instapaper' ></span><span  class='st_email' ></span><span  class='st_sharethis' ></span>

<div id="sidebar">
<txp:zem_event_calendar_nav class="minical_nav"/>
<txp:zem_event_mini_calendar class="minical" class_event="full" class_empty="empty"  />
</div>

<div id="events-info">
<txp:if_article_list>
<txp:zem_event_list>
<h2><txp:zem_event_name /></h2>
<txp:zem_event_description  />
<ul class="event-details">
<txp:zem_event_date label="Date(s)" format="%e %B %Y" wraptag="li" />
<txp:zem_event_finish_date label="to" format="%e %B %Y" wraptag="li"/>

<txp:zem_event_time label="Time" format="%R" wraptag="li" />
<txp:zem_event_finish_time label="to" format="%R" wraptag="li"  />
<txp:zem_event_url label="Link" wraptag="li"  />
<txp:zem_event_email label="Email" wraptag="li"  />
</ul>
</txp:zem_event_list>
<txp:else />
<txp:article section="events" form="events_display" />
</txp:if_article_list>



</div>

		</div>

		<div id="maple-top-left"></div>
		<div id="maple-top-right"></div>
		</div><!-- close content -->

	</div><!-- close rightcol -->




	<div id="footer">
	<p><span><a href="/sitemap.php">Sitemap</a> | <a href="http://www.netresources.co.uk">Web Design: Net Resources</a></span>Copyright &copy; 2007 Glorious Gardens of Argyll &amp; Bute. </p>
	</div><!-- close footer -->



</div><!-- close wrapper -->

</body>
</html>

Last edited by jstubbs (2013-06-19 08:38:16)

Offline

#9 2013-06-19 09:04:50

Dragondz
Moderator
From: Algérie
Registered: 2005-06-12
Posts: 1,529
Website GitHub Twitter

Re: Help with Upgrade

Hi

maybe your problem is related to zem_event plugin : look here

it s an orphaned plugin, there a newer plugin handling events smd_calendar i dont know if its better to change to it or stick with zem_events trying to patch it.

Offline

#10 2013-06-19 09:26:01

xbl4814
Member
Registered: 2013-06-14
Posts: 10

Re: Help with Upgrade

We did wonder if it was an ancient plugin, that was no longer compatible with TP 4.5.4

But then it displays the preloaded events, which were present before we migrated to newer server running latest versions of PHP/MySQL

Offline

Board footer

Powered by FluxBB