A problem with TCMS Blog

I have done something that I do not understand and cannot fix sadly. My blog on my test site was working just fine but not now. I can view the list, I can edit the blog item but I cannot ‘click’ on the item to see the full blog item. My provider messed with my .htaccess file to resolve something else, is this the cause of the issue? The file is:

RewriteEngine On RewriteBase /
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [R,L]

RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Are you using pretty url’s in Tcms blog? If so you need a rewrite rule in the .htaccess file. If you share a url it will be easier to help.

Hi, no I am not using pretty url’s. I should also add that if I edit a blog (or try to add one) it will not save, but the original content is there. As I mentioned however tis is a beta site for my client at the moment. The URL to the page is:

https://www.energyinyoga.com/findoutmore/news/index.php

Oh, that’s a whole different set of information.
On the blog post admin page, Add the Tcms debug stack and preview the page in RW. See is there are any errors.

Has anything been “moved” since you had it working before?

I may have moved since I last looked at this but it was a while ago so not sure but I think all the paths are correct. Debug says:

PHP version: 7.2.33

HTTP_HOST: www.energyinyoga.com

SERVER_NAME: energyinyoga.com

DOCUMENT_ROOT: /kunden/homepages/29/d661489685/htdocs/energyinyoga

DOCUMENT_ROOT (realpath): /homepages/29/d661489685/htdocs/energyinyoga

SITE ROOT: /homepages/29/d661489685/htdocs/energyinyoga

CONTEXT_DOCUMENT_ROOT: /kunden/usr/lib/cgi-bin/

SCRIPT_NAME: /rw_common/plugins/stacks/total-cms/totaldebug.php

POST_MAX_SIZE: 64M

UPLOAD_MAX_FILESIZE: 64M

MEMORY LIMIT: -1

MAX_EXECUTION_TIME: 50000

SERVER LOCALE: C

CMS LOCALE: en_US.UTF-8

CMS VERSION: Total CMS v1.7.1 (10383)

Total CMS Passport Check: {“status”:true,“info”:“Domain registered”,“trial”:false}

Does this help?

Thanks but I found the problem, stupidly I added a ‘non blog’ stack on the form page!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.