Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 10:40 am EDT

Geeklog Forums

Very odd problem


Status: offline

Don

Forum User
Full Member
Registered: 06/09/04
Posts: 153
Last night I installed GL 1.8.0, and as usual the install went very well. I spent last night and this afternoon installing a few plugins and basically just playing around with the site.

One of the plugins I installed was the socialshare plugin. After posting an article to the site, I tested socialshare by sharing the post to Facebook. Seemed to work, the link showed up, all seemed cool.

Then people started to reply to my post, and a lot of them said instead of seeing the post, they were getting the following message:

"Unfortunately, an error has occurred rendering this page. Please try again later." (This error came up in Firefox and Chrome - MSIE returned a 500 Internal Server Error.)

I asked if they could access the home page, and most of who responded said they couldn't. My wife checked it from her machine and found that if she was logged in she could see the home page, but if not logged in she got the same error message above. I'm seeing it whether logged in or not in Firefox and IE, and got the error message above in Chrome.

Am I missing something in the configuration? Why would people not be able to see the site if they're not logged in? Any suggestions?

The URL is http://www.blah3.com in case anyone wants to give it a try.

- Don
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The error message is intentionally vague so as not to give away information for a potential attacker. Check Geeklog's error.log for details and also see this FAQ entry.

Since you seem to be able to reproduce it, you should be able to track the problem down easily.

bye, Dirk
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 06/09/04
Posts: 153
Thanks for the tip, Dirk. I modified 'set_error_handler' in lib-common and reloaded in Chrome and got the following:

Fatal error: Template Error: set_root: /****/layout/small_studio is not a directory. in /*****/system/classes/template.class.php on line 992 (edited out path)

Since I wasn't using the theme anyway, I went into the layout folder and deleted the folder for the theme.

The problem persists, and the error message is the same, even after clearing Chrome's cache. I also reloaded the directory to the server and the error message is the same.

What now?

- Don
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Do you get that message for anonymous users or for a specific user?

For anonymous users, make sure the default theme in the Configuration is set to one that exists (and works). For a specific user, change that user's theme settting (under My Account). If the default theme is set correctly and the faulty theme does no longer exist, the user should be able to log in and would fall back to the default theme (ignoring what's set in their account).

bye, Dirk
 Quote

Status: offline

Don

Forum User
Full Member
Registered: 06/09/04
Posts: 153
An update: I refreshed the page after a few minutes and got a different error message - this one havint to do with a specific file, which wasn't there. I copied over the file from the Professional theme and the error went away.

Thank you again for pointing me in the right direction, Dirk. As always, greatly appreciated.

- D
 Quote

All times are EDT. The time is now 10:40 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content