{"id":8010,"date":"2004-10-06T03:13:48","date_gmt":"2004-10-06T01:13:48","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/2004\/10\/06\/yet-another-nucleus-upgrade-bug-squashed\/"},"modified":"2005-04-20T12:46:51","modified_gmt":"2005-04-20T09:46:51","slug":"yet-another-nucleus-upgrade-bug-squashed","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2004\/10\/06\/yet-another-nucleus-upgrade-bug-squashed\/","title":{"rendered":"Yet another Nucleus upgrade bug squashed"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p><img decoding=\"async\" class=\"alignleft\" src=\"\/wordpress\/wp-content\/20041006-nucleus.jpeg\" alt=\"\"\/>One of the most annoying bugs left from those <a href=\"\/blog\/item\/1129\">upgrades of NucleusCMS<\/a> that I did, was the double-slash (\/\/) formation in URLs sometimes.  I noticed that it was appearing when using &#8216;Add comment&#8217; link.  Apache though doesn&#8217;t care and works fine, so I left these as they were until today.  The annoyance of the bug was that if I wanted to copy and paste the URL to the full post, I had to clean it up every time.<\/p>\n<p>Today I got bored and pissed off about this problem and quickly found a solution to it.  Apparently, it was discussed in <a href=\"http:\/\/forum.nucleuscms.org\/\">NucleusCMS forums<\/a> in <a href=\"http:\/\/forum.nucleuscms.org\/viewtopic.php?t=3577\">this thread<\/a>.  All I had to do was to make this line from <code>index.php<\/code>:<\/p>\n<pre>$CONF['Self'] = '.\/';<\/pre>\n<p>to look like this:<\/p>\n<pre>$CONF['Self'] = '\/blog';<\/pre>\n<p>Those of you who had problems with posting comments should be now totally satisfied.  Search engines should also start indexing better, since there will be no more ambigues URLs.  Me, well done.<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>One of the most annoying bugs left from those upgrades of NucleusCMS that I did, was the double-slash (\/\/) formation in URLs sometimes. I noticed that it was appearing when using &#8216;Add comment&#8217; link. Apache though doesn&#8217;t care and works fine, so I left these as they were until today. The annoyance of the bug &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2004\/10\/06\/yet-another-nucleus-upgrade-bug-squashed\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Yet another Nucleus upgrade bug squashed<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_links_to":"","_links_to_target":""},"categories":[1,1335],"tags":[],"keyring_services":[],"class_list":["post-8010","post","type-post","status-publish","format-standard","hentry","category-general","category-site-news"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":7697,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/07\/20\/upgrading-nucleuscms\/","url_meta":{"origin":8010,"position":0},"title":"Upgrading NucleusCMS","author":"Leonid Mamchenkov","date":"July 20, 2004","format":false,"excerpt":"As you can obviously see, the site is in the process of being upgraded to a newer version of NucleusCMS. As usual, only after I have started the upgrade, I found out that there is a bug in the backup script provided with the program. That turned into a few\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8221,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/11\/16\/blogcms-35-final-is-out\/","url_meta":{"origin":8010,"position":1},"title":"BLOG:CMS 3.5 Final is out","author":"Leonid Mamchenkov","date":"November 16, 2004","format":false,"excerpt":"By means of Freshmeat.net I've learned that BLOC:CMS (NucleusCMS on steroids) version 3.5 Final came out. It has an amazing set of new features and bug fixes. Here is a quote from Freshmeat announcement: This release adds support for MySQL 4.0 (mysql), MySQL 4.1 (mysqli), and SQLite (PHP5). An integrated\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8095,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/10\/22\/full-item-and-comments-feed\/","url_meta":{"origin":8010,"position":2},"title":"Full item and comments feed","author":"Leonid Mamchenkov","date":"October 22, 2004","format":false,"excerpt":"Some of you have asked for a way to see if there were any comments to items you've commented on. Apparently, there is a NP_RSSItem plugin for NucleusCMS that allows for automatic creation of feeds for full items and all comments. I have installed and configured. There is a new\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":15703,"url":"https:\/\/mamchenkov.net\/wordpress\/2011\/10\/10\/what-was-your-first-wordpress-version\/","url_meta":{"origin":8010,"position":3},"title":"What Was Your First WordPress Version?","author":"Leonid Mamchenkov","date":"October 10, 2011","format":false,"excerpt":"James Huff of Weblog Tools Collection asks the questions: what was your first WordPress version? Since I've been using WordPress for a few years now, my memory got hazy and I didn't quite remember. It took me a couple of minutes to dig the truth out. According to my archives,\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8296,"url":"https:\/\/mamchenkov.net\/wordpress\/2004\/12\/05\/trackbacks\/","url_meta":{"origin":8010,"position":4},"title":"Trackbacks","author":"Leonid Mamchenkov","date":"December 5, 2004","format":false,"excerpt":"I am currently very interested in trackbacks. I have read a few of documents about them here, here, and here. I am starting to get an idea, but until I will send one and receive one, I will not be sure. NucleusCMS has a plugin for trackbacks, but it has\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8510,"url":"https:\/\/mamchenkov.net\/wordpress\/2005\/01\/21\/more-upgrades-are-coming-downtimes\/","url_meta":{"origin":8010,"position":5},"title":"More upgrades are coming.  Downtimes.","author":"Leonid Mamchenkov","date":"January 21, 2005","format":false,"excerpt":"Ok everyone, it has been a while since the blog was down. I have to do something about it. There are 2 items on my TODO list: Upgrade home server to Fedora Linux Core 3 Upgrade BlogCMS\/NucleusCMS mix that I have to a cleaner version (if possible) of BlogCMS 3.4\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/8010","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=8010"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/8010\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=8010"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=8010"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=8010"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=8010"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}