php scripts problems

RingToons

Verified User
Joined
Jul 28, 2003
Messages
51
Hi,

I try on my server a lot of scripts but every time I get an error.
Notice: Undefined index: versie in /home/tieners/domains/domainname.com/public_html/messages/index.php on line 19

I take a look, Register_globals is off now, but the problem is still there.

I test the script on a cobalt server an it works without any problem.

Someone a tip?
 
I switch it on, but the same errors...
I try to look at the ini.php of both servers but none strange settings...

I see the problem now:
On the working server with DA is php 4.3.0 installed
On a new server (installed this week) is php 4.3.2 installed
On the last server the script will work OK with php version 4.3.2

Now the question is DA automaticly updated php 4.3.0 to 4.3.2 yes or no.

If not, how can I update it by myself, I can`t find a good howto.
 
Last edited:
I havn't done this myself so a good place to start would be http://php.net or do a search on google.

Wish I could be more help -Jason
 
DA should be using PHP 4.3.2 (is on our server)

try register globals on, and can you tell us what is on line 16-21?, in a code box of cause
 
On my first box I have php 4.3.0
On the second box I gave php 4.3.2

I got an support mail from DA how to update:
To upgrade PHP to 4.3.2, login SSH at type:

cd /usr/local/directadmin
mkdir customapache
cd customapache
wget http://files.directadmin.com/services/customapache/build
chmod 755 build
./build update
./build all

Dut I get an error: Afther ./build all I get:

./configure:Error: APACI failed

*** There was an error while trying to configure apache+mod_ssl. Check the configure.apache_ssl file

Now waiting for a reply from DA
 
I fixed this for you earlier today. The actual error message was something along the lines of "cannot find ssl.h in include directory in /usr" .. which basically means openssl-devel wasn't installed.

I ran
Code:
up2date -u openssl-devel
and then ran ./build all again, and it worked fine.

John

(Note these types of errors can be emailed straight to [email protected] for fastest response.)
 
Back
Top