Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 3 1 2 3
#198526 11/27/2003 6:23 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Can somebody have a look at my ftp files? I have rehacked it several times... frown


Webmaster of d-talk & Kabel-Forum.com
Sponsored Links
#198527 11/27/2003 12:11 PM
Joined: Oct 2000
Posts: 2,667
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,667
Quote
quote:
Originally posted by d-talk:
Can somebody have a look at my ftp files? I have rehacked it several times... frown
it seems you are missing the hits files just add them manually


Do you believe in love at first sight,
or should I walk by again?
#198528 11/27/2003 12:13 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi charles, a blank hit.cgi does also not work... can you have a look at my files... / sorry I know you have no time, but a forum wihtout hits is not possible for me...


Webmaster of d-talk & Kabel-Forum.com
#198529 11/27/2003 12:39 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
create a hit.cgi with the following in it...

Code
%hits = (
q!forum! => q!>>THE NUMBER OF THE FORUM<<!,
);


1;
where if you were making this Forum1/hits.cgi, the number of the forum is 1.

try that

#198530 11/27/2003 2:03 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
after FTPing to d-talks test board, I fixed his problem. for anyone else who experiences the File doesn't exist error, do this...

In ubb_forum.cgi
Code
FIND:
&RequireVars("$vars_config{NonCGIPath}/$exact_path/hits.cgi");

REPLACE WITH:
if (&FileExists("$vars_config{NonCGIPath}/$exact_path/hits.cgi")) {
&RequireVars("$vars_config{NonCGIPath}/$exact_path/hits.cgi");
}
For those of whom don't get an error, but the numbers still won't show...


Code
$ThisHTML .= &topic_row;
$topicnums .= "$one|";
}
$ThisHTML .= &page_bottom($had_stickies, $had_polls, $had_hots, $had_moves, $had_locks, $topicnums);
# $ThisHTML .= $Footer;
that's what lines ~ 548 - ~552 should look like it was an error in the install txt

Sponsored Links
#198531 12/01/2003 12:31 AM
Joined: Nov 2001
Posts: 28
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 28
Thanks Weird Al, I got it working with your code.

#198532 12/01/2003 11: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
text file updated with all published fixes smile

https://www.ubbdev.com/ubb/upload/00000494/hit66.txt


- Allen wavey
- What Drives You?
#198533 01/02/2004 8:05 AM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Hi Lk,

can you post the modifications for 6.7, you haa changed my files at my testboard...


Webmaster of d-talk & Kabel-Forum.com
#198534 01/02/2004 2:03 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
The only changes were in ultimatebb.php, where you hacked incorrectly, and ubb_hits.cgi...

#198535 01/02/2004 2:29 PM
Joined: May 2001
Posts: 684
Code Monkey
Code Monkey
Offline
Joined: May 2001
Posts: 684
Thank you LK!!! thumbsup


Webmaster of d-talk & Kabel-Forum.com
Sponsored Links
#198536 02/04/2004 7:40 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
What changes were needed for ubb_hits.cgi?

I'm not seeing any errors, but I'm not seeing the hits either smile

http://www.praisecafe.org/thelink/cgi/ultimatebb.cgi?ubb=forum;f=3


- Allen wavey
- What Drives You?
#198537 02/04/2004 9:44 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
allen, you might need to add the use vars (40 lines of variables); line like in the shoutbox

#198538 02/04/2004 11:40 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
that's fixed it. smile Thanks.

When I turn on the php accelerator I get a runtime error... something with the javascript in ubb_hits.cgi is buggin - are there updated instructions maybe? smile


- Allen wavey
- What Drives You?
#198539 02/04/2004 11:46 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
hmmmm.. ok, seems to be worked out now smile Maybe I should post the new files. I'll get it if LK doesn't have time in the next couple of days smile


- Allen wavey
- What Drives You?
#198540 02/04/2004 11:49 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Quote
quote:

Software error:


Undefined subroutine &main::InitImportantStuff called at ubb_hits.cgi line 66.




For help, please send mail to the webmaster ([email protected]), giving this error message
and the time and date of the error.
Allen, that's the error being returned, can you make heads or tails of it?

#198541 02/05/2004 12:33 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
where are you seeing that?

I got it, but it cleared up once I moved the initimportantstuff line below the require ubb_lib.cgi line smile


- Allen wavey
- What Drives You?
#198542 02/05/2004 8:46 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Mozilla Firebird gives the most amazing js errors, none of that "something went wrong" errors IE gives you

#198543 02/05/2004 11:12 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
yeah, this ms script debugger is pretty good too smile


