Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks


Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Tuesday, June 18 2013 @ 07:12 PM EDT


 Forum Index > Support > Installation Support New Topic Post Reply
 Another Installation attempt failure
   
samzuni
 10/26/04 08:56PM (Read 708 times)  
+----
Newbie
determined

Status: offline


Registered: 10/26/04
Posts: 2
While attempting to install Geeklog 1.3.9sr2, I get the following error indications:

Warning: You have register_globals = Off in your php.ini. However, Geeklog requires register_globals to be on. Before you continue, please set it to on and restart your web server.

In /etc/php.ini, I turn register_globals on, restart httpd, but still get the same error message. Is the install.php brain dead? Or something simple you didn’t mention in the docs?

In the php.ini file is this info:

; - register_globals = On [Security, Performance]
; Global variables are no longer registered for input data (POST, GET, cookies,
; environment and other server variables). Instead of using $foo, you must use
; you can use $_REQUEST["foo"] (includes any variable that arrives through the
; request, namely, POST, GET and cookie variables), or use one of the specific
; $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
; on where the input originates. Also, you can look at the
; import_request_variables() function.
; Note that register_globals is going to be deprecated (i.e., turned off by
; default) in the next version of PHP, because it often leads to security bugs.
; Read http://php.net/manual/en/security.registerglobals.php for further
; information.

I tried both of these with the same results:
register_globals = On [same format as other selected switches]
- register_globals = On [deleting just the semicolon in case the dash was important]

Do you intend to modify Geeklog to keep up with the PHP trend? So anyway I continue in the hope it is an error in the script that only refuses to recognize the switch. On the third page, I then get the below error, and that’s all she wrote !! Same indication as an earlier poster placed here in the forum (14 Oct ?)

Fatal error: Call to undefined function: mysql_connect() in /var/www/weblog/system/databases/mysql.class.php on line 108

Any ideas what I am missing, or what is broken? This is not in the troubleshooting symptoms of the documentation. BTW, WinZip is not a factor.
Running Linux 2.6.8.x, Apache 2.0.51, PHP 4.3.8, MySQL server 3.23.58
Thanks for any helpful advice.
Sam.

 
Profile Email
 Quote
JohnVanVliet
 10/27/04 04:48AM  
+++++
Full Member

Status: offline


Registered: 10/09/03
Posts: 161
check down on line 380 of the php.ini
PHP Formatted Code
; You should do your best to write your scripts so that they do not require
; register_globals to be on;  Using form variables as globals can easily lead
; to possible security problems, if the code is not very well thought of.
register_globals = on
 


 
Profile Email Website
 Quote
Dirk
 10/27/04 01:55PM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13035
In other words: In the php.ini, lines that begin with a semicolon are comments.

bye, Dirk

 
Profile Email Website
 Quote
samzuni
 10/27/04 07:38PM  
+----
Newbie

Status: offline


Registered: 10/26/04
Posts: 2
Yes, I know the semicolon is a comment. The previous referred to the options being prepended with a dash, where the following options in later sections were not. The inconsistency apparently confused me.
BTW I love the cute little emoticons...

 
Profile Email
 Quote
Content generated in: 0.86 seconds
New Topic Post Reply

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