Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
asy_sitemap: Cannot redeclare page_title()
The error below started appearing today… The database seems ok in PHP Myadmin and also the articles appear that they are posting/saving just fine.
Fatal error: Cannot redeclare page_title() (previously declared in /users/home/foo/web/public/main/textpattern/publish/taghandlers.php:16) in /users/home/foo/web/public/main/textpattern/publish/taghandlers.php on line 64
Here are my diagnostics
Textpattern version: 4.0.4 (r1956)
Last Update: 2006-12-25 09:42:45/2006-12-25 09:40:49
Document root: /users/home/foo/web/public
$path_to_site: /users/home/foo/web/public/main
Textpattern path: /users/home/foo/web/public/main/textpattern
Permanent link mode: id_title
upload_tmp_dir: /usr/local/www/php/tmp
Temporary directory path: /users/home/foo/web/public/main/textpattern/tmp
Site URL: neme.org/main
PHP version: 5.1.4
Server Local Time: 2007-01-31 10:21:33
MySQL: 4.1.18-log
Locale: en_GB.ISO_8859-1
Server: Apache
PHP Server API: cgi-fcgi
RFC 2616 headers:
Server OS: FreeBSD 5.4-STABLE
Active plugins: ajw_notepad_public-0.1m, fha_time_diff-0.23m, mdn_count-1.4, mem_glinklist-0.7.4, hpw_shared-0.2, glx_admin_image-2006.1, rss_admin_db_manager-4.0.2, asy_sitemap-0.7m, ob1_googlenav-2.0m, glx_countdown-0.1, glx_admin_ping-0.1m, rdt_dynamenus-0.6m, mrh_email_article_link-0.3, chh_article_custom-0.41, glx_if-0.7, upm_savenew-0.4, zem_article_info-0.1, upm_img_popper-1.3.2, upm_image-0.5.9, jnm_recent_comments_unique-0.4, bas_locate_me-0.1, etz_striptags-0.2, if_article_id-1.0, wet_if_page-0.1, sed_afu-0.6, chh_if_data-0.10, fgr_punbb_info-0.01am, wet_slimpattern-0.3m, csb_if_newer_than-1.0, rss_article_edit-0.1, gbp_admin_library-0.1, SimplePie Plugin for Textpattern-1.2, bit_rss-0.3Pre-flight check:
————————————
Some Textpattern files have been modified: /lib/classTextile.php
————————————.htaccess file contents:
————————————
#DirectoryIndex index.php index.html
#Options +FollowSymLinks
#RewriteBase /relative/web/path/<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^(.+) – [PT,L]
RewriteRule ^(.*) index.php
</IfModule>#php_value register_globals 0
————————————
any help would be appreciated
(Edit: updated discussion topic. -Mary)
Last edited by Mary (2007-04-23 06:38:20)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: asy_sitemap: Cannot redeclare page_title()
Deactivate asy_sitemap.
Offline
Re: asy_sitemap: Cannot redeclare page_title()
Sencer wrote:
Deactivate asy_sitemap.
Thanks sencer… that fixed it. Do you plan to update your plugin?
Also I posted something in the “Forum and Website” re forum search
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: asy_sitemap: Cannot redeclare page_title()
Colak, you found any workaround this error while keeping asy_sitemap?
Offline
Re: asy_sitemap: Cannot redeclare page_title()
hi jeremie… Unfortunately not, I unfortunately had to abandon the use of the plugin
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: asy_sitemap: Cannot redeclare page_title()
Uncomment the line that includes taghandlers.php. It’s already included by textpattern itself at that point in more recent versions (hence the error about re-decleration).
Offline
Re: asy_sitemap: Cannot redeclare page_title()
Sencer wrote:
Uncomment the line that includes taghandlers.php. It’s already included by textpattern itself at that point in more recent versions (hence the error about re-decleration).
It produces an error when I generate the sitemap by hand :
[code]Fatal error: Call to undefined function permlinkurl() in /home.10.5/dorem/multi/shadowrun.fr/textpattern/lib/txplib_misc.php(523) : eval()’d code on line 217[/code]
Offline
#8 2007-04-24 14:42:31
- gerhard01
- Plugin Author
- Registered: 2006-12-07
- Posts: 108
Re: asy_sitemap: Cannot redeclare page_title()
Jeremie wrote:
Sencer wrote:
Uncomment the line that includes taghandlers.php. It’s already included by textpattern itself at that point in more recent versions (hence the error about re-decleration).
It produces an error when I generate the sitemap by hand :
[code]Fatal error: Call to undefined function permlinkurl() in /home.10.5/dorem/multi/shadowrun.fr/textpattern/lib/txplib_misc.php(523) : eval()’d code on line 217[/code]
I get the same error on commenting out that line.
So my work-around is:- enable plugin
- generate sitemap and ping Google
- disable plugin till the next time I want to update my sitemap
Offline
Re: asy_sitemap: Cannot redeclare page_title()
I disabled auto creating sitemap on article edit and it fixed error
Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?
Offline
Re: asy_sitemap: Cannot redeclare page_title()
But that’s not that good :(
Is there a (better) working plugin around??
Offline