- Allen wavey
- What Drives You?
#198544 12/07/2004 12:32 PM
Joined: Apr 2003
Posts: 9
Junior Member
Junior Member
Offline
Joined: Apr 2003
Posts: 9
Having the same prob that Ellen and Hanjo had. Using 6.5 and hit column remains empty. I can't seem to isolate what they did to get it to work. I am using IE and added the $topicnums .= "$one|"; above and also added , $topicnums at the end of the HTML string.
Any help would be appreciated.

#198545 12/09/2004 12:00 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
Which version of this mod are you using?


- Allen wavey
- What Drives You?
#198546 12/09/2004 1:15 PM
Joined: Apr 2003
Posts: 9
Junior Member
Junior Member
Offline
Joined: Apr 2003
Posts: 9
The one from the first page of this post. hit64.zip version 2.0

#198547 12/09/2004 1:39 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
What's your board's URL?

#198548 12/09/2004 1:52 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2

#198549 03/05/2005 11:37 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Allen, Ian

I have the same problem, it doesn't show any hits

http://romanianational.com/ubb/ultimatebb.php/ubb/forum/f/7

I hacked everything like 4 times, same thing.

in in ubb_forum I have:

Code
 $ThisHTML .= &topic_row;

}
$ThisHTML .= &page_bottom; # some HTML
which I modified to:

Code
 $ThisHTML .= &topic_row;
$topicnums .= "$one|";

}
$ThisHTML .= &page_bottom($topicnums); # some HTML
and still doesnt work. also the color of the background of the last colums is ..something wrong with it. I looked at PraiseCafee and LKworld to see the difference, they look cool.

Can you tell me what is wrong?

Thank you,
Felix

#198550 03/06/2005 12:32 AM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
did you CHMOD ubb_hits.cgi to 755?

#198551 03/06/2005 2:43 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Yes I did. Actually I even tried 777, same thing frown

#198552 03/06/2005 3:37 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Something strange....today, the hits showed, without doing absolutelly anything! ?? last night didn't work, this morning didn't work. All of a sudden today, the page took longer to load and when it did it showed the Hits. crazy...

Ian, do you know what should I do about that last column? the background color I mean.

Thank you,

Felix

#198553 03/06/2005 5:11 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
see if you have something like

Code
my $cols = ($vars_display{LastPostColOpt} eq "OFF" ? 5 : 6);
in your ubb_forum.cgi. if so, increase each number by 1

#198554 03/06/2005 7:57 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
It was actually in in "public_pntf_summary.pl"

Quote
quote:
I chaneged to number 6 to accomodate the new column. Love that stuff!

Thanks Ian,
Felix
#198555 03/06/2005 8:10 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
Sorry Ian, I must have been editing the post while you were reading it.

I appreciate the you promptitude, you are always on the ball smile

Felix

#198556 03/06/2005 8:25 PM
Joined: Oct 2002
Posts: 394
Enthusiast
Enthusiast
Offline
Joined: Oct 2002
Posts: 394
just in case somebody else needs it.

you have to add "($topicnums);" to the original script:

Code
		$ThisHTML .= &topic_row;
$topicnums .= "$one|";
}
$ThisHTML .= &page_bottom; # some HTML
so it will look like this:

Code
	$ThisHTML .= &topic_row;
$topicnums .= "$one|";

}
$ThisHTML .= &page_bottom($topicnums); # some HTML
Felix

#198557 03/17/2006 4:23 AM
Joined: Nov 2003
Posts: 35
User
User
Offline
Joined: Nov 2003
Posts: 35
When I turn on the Accelerator I get this error:

"Accelerator Error:
I can't seem to open the existing hits file (

/home/cash/public_html/ubb/ubb/Forum12/hits.cgi
)
Check that its parent directory exists. Perhaps the path is incorrect?"

Path is correct, the hits.cgi are set at 777 and ultimatebb.php permission is at 646.
Any ideas? this error is also mentioned on page 2 of this thread, but I could not see a solution.

#198558 03/19/2006 2:54 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Cash, first of all be sure that the path is exact, with "/ubb/ubb". If it is correct, try to change ultimatebb.php's permission to 777, 755, 644, etc.

#198559 03/24/2006 4:50 PM
Joined: Nov 2003
Posts: 35
User
User
Offline
Joined: Nov 2003
Posts: 35
Yep, looks like it worked. I changed ultimate.php s permission to 644 ( don't know why it was on 646) and that solved it wink

Page 3 of 3 1 2 3

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
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
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)