Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Plugin support
  3. » rah_sitemap

#73 2010-06-21 07:59:32

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_sitemap

Katalonian wrote:

Guys, i dont understand, how to stylize and how to add a sitemap to custom section ?

The plugin genenerates Sitemaps.org valid XML sitemaps, not HTML sitemaps for visitors.

Offline

#74 2010-06-21 09:23:04

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: rah_sitemap

ah! ok, sorry… Thanks!


<txp:txp_me />

Offline

#75 2010-07-22 07:50:11

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Re: rah_sitemap

after clicking “view sitemap”

XML parsing failed: syntax error (Line: 2, Character: 0)
Error: unexpected start-tag (root element already specified)”

??
where i should look the reason of this error?

Last edited by Gallex (2010-07-22 08:21:31)

Offline

#76 2010-07-23 01:09:45

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_sitemap

Gallex wrote:

where i should look the reason of this error?

Gallex, I can’t replicate. Could you provide:

  • High diagnostics (TXP/Admin/Diagnostics: Select High)
  • Rah_sitemap’s version.
  • Browser used.
  • The source code the generated sitemap (save the dynamic file and copy the XML code).

Offline

#77 2010-07-23 07:36:43

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Re: rah_sitemap

Gocom wrote:

High diagnostics (TXP/Admin/Diagnostics: Select High)

Textpattern version: 4.2.0 (r3275)
Last Update: 2010-07-20 09:37:51/2010-07-20 09:29:24
Document root: /home/np41244/domains/meegaste.ee/public_html
$path_to_site: /home/np41244/domains/meegaste.ee/public_html
Textpattern path: /home/np41244/domains/meegaste.ee/public_html/textpattern
Permanent link mode: section_title
open_basedir: /home/np41244/:/tmp:/var/tmp:/usr/local/lib/php/
Temporary directory path: /tmp
Site URL: www.meegaste.ee
PHP version: 5.2.11
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server TZ: Europe/Helsinki
Server Local Time: 2010-07-23 10:22:52
DST enabled?: 1
Automatically adjust DST setting?: 0
Time Zone: Europe/Tallinn (7200)
MySQL: 5.1.39-log
Locale: en_GB.UTF-8
Server: Apache/2
Apache version: Apache/2
PHP Server API: apache2handler
RFC 2616 headers: 
Server OS: Linux 2.6.34
Active plugins: rah_metas-1.3, zem_contact_reborn-4.0.3.20, zem_contact_lang-4.0.3.6, smd_gallery-0.62, adi_notes-1.0, rah_sitemap-0.7, upm_image-0.6.2, upm_img_popper-1.3.7, glx_admin_image-0.5b, smd_lib-0.36
Admin-side theme: classic 4.2.0

.htaccess file contents: 
------------------------
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes

<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

------------------------

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/local/mysql-5.1.39-linux-i686-glibc23/share/charsets/
17 Tables: OK

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: date/5.2.11, libxml, openssl, pcre, zlib/1.1, bcmath, calendar, ctype, curl, dom/20031129, filter/0.11.0, ftp, gd, gettext, hash/1.0, iconv, json/1.2.1, mbstring, mcrypt, mhash, mysql/1.0, SimpleXML/0.1, SPL/0.2, PDO/1.0.4dev, pdo_sqlite/1.0.1, posix, Reflection/0.1, session, pdo_mysql/1.0.2, sockets, mysqli/0.1, SQLite/2.0-dev, standard/5.2.11, tokenizer/0.1, xml, xmlreader/0.1, xmlwriter/0.1, zip/1.8.11, apache2handler, Zend Optimizer

Apache modules: core, mod_authn_file, mod_authn_default, mod_authz_host, mod_authz_groupfile, mod_authz_user, mod_authz_default, mod_auth_basic, mod_include, mod_filter, mod_deflate, mod_log_config, mod_logio, mod_env, mod_headers, mod_unique_id, mod_setenvif, mod_version, mod_proxy, mod_proxy_connect, mod_proxy_ftp, mod_proxy_http, mod_proxy_scgi, mod_proxy_ajp, mod_proxy_balancer, mod_ssl, prefork, http_core, mod_mime, mod_dav, mod_status, mod_autoindex, mod_asis, mod_suexec, mod_cgi, mod_dav_fs, mod_dav_lock, mod_negotiation, mod_dir, mod_actions, mod_userdir, mod_alias, mod_rewrite, mod_so, mod_php5

