Welcome, Guest. Please Login or Register.
April 26, 2025, 07:45:29 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  |  General Category  |  Feedback  |  requirments wrong at download page « previous next »
Pages: [1] Reply Ignore Print
Author Topic: requirments wrong at download page  (Read 939 times)
Rens
Noobie
*
Posts: 19


YaBB SE is as hot as this chick!

WWW
requirments wrong at download page
« on: April 19, 2002, 09:00:27 AM »
Reply with quote

at the download page:
PHP 4.0.4 or better
mySQL 3.22 or better
5Mb of webspace for a medium size board (Including database and 1.3Mb of files)


it should be MySQL 4.0 or better

that's because functions like mysql_fetch_assoc are used.. take a look at  http://www.php.net/manual/en/function.mysql-fetch-assoc.php !

on that page you can read: (PHP 4 >= 4.0.3)
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:requirments wrong at download page
« Reply #1 on: April 19, 2002, 09:12:55 AM »
Reply with quote

That page and this (PHP 4 >= 4.0.3) means you need PHP version 4.0.3 or higher, it has nothing to do with version of mySQL.

We're running 3.23 of mySQL here.
Logged

Rens
Noobie
*
Posts: 19


YaBB SE is as hot as this chick!

WWW
Re:requirments wrong at download page
« Reply #2 on: April 19, 2002, 09:33:39 AM »
Reply with quote

Quote from: Jeff Lewis on April 19, 2002, 09:12:55 AMThat page and this (PHP 4 >= 4.0.3) means you need PHP version 4.0.3 or higher, it has nothing to do with version of mySQL.

We're running 3.23 of mySQL here.

I am running MySQL 3.22.32

then why do I getting a error in line 103 of managecats.php (the exact error can't i post now because my ftp server is down)

it's gone when i replace mysql_fetch_assoc with mysql_fetch_row
and the I see how much cat's I have, but the name fields are empty and when trying to delete a category i get the error  "cat.moda is empty or not an object"
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:requirments wrong at download page
« Reply #3 on: April 19, 2002, 10:07:54 AM »
Reply with quote

What version of PHP are you running?  Have a phpinfo page?
Logged

Rens
Noobie
*
Posts: 19


YaBB SE is as hot as this chick!

WWW
Re:requirments wrong at download page
« Reply #4 on: April 19, 2002, 10:39:01 AM »
Reply with quote

this is my phpinfo page:

http://www.xxlwebhosting.net/phpinfo.php
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:requirments wrong at download page
« Reply #5 on: April 19, 2002, 12:50:53 PM »
Reply with quote

It's your PHP install, ask your host about it :)

The requirements aren't wrong on the homepage :)
Logged

Joseph Fung
Global Moderator
YaBB God
*****
Posts: 4512


Keep smiling: it makes others nervous.

WWW
Re:requirments wrong at download page
« Reply #6 on: April 19, 2002, 01:02:16 PM »
Reply with quote

instead of replacing it with mysql_fetch_row, use mysql_fetch_array

here's a quick explanation of the differences.

Say you are grabbing the fields Name, Email, PhoneNumber, ICQ and FavPositionInBed from a database.

When you get a record, it's in an array - if you use mysql_fetch_row, the array is as follows:
$resultArray = array (0 => value of Name,
      1 => value of Email,
      2 => value of PhoneNumber,
      3 => value of ICQ,
      4 => value of FavPositionInBed);
whereas if you use mysql_fetch_assoc the array will be
$resultArray = array ('Name' => value of Name,
      'Email' => value of Email,
      'PhoneNumber' => value of PhoneNumber,
      'ICQ' => value of ICQ,
      'FavPositionInBed' => value of FavPositionInBed);
and finally, if you use mysql_fetch_array you'll get
$resultArray = array (0 => value of Name,
      1 => value of Email,
      2 => value of PhoneNumber,
      3 => value of ICQ,
      4 => value of FavPositionInBed,
      'Name' => value of Name,
      'Email' => value of Email,
      'PhoneNumber' => value of PhoneNumber,
      'ICQ' => value of ICQ,
      'FavPositionInBed' => value of FavPositionInBed);

So the benefit of using fetch_row or fetch_assoc is that you have fewer indices.
Logged

Pages: [1] Reply Ignore Print 
YaBB SE Community  |  General Category  |  Feedback  |  requirments wrong at download page « 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.138 seconds with 16 queries.