Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 8 1 2 3 4 5 6 7 8
#149900 11/03/2001 10:27 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I forgot 1 line in Canvey's bug bugfix! wink

ZIP/MHK files updated, upload the new ubb_lib_calendar.cgi.

Sponsored Links
#149901 11/03/2001 10:34 AM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
LK could you tell us what line you modified ?

thanks smile


Do you believe in love at first sight,
or should I walk by again?
#149902 11/03/2001 10:44 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Above:
Code
code:
Add
Code
code:

#149903 11/03/2001 10:12 PM
Joined: May 2001
Posts: 56
RTM Offline
Member
Member
Offline
Joined: May 2001
Posts: 56
Excellent, seems to be running smoothly now! I noticed that there are no more event serial numbers in the events file. Interesting... ;-)

I will start indepth testing, and we will probably launch our calendar tomorrow on our public site if all goes well...

Again, thanks and congrats LK and Jordo wink

Rob

#149904 11/04/2001 4:04 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Anyone else getting strange results trying to use the mhp file? It's throwing errors finding code in the cp_*.cgi files and when I run the hack it seems to be doing something really strange - code is added that the mhp doesn't call for and other code disappears... ???

Does the multihack tend to cache old files? I've deleted the output folder files and restarted the program, but it seems like ghost files appear when running the calendar.mhp cuz the differences are things I remember from the old 1.6 version. (it added:
require "$vars_config{VariablesPath}/vars_wordlets_calendar.cgi";

to the spot in cp.cgi that an earlier version would have and I don't see this in recent versions of the calendar mod.


I'll probably reboot and see if the memory or temp file folder gets cleared.

[ 11-04-2001: Message edited by: AllenAyres ]


- Allen wavey
- What Drives You?
Sponsored Links
#149905 11/04/2001 10:43 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Calendar Hack 1.9 released, now it uses [32] and another way since I got some information about 6.2 laugh

Rehack: ubb_profile.cgi, ubb_lib_posting.cgi, ubb_registration.cgi, ubb_lib_files.cgi (to decrease 55 to 32), public_display_profile.pl.

Use upgrade19.cgi to upgrade from 1.6/1.7/1.8, and don't forget to BACKUP YOUR MEMBERS DIR FIRST!! wink

[ 11-06-2001: Message edited by: LK ]

#149906 11/04/2001 11:34 AM
Joined: Jun 2001
Posts: 729
Coder
Coder
Offline
Joined: Jun 2001
Posts: 729
Installed on test system and working. Thank you for updating the MHK as well as it made my install painless smile

#149907 11/04/2001 11:52 AM
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
I get this when trying to update member files

Undefined subroutine &main::StandardHTML called at /www/reeftalk/test/cgi-bin/ubb_lib_files.cgi line 829.

this is from upgrade19.cgi

#149908 11/04/2001 12:27 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
ZIP file updated with an updated upgrade19.cgi, now it checks if the file exists first and it also stops every 300 users to prevent cgi timeout error.

omegatron, try again with the new file.

#149909 11/04/2001 2:05 PM
Joined: Feb 2002
Posts: 2,286
Veteran
Veteran
Joined: Feb 2002
Posts: 2,286
Hi LK,

I ran the upgrade, and had the following result..

00000000 member not found.
Success! File removed for security purposes.

Is this correct?

Thanks as usual....

