Welcome to Geeklog, Anonymous Friday, April 26 2024 @ 10:20 pm EDT

Geeklog Forums

Global Variables


kraydl

Anonymous
I am unable to get any of the edit/new links or stories to work as admin or moderator. When clicked, nothing happens at all. I am using PHP 4.2 with global variables off. My server does not allow global variables to be turned on for security reasons. Is there a workaround?
 Quote

Status: offline

Dirk

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

Well, I hate to say that but you're out of luck then. Geeklog currently requires register_globals to be on, period.

Options that I could think of:

  • If your server allows it (but probably not), you could try enabling register_globals by putting this into a .htaccess file:
    Text Formatted Code
    php_flag register_globals on
  • Look into using extract and / or import_request_variables (i.e. you would have to use those in almost every Geeklog .php file).
  • Or just rewrite Geeklog so that it doesn't require register_globals=off any more (just kidding ...).

bye, Dirk

 Quote

Anonymous

Anonymous
Come on guys, read about why this is bad: http://www.php.net/manual/en/security.registerglobals.php I hope geeklog will be updated soon.
 Quote

Status: offline

Tony

Site Admin
Admin
Registered: 12/17/01
Posts: 405
Location:Urbandale, Iowa
We plan to address the register_globals issue in GL2. The effort to convert that code in our current codebase would take too long when it can be better addressed in our GL2 work. If you or your host insist on having register_globals off then we apologize and ask that you wait and be patient. GL is still one of the most secure weblogs around and of few security related bugs we've had, none were caused by register_globals being on.---The reason people blame things on previous generations is that there's only one other choice.
The reason people blame things on previous generations is that there's only one other choice.
 Quote

Anonymous

Anonymous
Sorry to post up this problem again but recently I ran into the same problem fresh installed GL and it was successful. Problem is admin/moderator account can't edit or delete or make stories. My register_globals are on dunno why the problem insists. It came to me that maybe the problem is within the code and not the register_globals setting
 Quote

Status: offline

Dirk

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

The answer is in the FAQ now ...

bye, Dirk

 Quote

All times are EDT. The time is now 10:20 pm.

  • 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