Welcome to Geeklog, Anonymous Monday, December 23 2024 @ 06:42 am EST

Geeklog Forums

GL 1.4.1 not compatible with php 5.x?


Status: offline

Jay

Forum User
Junior
Registered: 02/14/07
Posts: 16
Location:Beverly, MA
I've been using my geeklog site for a while with PHP 4.4.7 on my host. The host offers the ability to switch between 4.4.7 and 5.2.2. I host a vbulletin forum on the same server, and for a plugin I was installing, I needed to switch my php version to 5.2.2. So, I did. When I did this, geeklog kicked back an error message when trying to view my page. It went away when I switched back to 4.4.7.

The error states

"An error has occurred:
2 - session_start() [function.session-start]: open(/var/php_sessions/sess_5d773ee0e5a1f2c6ea640e873e91ed10, O_RDWR) failed: No such file or directory (2) @ /*******I REMOVED THIS INFO******/plugins/captcha/functions.inc line 49"

The thing that worries me is, it displays my database name, and password, and other server information to the public. So the balance is either being able to use my vbulletin plugin, or being able to use geeklog.

I haven't really investigated the issue yet. I wanted to see if this problem has occurred before and see if there's an easy fix for it.

Thanks.
I leave carnage in my wake.
 Quote

Status: offline

mevans

Forum User
Full Member
Registered: 02/08/04
Posts: 393
Location:Texas
Jay,

This error mesage is caused by the CAPTCHA plugin, it is trying to start a PHP session and it appears your PHP environment is not properly setup so the session fails.

Two solutions:

1. Fix the PHP setup so PHP can create and use session files. You'll probably need to get your hosting provider to take care of this.

2. Upgrade the CAPTCHA plugin to the latest. The latest version of CAPTCHA, available from www.gllabs.org no longer uses PHP sessions, so upgrading will also solve the problem.

Thanks!
Mark
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: Jay

The thing that worries me is, it displays my database name, and password, and other server information to the public.


There should be a note in that dump somewhere that this information is only displayed to Root users (i.e. Geeklog Site Admins). Unless you've set $_CONF['rootdebug'] = true, which you really shouldn't do on a "live" system.

In other words: Under normal circumstances, this information will not be displayed to unauthorized visitors.

bye, Dirk
 Quote

All times are EST. The time is now 06:42 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