Canvey.


Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)
Sponsored Links
#149910 11/04/2001 2:12 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
member not found = it's shown up in memberslist.cgi but doesn't exist, so I made a check so ubb_lib_files.cgi won't make &StandardHTMLs. In other words, it means 'the file doesn't exist, we didn't modify it, but everything else is fine', so if there REALLY isn't 00000000 (and I don't think there is such thing wink ), it's fine.

#149911 11/04/2001 2:52 PM
Joined: Nov 2001
Posts: 96
Member
Member
Offline
Joined: Nov 2001
Posts: 96
Why should I upgrade from 1.8 to 1.9?

Quote
quote:
This is all the information we get about a minor upgrade? I don't have time to upgrade my hacks if there is no reason to.


"For who would lie idle when the king has returned?"
www.MinasTirith.com
#149912 11/04/2001 3:05 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
It makes the upgrading to 6.2 smoother, I think it's pretty important. You don't have to upgrade though, but I probably won't include upgrade*.cgi in the 6.2.0 ZIP so the users will have to manually fill in their birthdate.

#149913 11/04/2001 3:10 PM
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
I got the same thing? 000000 not found. Now I checked some member files and the birthdates are in the 32 lines in backwards format but they are still down in the 54th line as well. Should this be what happens? the custom status thing uses line 55

#149914 11/04/2001 3:19 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
No, if I understand what you mean it shouldn't be like that and in my board it's not like that, but if it works, there is no problem wink

Can you send me a members file (password/etc censored, ofcourse) for example?

Also I forgot to include the new public_display_profile.pl part, please download the new ZIP/MHK and rehack it.

[ 11-04-2001: Message edited by: LK ]

#149915 11/04/2001 4:41 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Lookin good so far LK. All birthday fields were switched from 55 to 32 and put in the correct format. They aren't showing up when you click on the calendar tho... something I am missing here?


- Allen wavey
- What Drives You?
#149916 11/05/2001 7:07 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
They show up in the calendar only after the user edits his/her profile/registers, it doesn't check the profile fields.

[edit: that's odd, even when I update my profile it isn't shown up... works fine in my board confused

Try to rehack ubb_profile.cgi.]

[ 11-05-2001: Message edited by: LK ]

#149917 11/05/2001 5:33 PM
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
Weird error I am noticing. I have done no new hacking to my board. Yesterday I installed the new calendar and ran the upgrade program. I posted error above but yesterday I noticed my newestmemberline is gone from the board even though it is enabled in control panel and now new members can not register. They get a confirmation and everything but my members directory does not have the new files.

#149918 11/05/2001 7:56 PM
Joined: Feb 2001
Posts: 28
Member
Member
Offline
Joined: Feb 2001
Posts: 28
I havent upgraded to 1.9 yet, but with 1.8 I noticed that even when you uncheck "Click here to display birthday" and then hit update profile, it stays checked regardless. Also, when you view someones profile that supposedly doenst want their birthday displayed, it still shows up!

#149919 11/05/2001 8:06 PM
Joined: Sep 2001
Posts: 170
Member
Member
Offline
Joined: Sep 2001
Posts: 170
Tried updating ubb_lib_files.cgi, ubb_lib_posting.cgi. ubb_profile.cgi and ubb_registration.cgi, changed 55 to 32, then ran upgrade19.cgi. Below is what I got:


00000000 member not found.
Content-type: text/html
Software error:
Undefined subroutine &main::StandardHTML called at /home/wewfhfc/public_html/cgi-bin/roleplay/ubb_lib.cgi line 415.
For help, please send mail to the webmaster ([email protected]), giving this error message and the time and date of the error.

any ideas LK ???

FYI: this is lines 390-425 of ubb_lib.cgi

sub PostHackDetails {

my @message = @_;
my $called = &Tracer;

my $hackstring = "";


$hackstring .= "nHACK ATTEMPT DATE: $GotTime{LastLoginDT}n$_[1]nAttempt Details:nEnvironment:n";
foreach (sort keys %ENV) {
$hackstring .= "$_ t $ENV{$_}n";
}

$hackstring .= "nPassed to script:n";

foreach (sort keys %in) {
$hackstring .= "$_ t $in{$_}n";
}

$hackstring .= "nnTracer: $calledn";

$hackstring .= "-=- " x 20;

&AppendFileAsString("$vars_config{NonCGIPath}/hacklog.cgi", $hackstring);

&StandardHTML(join("", @message)); (line 415)

}

sub CheckBadChars { # check for | , ;, .. or >< character hack attempts
my $checkthis = shift;
if ($checkthis =~ /||;|<|>|..|*/) { #
&PostHackDetails("$vars_wordlets_err{hack_attempt_bad_char}");
}
return 1;
} # end SR


any ideas LK ???

[ 11-05-2001: Message edited by: MrStormyNights ]

#149920 11/05/2001 8:30 PM
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
nevermind my problem error was in ubb_registration.

#149921 11/05/2001 10:22 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
MrStormyNights, try to use the upgrade19.cgi in the new ZIP I've just updated.

[ 11-05-2001: Message edited by: LK ]

#149922 11/05/2001 10:27 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Quote
quote:
I'll look at it, I used the mhk file.


- Allen wavey
- What Drives You?
#149923 11/05/2001 10:35 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Allen, in ubb_profile.cgi here there is 'add' instead of 'yes' in the 'check to display birthday' thing...

MHK file updated.

[ 11-05-2001: Message edited by: LK ]

#149924 11/05/2001 11:04 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
it seems to be fixed now... thanks smile


- Allen wavey
- What Drives You?
#149925 11/05/2001 11:21 PM
Joined: Sep 2001
Posts: 170
Member
Member
Offline
Joined: Sep 2001
Posts: 170
OK LK, now I get this.

Software error:
Global symbol "$maxmemfields" requires explicit package name at /home/wewfhfc/public_html/cgi-bin/roleplay/upgrade19.cgi line 47. Global symbol "$maxmemfields" requires explicit package name at /home/wewfhfc/public_html/cgi-bin/roleplay/upgrade19.cgi line 47. Execution of /home/wewfhfc/public_html/cgi-bin/roleplay/upgrade19.cgi aborted due to compilation errors.
For help, please send mail to the webmaster ([email protected]), giving this error message and the time and date of the error.

#149926 11/05/2001 11:27 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Oops? wink

upgrade19.cgi file updated again, let's hope nobody has more than 300 fields in a user's profile wink

Also, public_display_profile.pl instructions modified, now if the user unchecks the checkbox it doesn't show it. (it's not important if you disabled this option)

