Error install version 0.7

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
piratos

Error install version 0.7

Post 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");
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Error install version 0.7

Post 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
piratos

Error install version 0.7

Post 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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Error install version 0.7

Post by Ted »

My guess is that sessions were disabled somehow. Can you make a phpinfo script that is accessible to the internet somewhere?
leen

Error install version 0.7

Post 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
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Error install version 0.7

Post 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.
leen

Error install version 0.7

Post 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
piratos

Error install version 0.7

Post 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.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Error install version 0.7

Post 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. :)
piratos

Error install version 0.7

Post by piratos »

I don't compare it, but the changed datafiles of adodb have greater filesizes.
Anonymous

Error install version 0.7

Post 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
piratos

Error install version 0.7

Post 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
piratos

Error install version 0.7

Post 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.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Error install version 0.7

Post 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.
Locked

Return to “[locked] Installation, Setup and Upgrade”