Page 1 of 1

Error install version 0.7

Posted: Tue Oct 12, 2004 9:49 am
by piratos
That is the result of the installscript step 2

Fatal error: Call to undefined function: session_name() in /srv/www/htdocs/simple/include.php on line 30

Am thos ist line 30

#Setup session with different id and start it
session_name("CMSSESSID");

Error install version 0.7

Posted: Tue Oct 12, 2004 9:58 am
by Ted
What are the php/platform details?

session_name() is supported for all php4 and php5 versions according to the documentation. http://us4.php.net/session_name

Error install version 0.7

Posted: Tue Oct 12, 2004 10:11 am
by piratos
Linux linux 2.6.5-7.108-default #1 Wed Aug 25 13:34:40 UTC 2004 i686
PHP Version 4.3.4
Apache/2.0.49 (Linux/SuSE)
Mysql 4.0.18

Browser
Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.3) Gecko/20040914

Error install version 0.7

Posted: Tue Oct 12, 2004 10:28 am
by Ted
My guess is that sessions were disabled somehow. Can you make a phpinfo script that is accessible to the internet somewhere?

Error install version 0.7

Posted: Tue Oct 12, 2004 11:23 am
by leen
piratos wrote:Linux linux 2.6.5-7.108-default #1 Wed Aug 25 13:34:40 UTC 2004 i686
PHP Version 4.3.4
Apache/2.0.49 (Linux/SuSE)
Mysql 4.0.18

Browser
Mozilla/5.0 (X11; U; Linux i686; de-AT; rv:1.7.3) Gecko/20040914
Seems you're running SuSE Linux 9.1. ;)

My guess is you did not install the php4-session package. Perhaps you need the other php4-* packages as well.

Cheers,

Leen

Error install version 0.7

Posted: Tue Oct 12, 2004 11:47 am
by Ted
php4-session? That's just silly. Practially every php4 app uses sessions these days. But, yeah, that sounds like the right answer to me.

Error install version 0.7

Posted: Tue Oct 12, 2004 12:22 pm
by leen
wishy wrote:php4-session? That's just silly. Practially every php4 app uses sessions these days. But, yeah, that sounds like the right answer to me.
There are 44 php4-*.i586.rpm packages in the 9.1 base repository, I have 42 installed. This is a change compared to 9.0, and someone who does not know about this, could come into trouble.

Cheers,

Leen

Error install version 0.7

Posted: Tue Oct 12, 2004 3:02 pm
by piratos
The reason why the error comes was simple.

It was a new installation of suse linux, because i mount a complete new motherboard and changed other hardware.

And this was the reason:
;session.save_path = /tmp

correct
session.save_path = /tmp

But now i changed the Version of some Software to:

phpmyadmin 2.6.0-pl1
PHP Version 4.3.9
Apache/2.0.52 (Linux/SUSE)


And then i attempt a new installation of cmsmadesimple and got another error.

Then i install the newest Version of adodb version 4.5.3 and this error was forgotten.

Error install version 0.7

Posted: Tue Oct 12, 2004 3:09 pm
by Ted
You installed the newest version of adodb? That should already be included in the CMS distro...

That's weird that having the /tmp dir commented out would shut off sessions, but I guess it makes sense.

At least it's working. :)

Error install version 0.7

Posted: Tue Oct 12, 2004 3:31 pm
by piratos
I don't compare it, but the changed datafiles of adodb have greater filesizes.

Error install version 0.7

Posted: Tue Oct 12, 2004 3:40 pm
by Anonymous
piratos wrote:It was a new installation of suse linux, because i mount a complete new motherboard and changed other hardware.
Hmm, I thought hardware changes are easily picked up by GNU/Linux?
piratos wrote:And this was the reason:
;session.save_path = /tmp

correct
session.save_path = /tmp
Thanks, I learned simething here. :)
piratos wrote:But now i changed the Version of some Software to:

phpmyadmin 2.6.0-pl1
PHP Version 4.3.9
Apache/2.0.52 (Linux/SUSE)
Hmm, interesting, where did you get those 3 from?
piratos wrote:And then i attempt a new installation of cmsmadesimple and got another error.
What error?
piratos wrote:Then i install the newest Version of adodb version 4.5.3 and this error was forgotten.
Glad you solved it! :)

Cheers,

Leen

Error install version 0.7

Posted: Tue Oct 12, 2004 5:27 pm
by piratos
1. new hardware
with linux simple but a new harddisk = new installation, new amd 64 bit mainboard = new installation

2. some errors are so simple and selfmade

3.php and apache from ftp.suse.com, phpmyadmin directly

Error install version 0.7

Posted: Wed Oct 13, 2004 10:07 am
by piratos
This is the second error i reported (adodb):
Fatal error: You must have the mysqli extension installed. in /opt/lampp/htdocs/simple/adodb/drivers/adodb-mysqli.inc.php on line 52

This error comes every time by new installation.

After copying the full adodb - version the error was killed.

Now i changed my configuration

MySQL 4.0.21
Apache/2.0.52 (Unix) mod_perl/1.99_13 Perl/v5.8.4 mod_ssl/2.0.52 OpenSSL/0.9.7d PHP/5.0.2 DAV/2

With php 5.02 (Suse Linux 9.1) no problems with the cms.

Error install version 0.7

Posted: Wed Oct 13, 2004 10:31 am
by Ted
Oh, I see. mysqli related issues. Yeah, I haven't fully tested this, as mysql 4.1 isn't in gentoo yet. I'm not completly surprised that it's not working fully yet.

Thanks for the heads up as to it being a problem.