Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Articles not displaying, sections blank, slideshow not working, etc...
Yeah, very sorry! Should’ve previewed before posting!
www.kimstewart.co.uk
Offline
#17 2011-03-17 00:19:13
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,319
Re: Articles not displaying, sections blank, slideshow not working, etc...
What happens when you remove the duplicate </txp:if_section> from the page’s second line?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Articles not displaying, sections blank, slideshow not working, etc...
I lose everything!
www.kimstewart.co.uk
Offline
#19 2011-03-17 00:23:52
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,319
Re: Articles not displaying, sections blank, slideshow not working, etc...
??
What can be less than a blank page?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#20 2011-03-17 00:25:10
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,319
Re: Articles not displaying, sections blank, slideshow not working, etc...
Did you really remove only one of the if_section tags?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Articles not displaying, sections blank, slideshow not working, etc...
check it out <a href=“http://www.fonmedia.co.uk/” </a>
www.kimstewart.co.uk
Offline
Re: Articles not displaying, sections blank, slideshow not working, etc...
Yup…
before :
bc.. <txp:output_form form=“meta” />
<body id=”<txp:if_section name=”“>front<txp:else /><txp:section /></txp:if_section>”>
after:
bc.. <txp:output_form form=“meta” />
<body id=”<txp:if_section name=”“>front<txp:else /><txp:section />”>
www.kimstewart.co.uk
Offline
Re: Articles not displaying, sections blank, slideshow not working, etc...
have changed it back now…
www.kimstewart.co.uk
Offline
Re: Articles not displaying, sections blank, slideshow not working, etc...
Ok… let’s go to bed and leave this till tomorrow or something?
For tomorrow, my diagnostics may help:
Textpattern version: 4.3.0 (r3451)
Last Update: 2011-03-16 14:15:53/2011-03-16 14:06:18
Document root: /home/fonmedia/public_html
$path_to_site: /home/fonmedia/public_html
Textpattern path: /home/fonmedia/public_html/textpattern
Permanent link mode: section_id_title
Temporary directory path: /home/fonmedia/public_html/textpattern/tmp
Site URL: www.fonmedia.co.uk
PHP version: 5.2.9
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server TZ: Europe/London
Server Local Time: 2011-03-17 00:31:21
DST enabled?: 0
Automatically adjust DST setting?: 0
Time Zone: Europe/London (0)
MySQL: 5.0.91-community
Locale: en_GB.UTF-8
Server: Apache
PHP Server API: cgi
RFC 2616 headers: 0
Server OS: Linux 2.6.31.9-grsec-VISION
Active plugins: adi_contact-0.3, zem_contact_reborn-4.0.3.20, zem_contact_lang-4.0.3.6, rvm_if_this_article-0.1, the_video-0.7, ebl-image-edit-1.0, upm_image-0.6.2, stm_javascript-0.3, smd_admin_themes-0.26, smd_where_used-0.30
Admin-side theme: classic 1.3
Pre-flight check:
------------------------
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: proc_close, proc_get_status, proc_nice, proc_terminate, escapeshellcmd, define_syslog_variables, posix_uname, posix_getpwuid, apache_child_terminate, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, posix_setuid, escapeshellarg, posix_uname, ftp_exec, ftp_connect, ftp_login, ftp_get, ftp_put, ftp_nb_fput, ftp_raw, ftp_rawlist, ini_alter, ini_restore, inject_code, syslog, openlog, define_syslog_variables, apache_setenv, mysql_pconnect, eval, phpAds_remoteInfo, fp, fput
------------------------
.htaccess file contents:
------------------------
------------------------
Charset (default/config): latin1/utf8
character_set_client: utf8
character_set_connection: utf8
character_set_database: latin1
character_set_filesystem: binary
character_set_results: utf8
character_set_server: latin1
character_set_system: utf8
character_sets_dir: /usr/share/mysql/charsets/
18 Tables: txp_js is latin1
10 Custom Fields: custom_1, custom_2, custom_3, custom_4, custom_5, custom_6, custom_7, custom_8, custom_9, custom_10 (10)
PHP extensions: zip/1.8.11, libxml, xsl/0.1, xmlwriter/0.1, xmlrpc/0.51, dom/20031129, xmlreader/0.1, xml, wddx, tokenizer/0.1, tidy/2.0, session, pcre, SimpleXML/0.1, sockets, soap, SPL/0.2, standard/5.2.9, Reflection/0.1, posix, mysqli/0.1, mysql/1.0, mime_magic/0.1, mhash, mcrypt, mbstring, json/1.2.1, imap, iconv, hash/1.0, gettext, gd, ftp, filter/0.11.0, exif/1.4 $Id: exif.c,v 1.173.2.5.2.27 2008/12/31 11:17:37 sebastian Exp $, dbase, date/5.2.9, curl, ctype, calendar, bz2, bcmath, zlib/1.1, openssl, cgi, PDO/1.0.4dev, pdo_sqlite/1.0.1, SQLite/2.0-dev, imagick/2.2.2, pdo_mysql/1.0.2, ionCube Loader, Zend Optimizer
/home/fonmedia/public_html/index.php:
r3189 (b58ca188e05a48b31d1025d61e026725)
/home/fonmedia/public_html/css.php:
r3189 (5e7fe7ea948c7e9ec2e56e34a01f4bb6)
/home/fonmedia/public_html/textpattern/css.php:
r3189 (4e131ff20d1da3e20b2c629292138653)
/home/fonmedia/public_html/textpattern/include/import/import_b2.php:
r3446 (e05c2808566822ed4a6e525ee4bc4192)
/home/fonmedia/public_html/textpattern/include/import/import_blogger.php:
r3446 (2096da3f746152301620e18a4ccfe0f8)
/home/fonmedia/public_html/textpattern/include/import/import_mt.php:
r3446 (f0be9ce384eec112f8e70687458173cc)
/home/fonmedia/public_html/textpattern/include/import/import_mtdb.php:
r3446 (c8f07f5a6db990382e4a30a1d57333e6)
/home/fonmedia/public_html/textpattern/include/import/import_wp.php:
r3446 (0740155a2d06657893acc7c7d968770d)
/home/fonmedia/public_html/textpattern/include/txp_admin.php:
r3386 (ffb4129e774cfbb8643c2e05f37f3507)
/home/fonmedia/public_html/textpattern/include/txp_article.php:
r3440 (db97df274f245047f305ff75b1e20560)
/home/fonmedia/public_html/textpattern/include/txp_auth.php:
r3374 (a7f13cd308c5c500105f2b5994cc3aad)
/home/fonmedia/public_html/textpattern/include/txp_category.php:
r3374 (5af7cf31692bb2213f93babfef5a6657)
/home/fonmedia/public_html/textpattern/include/txp_css.php:
r3379 (88587e0dc2d159be4e521dbf33de7bb7)
/home/fonmedia/public_html/textpattern/include/txp_diag.php:
r3446 (1903c263988e7ce4d705e5f0d7ee5bdf)
/home/fonmedia/public_html/textpattern/include/txp_discuss.php:
r3374 (ec56dc03cb9ac06f5f026d0a3daf3bac)
/home/fonmedia/public_html/textpattern/include/txp_file.php:
r3416 (3159e53e1f35099257be71fe85adf021)
/home/fonmedia/public_html/textpattern/include/txp_form.php:
r3382 (e6574a6280585918bd7d4c6d202c3b85)
/home/fonmedia/public_html/textpattern/include/txp_image.php:
r3441 (9a93e09c68754dd10f1dc007914652d9)
/home/fonmedia/public_html/textpattern/include/txp_import.php:
r3374 (3dbc737eaa1def0771d76344ff7fb116)
/home/fonmedia/public_html/textpattern/include/txp_link.php:
r3374 (bb85e92bc8df2363676817a10c0d5801)
/home/fonmedia/public_html/textpattern/include/txp_list.php:
r3374 (88af3230cf8dc28747b10a1fea20800a)
/home/fonmedia/public_html/textpattern/include/txp_log.php:
r3374 (acb6773311e80fbf87a38587c99a7d2d)
/home/fonmedia/public_html/textpattern/include/txp_page.php:
r3379 (92d4d3d0dd9d6ef46fb6e1fdb6d1b0b1)
/home/fonmedia/public_html/textpattern/include/txp_plugin.php:
r3374 (d73a4547e590fc476279278fa8aeb391)
/home/fonmedia/public_html/textpattern/include/txp_prefs.php:
r3445 (959c2a15daf42c8c6da5957b98b0213d)
/home/fonmedia/public_html/textpattern/include/txp_preview.php:
r1238 (d55a3df200602c69eb65c72dc8ad7477)
/home/fonmedia/public_html/textpattern/include/txp_section.php:
r3374 (d496b080b90519a9a6e180b0fd0451f8)
/home/fonmedia/public_html/textpattern/include/txp_tag.php:
r3444 (b8634c90e7ea16c60d1370a867e91626)
/home/fonmedia/public_html/textpattern/index.php:
r3451 (dd519f665b0ffb952246f5d91170134c)
/home/fonmedia/public_html/textpattern/jquery.js:
unknown (e4958bd2e32d9fcd6115a585ed17a9cc)
/home/fonmedia/public_html/textpattern/lib/IXRClass.php:
r3394 (f8621cd5f0f36c69360aa2033e4065af)
/home/fonmedia/public_html/textpattern/lib/admin_config.php:
r3386 (6b2b6db38da2baa82f5557a6e29bad97)
/home/fonmedia/public_html/textpattern/lib/class.thumb.php:
r3301 (6ca1ad88082438f88cae6416dcb29822)
/home/fonmedia/public_html/textpattern/lib/classTextile.php:
r3438 (734d0ebd2f9e7c4c84bf93bf5cde5d58)
/home/fonmedia/public_html/textpattern/lib/constants.php:
r3318 (a2b38baeb4ba77f9dfdd4ad71e277549)
/home/fonmedia/public_html/textpattern/lib/taglib.php:
r2868 (c9676967585577f0a0b329803761d516)
/home/fonmedia/public_html/textpattern/lib/txplib_admin.php:
r3047 (d5211ebfac4f3b6d00f22d459f3cdf69)
/home/fonmedia/public_html/textpattern/lib/txplib_db.php:
r3389 (3324a5dab30f68bda3fa7218514f91b7)
/home/fonmedia/public_html/textpattern/lib/txplib_forms.php:
r3372 (447c117e7072a73e67ebe2dc41fe46ee)
/home/fonmedia/public_html/textpattern/lib/txplib_head.php:
r3388 (e59cdf9aa24c4d2fb88d0d45076be68e)
/home/fonmedia/public_html/textpattern/lib/txplib_html.php:
r3372 (17041abcc0779d22a6224feb8dfd3492)
/home/fonmedia/public_html/textpattern/lib/txplib_misc.php:
r3437 (b9de32008e7a9ac596e637d993aab37e)
/home/fonmedia/public_html/textpattern/lib/txplib_theme.php:
r3388 (99262eb207d3b49a343ad4b5c1dd3e64)
/home/fonmedia/public_html/textpattern/lib/txplib_update.php:
r2812 (54d6fa23f3f3fc5c2cb31262c6aa343f)
/home/fonmedia/public_html/textpattern/lib/txplib_wrapper.php:
r2931 (22f292521a595090b46300354db6df57)
/home/fonmedia/public_html/textpattern/publish.php:
r3433 (3469e21a32b2411d56e57701baf296f6)
/home/fonmedia/public_html/textpattern/publish/atom.php:
r3399 (9a4eeebe17b8c833bc382b6287fbb168)
/home/fonmedia/public_html/textpattern/publish/comment.php:
r3395 (8a55386ccfd856bd5df68c84058e5ba0)
/home/fonmedia/public_html/textpattern/publish/log.php:
r3247 (257c3a247f0ca6a21513beb2f09d76c6)
/home/fonmedia/public_html/textpattern/publish/rss.php:
r3399 (da9ab0c78c57b4169a360dfa0aa6c753)
/home/fonmedia/public_html/textpattern/publish/search.php:
r2812 (22762b20f6281fd132248ec42e5ee9af)
/home/fonmedia/public_html/textpattern/publish/taghandlers.php:
r3443 (e9a2a51863fd241cd8e7e8c0785120ab)
/home/fonmedia/public_html/textpattern/textpattern.js:
r3369 (b87b0a897cc2259aa5132da030764c9d)
/home/fonmedia/public_html/textpattern/theme/classic/classic.php:
r3191 (8af2d7091676308c93021843c629812d)
/home/fonmedia/public_html/textpattern/update/_to_1.0.0.php:
r3047 (8aa7c3d82aad8df47adf96e92f124137)
/home/fonmedia/public_html/textpattern/update/_to_4.0.2.php:
r3047 (81324dcf9bed59bacd73789c2b650305)
/home/fonmedia/public_html/textpattern/update/_to_4.0.3.php:
r3047 (c237b669e57b7fe0ea2f8c7cc9d69557)
/home/fonmedia/public_html/textpattern/update/_to_4.0.4.php:
r3047 (d3e62265ff5ad36a8a7de23e6148f6f9)
/home/fonmedia/public_html/textpattern/update/_to_4.0.5.php:
r2894 (7f5fe789f58a202e23c1b430a2659110)
/home/fonmedia/public_html/textpattern/update/_to_4.0.6.php:
r3047 (687e230c2c6a46a6c73d3e97ee368d92)
/home/fonmedia/public_html/textpattern/update/_to_4.0.7.php:
r3014 (fa83153d09e2e533ce41f69799b90f5c)
/home/fonmedia/public_html/textpattern/update/_to_4.0.8.php:
r3057 (26d76a86cb95757355958e06b6063afe)
/home/fonmedia/public_html/textpattern/update/_to_4.2.0.php:
r3233 (9bd2be46df10e2f0561634a2de4cdc63)
/home/fonmedia/public_html/textpattern/update/_to_4.3.0.php:
r3304 (0f57c27668c4f791530830d92b146dde)
/home/fonmedia/public_html/textpattern/update/_update.php:
r3451 (9d15292f6117490393ff999cd052027e)
------------------------
www.kimstewart.co.uk
Offline
#25 2011-03-17 00:36:03
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,319
Re: Articles not displaying, sections blank, slideshow not working, etc...
Yup, bit late here. In the page:
<txp:js n=“slideshow” /> is a potential trap. The tag doesn’t exist, or you tried Bloke’s brand new macro plugin. Probably not
But the real problem might be this here:
<img src=”<txp:http://www.fonmedia.co.uk/images/{id#1}.jpg”
alt=”{alt#1}” width=”{width#1}” height=”{height#1}” />
Remove <txp: from it.
Last edited by uli (2011-03-17 00:37:18)
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#26 2011-03-17 00:38:02
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,319
Re: Articles not displaying, sections blank, slideshow not working, etc...
Ouch, removed the txp part myself instead of just copying.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Articles not displaying, sections blank, slideshow not working, etc...
<txp:js n=“slideshow” />
That was using stm_javascript with Aeron Glemann’s slideshow js…
removing both above and <txp: did nothing…
Sleep beckons… till tomorrow. Cheers for your help.
Last edited by kstewart (2011-03-17 00:42:47)
www.kimstewart.co.uk
Offline
#28 2011-03-17 00:49:55
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,319
Re: Articles not displaying, sections blank, slideshow not working, etc...
Form gallery:
Remove <txp:txp: from the image path.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
#29 2011-03-17 00:55:16
- uli
- Moderator

- From: Cologne
- Registered: 2006-08-15
- Posts: 4,319
Re: Articles not displaying, sections blank, slideshow not working, etc...
Form footer opens 7 divs and closes 3. Might be OK, but I fear it’s not.
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Articles not displaying, sections blank, slideshow not working, etc...
The page code is, forgive me, a complete mess.
<div id="head">
<div class="slideshow">
<ul class="section_list">
<li><a class="active" href="http://www.fonmedia.co.uk/">Home</a></li>
<li><a href="http://www.fonmedia.co.uk/our_work/">Our Work</a></li>
<li><a href="http://www.fonmedia.co.uk/our_people/">Our People</a></li>
<li><a href="http://www.fonmedia.co.uk/contact_us/">Contact Us</a></li>
</ul>
</div>
which duplicates the code further down. You must remove the <div class="slideshow"> tag.
I’m assuming that the very last closing </div> near the bottom of the page is to close the container but just above that you have:-
<div id="content">
<div id="gallery" class="content">
<div id="slideshow" class="slideshow"></div>
<div id="controls"></div>
<div id="caption" class="embox"></div>
<!-- footer -->
<div id="foot" >
<div align="left">
<div class="span-5">
<p>288 A BURTON ROAD DIDSBURY</p>
<p>GREAT MANCHESTER</p>
<p>M20 2NB</p>
<div align="center">
<div class="span-21">
<p>Tel +44 7580 792703</p>
<p>glyn@fonmedia.co.uk</p>
<div align="right">
<div class="span-22 last">
<p>Registered No. 7444194</p>
</div>
</div>
</div>
<div id="content"> and <div id="gallery" class="content"> have no closing tags then, starting with the <div id="foot" > tag you have 7 opening tags but only 3 closing tags. Also there is no such thing as <div align="whatever">. You need to use CSS to align div blocks using “float”. In fact you might just as well remove those 3 <div align="whatever"> tags which means you will only be 1 closing tag short down there.
Try this:-
<div class="container">
<div id="head">
<ul class="section_list">
<li><a class="active" href="http://www.fonmedia.co.uk/">Home</a></li>
<li><a href="http://www.fonmedia.co.uk/our_work/">Our Work</a></li>
<li><a href="http://www.fonmedia.co.uk/our_people/">Our People</a></li>
<li><a href="http://www.fonmedia.co.uk/contact_us/">Contact Us</a></li>
</ul>
</div> <!-- /#head -->
<div id="content">
<div id="gallery" class="content">
<div id="slideshow" class="slideshow"></div>
<div id="controls"></div>
<div id="caption" class="embox"></div>
</div> <!-- /#gallery -->
</div> <!-- /#content -->
<div id="foot" >
<div class="span-5">
<p>288 A BURTON ROAD DIDSBURY</p>
<p>GREAT MANCHESTER</p>
<p>M20 2NB</p>
</div>
<div class="span-21">
<p>Tel +44 7580 792703</p>
<p>glyn@fonmedia.co.uk</p>
</div>
<div class="span-22 last">
<p>Registered No. 7444194</p>
</div>
</div> <!-- /#foot-->
</div> <!-- /#container -->
Also move all your scripts down to just above the closing body tag.
Last edited by thebombsite (2011-03-17 01:12:49)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline