Keyword

Article items display blank page when clicked

  • joseph
  • joseph's Avatar Topic Author
  • Offline
  • New Member
More
8 years 8 months ago - 8 years 8 months ago #150545 by joseph
Hi Everyone,

For some reason all my front-end articles (ie. items) in K2 are throwing a blank white page. I can see a list of articles (as well as intro text) when the category is selected. But when title is clicked, it throws a blank page. I can see all the items in the back-end with no issue. Any ideas ?

Here's what I did so far:

- All permissions are set properly: dir 755, files 644
- Disabled SEF URLs - did not help
- Tested with different template - did not help (so it's not template issue)
- Set Error Reporting: (see below)

Notice: Undefined property: stdClass::$numOfComments in /home/public_html/components/com_k2/views/item/view.html.php on line 264
Fatal error: Call to undefined function mb_internal_encoding() in /home/public_html/components/com_k2/helpers/route.php on line 93


NOTE: I have not installed any new plugins, etc or done any upgrades. This problem appeared after my webhost enabled mod_ruid2 to resolve some user/process/cPanel permission issues on the server.

I do see a warning under extensions that says: "The PHP temporary folder is not set". But I can still upload, delete, update components just fine.

Im using Joomla 3.4.8, K2 2.6.9 - Should I reinstall K2?
Last edit: 8 years 8 months ago by joseph.

Please Log in or Create an account to join the conversation.

  • joseph
  • joseph's Avatar Topic Author
  • Offline
  • New Member
More
8 years 8 months ago #150547 by joseph
Ok, finally figured it out. The installation of mod_ruid2 to solve our issue problems with the server was somehow conflicting with PHP.

I checked the error_log and it turned out I had a "fatal error":

PHP Fatal error: Call to undefined function mb_internal_encoding() in /home/public_html/components/com_k2/helpers/route.php

Solution - install php-mbstring and not everything works.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 8 months ago #150556 by Krikor Boghossian
Replied by Krikor Boghossian on topic Article items display blank page when clicked
Indeed, the multibytes PHP modules is essential for K2 to function properly.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum