Topic: Install issues
dolamite

Freshman
Freshman
Posts: 6

Posted:
29.Aug 2006 - 03:54

Well, i have read many a forum here, i get to the database part and i get

Fatal error: Call to undefined function mysql_connect() in C:\PostNuke-0.762\HTML\includes\classes\adodb\drivers\adodb-mysql.inc.php on line 350

I remmed out the mysql line in php.ini, and have followed all the guidelines. Anyone have any clues??

BTW, Im runnin, server 2k3, PHP 5.1.6, mySQL 5.0.11, and the latest PN..762.

I have made the database and have a username and password for it as well, for whatever reason, cant get it to work.

Thanks for all the help in adavance.
Simon
online
avatar
Steering Committee
Steering Committee
Posts: 13427

Posted:
29.Aug 2006 - 04:41

You appear to have installed PHP and not activated the MySQL support. Check the PHP manual for instructions on how to do this.

--
Regards,
Simon

itbegins.co.uk - Zikula Consulting

Please read the Support Guide
dolamite

Freshman
Freshman
Posts: 6

Posted:
29.Aug 2006 - 08:40

Here is the link according to PHP...

http://www.php.net/manual/en/ref.mysql.php

in which I have done both, but still get that same error, any other clues, I know this is not a direct PN error, but any help would greatly appreciated.

Again thank you.

:)
Teb
avatar
Professional
Professional
Posts: 501

Posted:
29.Aug 2006 - 16:55

Did http://www.php.net/manual/en/ref.mysql.php#50659 (comments by users) help?

--
-- Teb
-- Dutch Zikula Community


Support questions in a Personal Message will be ignored. Use the forums at all times!
dolamite

Freshman
Freshman
Posts: 6

Posted:
29.Aug 2006 - 19:34

Yep that worked, now lol, i get this...

Write error unable to update your 'config.php' file
You will have to modify this file yourself using a text editor.
Here are the changes required:
$pnconfig['dbtype'] = 'mysql';
$pnconfig['dbtabletype'] = 'myisam';
$pnconfig['dbhost'] = 'localhost';
$pnconfig['dbuname'] = 'xxxx';
$pnconfig['dbpass'] = 'xxxx';
$pnconfig['dbname'] = 'forum';
$pnconfig['prefix'] = 'PN';

And the config.php file has write permissions.

Any clues with that??
And i did edite it to what it says and i still get same issue.



edited by: dolamite, Aug 29, 2006 - 08:34 AM
dolamite

Freshman
Freshman
Posts: 6

Posted:
30.Aug 2006 - 00:20

Thanks all, got it to work just wonderfull, had to change the perms on config/config-old.php. Now if i can only get PHP mail to work....
dolamite

Freshman
Freshman
Posts: 6

Posted:
30.Aug 2006 - 03:41

well everything is up and running, except, when i have a new user register, they get this error after fillin gout the info.


1366: Incorrect integer value: '' for column 'pn_user_viewemail' at row 1

Any thoughts??
Teb
avatar
Professional
Professional
Posts: 501

Posted:
30.Aug 2006 - 14:10

I think this ahs already been replied. The forum search with keywords pn_user_viewemail row will get you here or here.

--
-- Teb
-- Dutch Zikula Community


Support questions in a Personal Message will be ignored. Use the forums at all times!
dolamite

Freshman
Freshman
Posts: 6

Posted:
1.Sep 2006 - 20:20

OK, my last question, I have everything up and running.... http://www.sohknox.com
But when a new user registers, it dones not send them an email, how do I get it to do that?? The box says if i leave it blank under user reg. config, what do i put in box fopr it to send them an e-mail.??



edited by: dolamite, Sep 01, 2006 - 09:20 AM
videokid
avatar
Professional
Professional
Posts: 924

Posted:
1.Sep 2006 - 20:33

dolamite

The box says if i leave it blank under user reg. config, what do i put in box fopr it to send them an e-mail.??

that's for you or a third person to receive an E-Mail when some registers.
Test your http://www.sohknox.com/index.php?module=Mailer&type=admin

-Igor


--
Have a nice day
zikulapro.be is currently running
Zikula 1.0.2