[ 11-05-2001: Message edited by: LK ]

#149927 11/06/2001 12:03 AM
Joined: Sep 2001
Posts: 170
Member
Member
Offline
Joined: Sep 2001
Posts: 170
same thing with new file, how bout I give you the info for the site and you check it out?

#149928 11/06/2001 12:46 AM
Joined: Sep 2001
Posts: 170
Member
Member
Offline
Joined: Sep 2001
Posts: 170
Ok, new file works.

Question though, When upgrading from 1.7 to 1.9 do I just run the upgrade19.cgi and then upload the included files?

#149929 11/06/2001 5:55 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
And upgrade18.cgi wink

You should also rehack some files, check my 'new version' messages for a list.

[ 11-06-2001: Message edited by: LK ]

#149930 11/06/2001 9:55 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Found a very small bug, if you go to January 2000 it's changed to January 2nd instead of January 1st.

Get the new ubb_lib_calendar.cgi, the difference is in sub calendar_main.

#149931 11/06/2001 11:50 AM
Joined: Feb 2001
Posts: 28
Member
Member
Offline
Joined: Feb 2001
Posts: 28
getting this error all over the place:

Hack attempt logged or corrupt/altered member file found with extra fields. ('00000001')

I ran the upgrade18.cgi, then rehacked the files you mentioned for 1.9 and then tried to run upgrade1.9 and it gave me this error:

Global symbol "$maxmemfields" requires explicit package name at C:pathcgi-binupgrade19.cgi line 47. Global symbol "$maxmemfields" requires explicit package name at C:pathcgi-binupgrade19.cgi line 47. Execution of C:pathcgi-binupgrade19.cgi aborted due to compilation errors.

#149932 11/06/2001 11:53 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Manik: 1. Until you'll get upgrade19.cgi to work, use '55' instead of '32' in ubb_lib_files.cgi.

2. Are you sure you got the new ZIP? If line 27 is without "$maxmemfields", make it:
Code
code:

Please contact me in AIM if it doesn't help.

[ 11-06-2001: Message edited by: LK ]

#149933 11/06/2001 11:59 AM
Joined: May 2001
Posts: 22
med Offline
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 22
Hi... got a small problem and have no idea where to find bug.

When editing a profile, it always stats the Jan 01 date even when changing the date.
But the change is definitly made in the calendar.

Thanks for the help.

Med.

#149934 11/06/2001 12:07 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
med, rehack ubb_profile.cgi, the $user_profile[32] = .... part.

#149935 11/06/2001 12:14 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
[Fixed in AIM, proxy/Temporary Internet Files problem]

[ 11-06-2001: Message edited by: LK ]

#149936 11/06/2001 12:21 PM
Joined: May 2001
Posts: 22
med Offline
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 22
LK...

Thanks LK, really appreciated it! Works fine now (hehe...missed a line!)

Big up

Med.

#149937 11/06/2001 11:19 PM
Joined: Aug 2000
Posts: 594
Member
Member
Offline
Joined: Aug 2000
Posts: 594
I just downloaded the zip and it was empty?


jeremiah
#149938 11/07/2001 12:19 AM
Joined: Apr 2001
Posts: 3,266
Member
Member
Offline
Joined: Apr 2001
Posts: 3,266
LK,

I have a question. You spent all this time with making sure birthday is line 32. You said to be compliant with UBB 6.2? In 6.2 is there something special. Will those of us with lines after 50 have a problem. The only hack that uses anything higher than yours at 32 is stars hack which has a custom status at 54. Would it be worth my time to change this to 33 and hack member files putting it in line 33 to be compliant?

#149939 11/07/2001 12:25 AM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Quote
quote:
Yep, me too...

Page 2 of 8 1 2 3 4 5 6 7 8

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)