pretext_data: array (
  'id' => '',
  's' => '',
  'c' => '',
  'q' => '',
  'pg' => '',
  'p' => '',
  'month' => '',
  'author' => '',
  'request_uri' => '/27f73cc295012980e77ce915b1d51715/?txpcleantest=1',
  'qs' => 'txpcleantest=1',
  'subpath' => '\\/',
  'req' => '/27f73cc295012980e77ce915b1d51715/?txpcleantest=1',
)

/home/np41244/domains/meegaste.ee/public_html/index.php: 
	r3189 (8becf5ea8d9ced7d05b2433dfbabf868)
/home/np41244/domains/meegaste.ee/public_html/css.php: 
	r3189 (7a0cc56c9dc585e56aab80bc0fb22c53)
/home/np41244/domains/meegaste.ee/public_html/textpattern/css.php: 
	r3189 (459137eeb00bb07136001528ce724192)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_admin.php: 
	r3203 (26c4f327450f66618fe82b06fb8b9e70)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_article.php: 
	r3246 (9211f37e8ba873c78b0c46186896d6b2)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_auth.php: 
	r3250 (6be154f05fca4e83c4a4947c8635afd7)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_category.php: 
	r3203 (2350c33b6acc663b56ba982bc479c920)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_css.php: 
	r3118 (bfd945a0b268c60f7b71b6535c06154e)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_diag.php: 
	r3267 (c03f4b7e28c2f8e5050924b6caf2f61f)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_discuss.php: 
	r3185 (9b08de9e4f2df7160105ff218134ec67)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_file.php: 
	r3200 (dc26e8f4cbb1821c466c14926c8a10ca)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_form.php: 
	r3260 (6ad789075a6a1811d027f5e4043b845d)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_image.php: 
	r3267 (814b6421cb2e2df073d0d6bf05c252bf)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_import.php: 
	r3203 (fb18d629321a93472674dbd4abbfc63c)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_link.php: 
	r3203 (7dee2f899aa22712e4f5f1005c6853b0)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_list.php: 
	r3203 (2dd80b98cb76b0532133f6d7c2bcccb9)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_log.php: 
	r3203 (a97af8e5ed62605ab0111e45266300cb)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_page.php: 
	r3260 (ef00267f34445a33ce0f2e453c3a20db)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_plugin.php: 
	r3203 (8c1691e89ccfc8a8f9160e66efce2b09)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_prefs.php: 
	r3235 (9833b1a7cbd01def4ceb40f8cdf01a3b)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_preview.php: 
	r1238 (cc7d08574508c8ec1e4c5281d534d6e3)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_section.php: 
	r3203 (1c7eec911a015b72e42d5cea903be426)
/home/np41244/domains/meegaste.ee/public_html/textpattern/include/txp_tag.php: 
	r3195 (280f0fd2e6f50e6a0f13490ea5dfc1f4)
/home/np41244/domains/meegaste.ee/public_html/textpattern/index.php: 
	r3275 (6e259f5394d65617809d25e4823de174)
/home/np41244/domains/meegaste.ee/public_html/textpattern/jquery.js: 
	unknown (bb381e2d19d8eace86b34d20759491a5)
/home/np41244/domains/meegaste.ee/public_html/textpattern/lib/IXRClass.php: 
	r2932 (6c533bb271087338aa19ca0b78b1810f)
/home/np41244/domains/meegaste.ee/public_html/textpattern/lib/admin_config.php: 
	r3202 (524b829d7c73e5db26415633e799e350)
/home/np41244/domains/meegaste.ee/public_html/textpattern/lib/class.thumb.php: 
	r3107 (0e3f7b9da4b0c77f9b75263142598902)
/home/np41244/domains/meegaste.ee/public_html/textpattern/lib/classTextile.php: 
	r2812 (b3e4cd9bd5fb469fabdebb2c0376f7e7)
/home/np41244/domains/meegaste.ee/public_html/textpattern/lib/constants.php: 
	r3133 (b296756aedaf98b6f9420359dd07abdb)
/home/np41244/domains/meegaste.ee/public_html/textpattern/lib/taglib.php: 
	r2868 (a0662fa399fb16e837e8852f044dade9)
/home/np41244/domains/meegaste.ee/public_html/textpattern/lib/txplib_admin.php: 
	r3047 (54de3f807984122ebe9b8b955e5189f4)
