Welcome, Guest. Please Login or Register.
August 26, 2025, 01:28:52 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  English User Help  |  English Help  |  Error installing YaBBSE « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Error installing YaBBSE  (Read 531 times)
mats
Full Member
***
Posts: 219


You have more company with a penguin than a window

Error installing YaBBSE
« on: March 05, 2002, 03:00:34 PM »
Reply with quote

I hav esearch for this question but i cant find any answers so here whe go.

When i run the installer i get this after the second step:

Fatal error: Call to undefined function: mysql_connect() in /home/yabb/public_html/YaBBSE/install.php on line 102

If i try to login  in a shell it works perfekt.

If i run index with a modified Settings file i get this:

Fatal error: Call to undefined function: mysql_connect() in /home/yabb/public_html/YaBBSE/index.php on line 41

My question is (as you have guessed) whats happening?

Where do i start serching for the solution.
Logged

Support Specialist Level 2  YaBBSP1.3.1
Dave Smulders
YaBB SE Developer
YaBB God
*****
Posts: 608


WWW
Re:Error installing YaBBSE
« Reply #1 on: March 05, 2002, 03:12:30 PM »
Reply with quote

Hrmmm....where are you hosted?

Since it looks like you are on a modified PHP version. mysql_connect() is a standard function in PHP, they can only get it out by explicitly removing the library from the config.
Logged

mats
Full Member
***
Posts: 219


You have more company with a penguin than a window

Re:Error installing YaBBSE
« Reply #2 on: March 05, 2002, 03:22:11 PM »
Reply with quote

I have my own server with php ver 4.0.6
And its totally default installed.
View it at.

http://asarum.dns2go.com/~yabb/phpinfo.php

I am new to php and mysql so this is my first attempt.

YaBBSE and mysql is on the same server so there is no network connecting only locally
Logged

Support Specialist Level 2  YaBBSP1.3.1
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Error installing YaBBSE
« Reply #3 on: March 05, 2002, 03:42:12 PM »
Reply with quote

Make sure you compiled PHP to work with mySQL.
Logged

mats
Full Member
***
Posts: 219


You have more company with a penguin than a window

Re:Error installing YaBBSE
« Reply #4 on: March 05, 2002, 04:24:19 PM »
Reply with quote

I dont know how its compiled because i installed them together with the RedHat dist.
Is there anyway of checking if it supports MySql??
Logged

Support Specialist Level 2  YaBBSP1.3.1
Daniel Hofverberg
YaBB God
*****
Posts: 582


WWW
Re:Error installing YaBBSE
« Reply #5 on: March 06, 2002, 12:45:49 PM »
Reply with quote

I couldn't find anything about MySQL in your phpinfo(), so I would guess that's probably it...

By the way, nice with another user from Sweden on the boards - It is way too uncommon! Be sure to visit the Scandinavian board as well!
Logged
mats
Full Member
***
Posts: 219


You have more company with a penguin than a window

Re:Error installing YaBBSE
« Reply #6 on: March 06, 2002, 12:50:49 PM »
Reply with quote

Found this is in the configure command part:

--without-mysql'

Could be it

I will visit the scandinavian board
Logged

Support Specialist Level 2  YaBBSP1.3.1
Daniel Hofverberg
YaBB God
*****
Posts: 582


WWW
Re:Error installing YaBBSE
« Reply #7 on: March 06, 2002, 12:53:14 PM »
Reply with quote

Sounds very likely - "without-mysql" seems to imply that PHP is not set up to work with MySQL...

So I would guess that's most likely the problem.
Logged
mats
Full Member
***
Posts: 219


You have more company with a penguin than a window

Re:Error installing YaBBSE
« Reply #8 on: March 06, 2002, 01:34:22 PM »
Reply with quote

its my own private server so i have to recompile it.
Thanks for the help ;D
Logged

Support Specialist Level 2  YaBBSP1.3.1
mats
Full Member
***
Posts: 219


You have more company with a penguin than a window

Re:Error installing YaBBSE
« Reply #9 on: March 10, 2002, 11:24:27 AM »
Reply with quote

I got it working now
I just patched the php installation with support for mysql.

Thanks to all of you ;D
Logged

Support Specialist Level 2  YaBBSP1.3.1
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Error installing YaBBSE « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.033 seconds with 16 queries.