By calvin on Wednesday, 11 October 2017
Posted in General
Replies 3
Likes 0
Views 336
Votes 0
So this url is broken
https://style-review.com/you-blog/entry/primark-is-a-zoo

Its some 500 error.

If I resave (maybe even just open the post in the backend) the post it will magically start to work. A normal working post can be found here to show you the site is working.
https://style-review.com/you-blog/entry/what-you-wear-to-the-gym-is-very-important

I dont want to fix this blog post (YET) as I would like to know why it is happening and if you have some idea as to why?

Thanks
Could you please try to turn on error reporting to see if it is generating any errors? Just staring at a blank screen really doesn't help
·
Wednesday, 11 October 2017 20:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Have turned on the reporting and got this-

Warning: require_once(/var/www/style-review.com/html/libraries/joomla/document/html/renderer/head.php): failed to open stream: No such file or directory in /var/www/style-review.com/html/templates/rt_praxis/error.php on line 84

Fatal error: require_once(): Failed opening required '/html/libraries/joomla/document/html/renderer/head.php' (include_path='.:/usr/share/php') in /html/templates/rt_praxis/error.php on line 84

The other two point to my template but something in the blog post is causing it..

If i set the require once to include once then the page gives a 404...and this new error

In fact I removed that line since 3.8 this file doesn't exist...and the template still works.

The reason is a bit weird in the slug of the blog post had a trailing '-' so not sure why that happened removing that and the url now works as you would expect.
Thanks for the help mark as solved.
·
Wednesday, 11 October 2017 21:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey calvin,

Hm, that is odd. Anyway thanks for updating me on this and glad that your issues are resolved now
·
Wednesday, 11 October 2017 21:56
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post