/home/np41244/domains/meegaste.ee/public_html/textpattern/lib/txplib_db.php: 
	r3250 (c29e316100ae6ed42d6ec51506388b5f)
/home/np41244/domains/meegaste.ee/public_html/textpattern/lib/txplib_forms.php: 
	r3256 (2623d94099735edc0e7a51309c26665d)
/home/np41244/domains/meegaste.ee/public_html/textpattern/lib/txplib_head.php: 
	r3265 (4492de4935f8352357f0809d9d89516f)
/home/np41244/domains/meegaste.ee/public_html/textpattern/lib/txplib_html.php: 
	r3255 (adb712630ad3bbe59c5f716befa33f0a)
/home/np41244/domains/meegaste.ee/public_html/textpattern/lib/txplib_misc.php: 
	r3271 (68d443f0f20acec5e86857a823c2b4e2)
/home/np41244/domains/meegaste.ee/public_html/textpattern/lib/txplib_theme.php: 
	r3269 (83bcbeffa883bed5f0af951dda7be2fb)
/home/np41244/domains/meegaste.ee/public_html/textpattern/lib/txplib_update.php: 
	r2812 (5e6821f06aeafe50b54e5a273423384f)
/home/np41244/domains/meegaste.ee/public_html/textpattern/lib/txplib_wrapper.php: 
	r2931 (1c1b260a13c67657f1678d72559583bc)
/home/np41244/domains/meegaste.ee/public_html/textpattern/publish.php: 
	r3258 (bc931a3406370c1ea4139ef957e95e38)
/home/np41244/domains/meegaste.ee/public_html/textpattern/publish/atom.php: 
	r3029 (f8cc6dbfb5a5f2b39ec480589b2d59c3)
/home/np41244/domains/meegaste.ee/public_html/textpattern/publish/comment.php: 
	r3266 (815df18aa4d451246ee70dd0502a8484)
/home/np41244/domains/meegaste.ee/public_html/textpattern/publish/log.php: 
	r3247 (1c047309f6f13883b29a943d1cddec3a)
/home/np41244/domains/meegaste.ee/public_html/textpattern/publish/rss.php: 
	r3029 (c39570953c1bd8347e456d750317b815)
/home/np41244/domains/meegaste.ee/public_html/textpattern/publish/search.php: 
	r2812 (29a315e2435b73fe3d3a4d83fe84ba19)
/home/np41244/domains/meegaste.ee/public_html/textpattern/publish/taghandlers.php: 
	r3256 (a40dce2989737477b1147d2104bba326)
/home/np41244/domains/meegaste.ee/public_html/rpc/index.php: 
	r2998 (682e18cb9bdd6e9442a9ac23db1a591f)
/home/np41244/domains/meegaste.ee/public_html/rpc/TXP_RPCServer.php: 
	r3250 (84ff888bf577670c897fdc27ad580c0f)
/home/np41244/domains/meegaste.ee/public_html/textpattern/theme/classic/classic.php: 
	r3191 (722c6c7f2c8dbfee5c6cede0af2cd689)
/home/np41244/domains/meegaste.ee/public_html/textpattern/update/_to_1.0.0.php: 
	r3047 (cbd20d275bf74184b1112569c2e77f76)
/home/np41244/domains/meegaste.ee/public_html/textpattern/update/_to_4.0.2.php: 
	r3047 (4c9f8cd5c16bf19ff191ab35f0354e0f)
/home/np41244/domains/meegaste.ee/public_html/textpattern/update/_to_4.0.3.php: 
	r3047 (6a4af33a23caf950c05faca0e8b4c93b)
/home/np41244/domains/meegaste.ee/public_html/textpattern/update/_to_4.0.4.php: 
	r3047 (b235e2a27a6e79652ef078f62f73eb21)
/home/np41244/domains/meegaste.ee/public_html/textpattern/update/_to_4.0.5.php: 
	r2894 (d17a02f48b79dbe6b3b0cf6eb779aadb)
/home/np41244/domains/meegaste.ee/public_html/textpattern/update/_to_4.0.6.php: 
	r3047 (4d7b21635fbf46058cc539a0eec00561)
/home/np41244/domains/meegaste.ee/public_html/textpattern/update/_to_4.0.7.php: 
	r3014 (e8ba7dc2892b81ce89b62775e2f5ea17)
