Welcome, Guest. Please Login or Register.
March 28, 2024, 02:02:08 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  YaBB SE Info  |  News From the YaBB SE Team  |  Ongoing open beta (1.5.1) - Current Build: 45 « previous next »
Pages: 1 ... 26 27 [28] 29 30 ... 59 Reply Ignore Print
Author Topic: Ongoing open beta (1.5.1) - Current Build: 45  (Read 383433 times)
Stevie
Noobie
*
Posts: 6


I'm a llama!

Re:Ongoing open beta (1.5.1)
« Reply #405 on: February 17, 2003, 12:12:53 PM »
Reply with quote

Quote from: [Unknown] on February 17, 2003, 12:33:14 AM
Quote from: [Unknown] on January 24, 2003, 03:18:16 AM
Current Build: 42

42:
- alright, log_online should not have any problems with messed up IPs.

Please, do not complain about problems in Subs.php circa line 1047 unless you have this new build.

-[Unknown]

The 'column identity cannot be null'-error is gone, but now I get a

Duplicate entry '0' for key 1

in line 1059. As far as I can see from the error log, the user returns 2 IP addresses....

Stevie

PHP: 4.2.1
MySQL: 3.23.53a
YaBBSE: 1.5.1 RC1 Build 42
Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Ongoing open beta (1.5.1)
« Reply #406 on: February 17, 2003, 01:20:38 PM »
Reply with quote

Quote from: MORT on February 17, 2003, 10:30:04 AM
haha a llama dies ....

so whats with the settings for mail in settings.php? :-\

(and im still getting the email your members problem ...)

Ummm.... the settings there don't work any more.  Change it in 'mods' settings.

As far as this log_online bug.... I've got yet another *ingenious* fix that's bound to cause more errors than it's solved.... ready?

Find this, in Subs.php:
   if ($ID_MEMBER == -1 && !empty($REMOTE_ADDR) && ip2long($REMOTE_ADDR) != -1)
   {
      $request = mysql_query ("
         DELETE FROM {$db_prefix}log_online
         WHERE logTime < " . ($logTime - 900) . "
            OR identity=INET_ATON('$REMOTE_ADDR')") or database_error(__FILE__, __LINE__);
      $request = mysql_query ("
         INSERT INTO {$db_prefix}log_online
            (identity, logTime)
         VALUES (INET_ATON('$REMOTE_ADDR'), $logTime)") or database_error(__FILE__, __LINE__);
   }
   else
   {
      $request = mysql_query ("
         DELETE FROM {$db_prefix}log_online
         WHERE logTime < " . ($logTime - 900) . "
            OR identity=$ID_MEMBER") or database_error(__FILE__, __LINE__);
      $request = mysql_query ("
         INSERT INTO {$db_prefix}log_online
            (identity, logTime)
         VALUES ($ID_MEMBER, $logTime)") or database_error(__FILE__, __LINE__);
   }


And replace it with...
   if ($ID_MEMBER == -1 && !empty($REMOTE_ADDR) && ip2long($REMOTE_ADDR) != -1)
   {
      $request = mysql_query ("
         DELETE FROM {$db_prefix}log_online
         WHERE logTime < " . ($logTime - 900) . "
            OR identity=INET_ATON('$REMOTE_ADDR')") or database_error(__FILE__, __LINE__);
      $request = mysql_query ("
         REPLACE INTO {$db_prefix}log_online
            (identity, logTime)
         VALUES (INET_ATON('$REMOTE_ADDR'), $logTime)") or database_error(__FILE__, __LINE__);
   }
   else
   {
      $request = mysql_query ("
         DELETE FROM {$db_prefix}log_online
         WHERE logTime < " . ($logTime - 900) . "
            OR identity=$ID_MEMBER") or database_error(__FILE__, __LINE__);
      $request = mysql_query ("
         REPLACE INTO {$db_prefix}log_online
            (identity, logTime)
         VALUES ($ID_MEMBER, $logTime)") or database_error(__FILE__, __LINE__);
   }


(remember, the board replaces tabs with three spaces.)

-[Unknown]
Logged
haase
Full Member
***
Posts: 224


Do you feel lucky?

Re:Ongoing open beta (1.5.1)
« Reply #407 on: February 17, 2003, 02:05:12 PM »
Reply with quote

*** nevermind - User Error ***
« Last Edit: February 17, 2003, 02:20:06 PM by greghaase » Logged
MORT
Full Member
***
Posts: 132


I like stuff ...

mort@dsl.pipex.com WWW
Re:Ongoing open beta (1.5.1)
« Reply #408 on: February 17, 2003, 03:17:50 PM »
Reply with quote

QuoteUmmm.... the settings there don't work any more.  Change it in 'mods' settings.

so really, shouldnt they be deleted from settings.php? :-\ ..


and where is the sendmail path defined btw?
Logged

-MORT
haase
Full Member
***
Posts: 224


Do you feel lucky?

Re:Ongoing open beta (1.5.1)
« Reply #409 on: February 17, 2003, 03:54:23 PM »
Reply with quote

In both the update and the full install, I think you've put the wrong version of register.gif in the packages.

Logged
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:Ongoing open beta (1.5.1)
« Reply #410 on: February 17, 2003, 04:22:48 PM »
Reply with quote

Quote from: greghaase on February 17, 2003, 03:54:23 PM
In both the update and the full install, I think you've put the wrong version of register.gif in the packages.



im_outbox.gif is also wrong.  Sorry about that.... I haven't gotten the new ones yet.

Update: they will be in the next build.

-[Unknown]
« Last Edit: February 17, 2003, 04:24:57 PM by [Unknown] » Logged
MuYu
Noobie
*
Posts: 5


Re:Ongoing open beta (1.5.1)
« Reply #411 on: February 17, 2003, 04:52:43 PM »
Reply with quote

Quote from: Gobalopper on February 17, 2003, 06:02:01 AM
MuYu that probably means you have something wrong with your attachment folder settings.

i'm not using attachment file settings
Logged

yok imza mimza :)
MORT
Full Member
***
Posts: 132


I like stuff ...

mort@dsl.pipex.com WWW
Re:Ongoing open beta (1.5.1)
« Reply #412 on: February 17, 2003, 04:56:35 PM »
Reply with quote

go into mod preferences and settings and set em then :-\
Logged

-MORT
Moggo
Noobie
*
Posts: 2


*hnnng*

ICQ - 124570459 WWW
Re:Ongoing open beta (1.5.1)
« Reply #413 on: February 17, 2003, 07:41:20 PM »
Reply with quote

Yay, well, first thank you for making this great Board.
I got 2 running YabbSEs and never had any Problems...

... until this Upgrade. I first screwed up my board applying the 1.5.0 Upgrade (resulting in veeeery strange MySQL errors) I kept getting logged out on every Page and some of the Images weren't working. I tryed fixing the problems on my own (result: none) and then applying the latest Update. (42) It said no errors (there was only ONE step in upgrade.php) but the errors are still the same.

Take a look for yourself

It's not a cookie-error, this Problem remains after deleting all cookies.

Can please somebody help me?
Logged


Yeah, i know, my english sounds like an Austrian ;)
PHPlugin
Sr. Member
****
Posts: 465


WWW
Re:Ongoing open beta (1.5.1)
« Reply #414 on: February 17, 2003, 10:32:50 PM »
Reply with quote

Reupload your YaBBImages directory.
Logged
Killer Possum
Sr. Member
****
Posts: 446


turboz3@msn.com WWW
Re:Ongoing open beta (1.5.1)
« Reply #415 on: February 17, 2003, 11:34:37 PM »
Reply with quote

Quote from: MuYu on February 17, 2003, 05:49:55 AM
remove topic bug ?

2: open_basedir restriction in effect. File is in wrong directory
(/usr/hosts/karegen/144/muyu61.org/web/batug/Sources/RemoveThread.php ln 44)


Try reuploading yoru RemoveThread.php file.

@ MORT: This is not an attacment settings problem... why are you making it one? As you can clearly see it has to do with removing topics... that's how MuYu got this error it seems.
Logged
Gobalopper
Mod Team
YaBB God
*****
Posts: 993


Cookie Monster

WWW
Re:Ongoing open beta (1.5.1)
« Reply #416 on: February 17, 2003, 11:49:40 PM »
Reply with quote

Killer Possum look at line 44 in RemoveThreads.php.

         unlink($modSettings['attachmentUploadDir'] . "/" . $row['attachmentFilename']);
Logged
Killer Possum
Sr. Member
****
Posts: 446


turboz3@msn.com WWW
Re:Ongoing open beta (1.5.1)
« Reply #417 on: February 17, 2003, 11:57:58 PM »
Reply with quote

hmm... odd... I've gone a really long time with the wrong attachment settings (just fixed em 2 nights ago acctually) and I've never had this problem... oh well... that's what I get for not knowing much about PHP and tryin to help out :-\
Logged
jack-uk
Full Member
***
Posts: 118


I'm a llamatron addict

Re:Ongoing open beta (1.5.1)
« Reply #418 on: February 18, 2003, 12:10:14 AM »
Reply with quote

Heh .. wish I'd noticed this one earlier .. I just had to make a mod to a friend's board (1.4) cos he couldn't delete a forum cos he'd deleted a file from the attachments dir.

I put in a check to see if the actual file was present before trying to delete each attachment.

I didn't realise it was still a problem in 1.5
« Last Edit: February 18, 2003, 12:11:15 AM by jack-uk » Logged

Killer Possum
Sr. Member
****
Posts: 446


turboz3@msn.com WWW
Re:Ongoing open beta (1.5.1)
« Reply #419 on: February 18, 2003, 12:41:21 AM »
Reply with quote

Quote from: jack-uk on February 18, 2003, 12:10:14 AM
Heh .. wish I'd noticed this one earlier .. I just had to make a mod to a friend's board (1.4) cos he couldn't delete a forum cos he'd deleted a file from the attachments dir.

I put in a check to see if the actual file was present before trying to delete each attachment.

I didn't realise it was still a problem in 1.5

Well as far as we know MuYu could be using 1.4. MuYu why don't you let us know what version your using for better assistance?
Logged
Pages: 1 ... 26 27 [28] 29 30 ... 59 Reply Ignore Print 
YaBB SE Community  |  YaBB SE Info  |  News From the YaBB SE Team  |  Ongoing open beta (1.5.1) - Current Build: 45 « 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.072 seconds with 19 queries.