/home/np41244/domains/meegaste.ee/public_html/textpattern/update/_to_4.0.8.php: 
	r3057 (d699021db8e7c9f7d32f3ad3631caebc)
/home/np41244/domains/meegaste.ee/public_html/textpattern/update/_to_4.2.0.php: 
	r3233 (aec6e4aafa98dbafe75506efd7f85816)
/home/np41244/domains/meegaste.ee/public_html/textpattern/update/_update.php: 
	r3275 (e9085d568d49ff7910ffd4eb49bbe293)

Rah_sitemap’s version.

0.7

Browser used.

opera 10.60

The source code the generated sitemap (save the dynamic file and copy the XML code).

not sure, did i get the right source code (clicked view sitemap, then in error page clicked reparse document as html)

Strict Standards: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EEST/3.0/DST' instead in /home/np41244/domains/meegaste.ee/public_html/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 202

Strict Standards: date() [function.date]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Helsinki' for 'EEST/3.0/DST' instead in /home/np41244/domains/meegaste.ee/public_html/textpattern/lib/txplib_misc.php(594) : eval()'d code on line 202

Offline

#78 2010-07-23 09:38:39

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_sitemap

Gallex wrote:

not sure, did i get the right source code (clicked view sitemap, then in error page clicked reparse document as html)

[...]It is not safe to rely on the system's timezone settings. Please use the date.timezone setting[...]

Ah, that error mesage explains it all. Most likely you haven’t defined TZ-settings.

It should go away, if you define the timezone settings in Textpattern’s preferences. With out defining the settings (TZ/city etc), all datetime functions will return errors. The error has nothing specific to rah_sitemap.

Offline

#79 2010-07-23 10:37:50

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Re: rah_sitemap

Gocom wrote:

Ah, that error mesage explains it all. Most likely you haven’t defined TZ-settings.
It should go away, if you define the timezone settings in Textpattern’s preferences. With out defining the settings (TZ/city etc), all datetime functions will return errors. The error has nothing specific to rah_sitemap.

i had defined tz settings – it’s tallinn (look at diagnostic text). this is one of a first things i always do when settig up a new site

??

Last edited by Gallex (2010-07-23 10:42:57)

Offline

#80 2010-07-23 11:20:01

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_sitemap

Gallex wrote:

i had defined tz settings – it’s tallinn (look at diagnostic text). this is one of a first things i always do when settig up a new site

That is not what the PHP’s warning message says. Something is making the TZ settings non-existent.

In your diagnostics you do have Auto-DST set to off. On every server I have, and which support the feature, if I turn it off, it causes the Textpattern’s TZ code to blurb and makes TZ undefined. Try turning Auto-DST on.

Hope it helps.

Offline

#81 2010-07-23 11:31:56

Gallex
Member
Registered: 2006-10-08
Posts: 1,289

Re: rah_sitemap

yep, that helped indeed. thank’s

Offline

#82 2010-07-27 21:42:32

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_sitemap

Released version 0.8. Changelog:

  • Now compression level field’s label links to the correct field id.
  • Now suppresses E_WARNING/E_STRICT notices in live mode caused by Textpattern’s timezone code when some conditions are met (TXP 4.2.0, PHP 5.1.0+, TXP’s Auto-DST feature disabled, TXP in Live mode). Error suppression will be removed when TXP version is released with fully working timezone settings.
  • Now generates UNIX timestamps within the SQL query, not with PHP.
  • Changed sliding panels’ links (a elements) into spans.

More info and downloads

Offline

#83 2010-07-28 06:19:32

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: rah_sitemap

I’ve modded my admin page with a custom theme.
When I install some plugin, all the text info and elements change according my admin css: I mean font color, size etc…
Curiously the useful accordion links used under General preferences and Advanced settings are in the light brown “classic” tectpattern color.
How can I avoid this?

Obviously, thanks for the update!

Offline

#84 2010-07-28 06:54:16

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_sitemap

candyman wrote:

Curiously the useful accordion links used under General preferences and Advanced settings are in the light brown “classic” tectpattern color.

Because those are not really links as they don’t point nowhere, instead they are spans. You can style them if you need to.

#rah_sitemap_container .rah_sitemap_heading span {
	cursor: pointer;
	color: #963;
}

Offline

  1. Index
  2. » Plugin support
  3. » rah_sitemap

Board footer

Powered by FluxBB