|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Can somebody have a look at my ftp files? I have rehacked it several times... 
|
|
|
|
Joined: Oct 2000
Posts: 2,667
Veteran
|
Veteran
Joined: Oct 2000
Posts: 2,667 |
quote: Originally posted by d-talk: Can somebody have a look at my ftp files? I have rehacked it several times... 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?
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
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...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
create a hit.cgi with the following in it... %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
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
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 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... $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
|
|
|
|
Joined: Nov 2001
Posts: 28
Junior Member
|
Junior Member
Joined: Nov 2001
Posts: 28 |
Thanks Weird Al, I got it working with your code.
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Hi Lk,
can you post the modifications for 6.7, you haa changed my files at my testboard...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
The only changes were in ultimatebb.php, where you hacked incorrectly, and ubb_hits.cgi...
|
|
|
|
Joined: May 2001
Posts: 684
Code Monkey
|
Code Monkey
Joined: May 2001
Posts: 684 |
Thank you LK!!! 
|
|
|
|
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 http://www.praisecafe.org/thelink/cgi/ultimatebb.cgi?ubb=forum;f=3
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
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
|
|
|
|
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.  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? 
|
|
|
|
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  Maybe I should post the new files. I'll get it if LK doesn't have time in the next couple of days 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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?
|
|
|
|
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 
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
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
|
|
|
|
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 
|
|
|
|
Joined: Apr 2003
Posts: 9
Junior Member
|
Junior Member
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.
|
|
|
|
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?
|
|
|
|
Joined: Apr 2003
Posts: 9
Junior Member
|
Junior Member
Joined: Apr 2003
Posts: 9 |
The one from the first page of this post. hit64.zip version 2.0
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
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: $ThisHTML .= &topic_row; } $ThisHTML .= &page_bottom; # some HTML which I modified to: $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
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
did you CHMOD ubb_hits.cgi to 755?
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
Yes I did. Actually I even tried 777, same thing 
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
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
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
see if you have something like my $cols = ($vars_display{LastPostColOpt} eq "OFF" ? 5 : 6); in your ubb_forum.cgi. if so, increase each number by 1
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
It was actually in in "public_pntf_summary.pl" quote: I chaneged to number 6 to accomodate the new column. Love that stuff!
Thanks Ian, Felix
| |
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
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 Felix
|
|
|
|
Joined: Oct 2002
Posts: 394
Enthusiast
|
Enthusiast
Joined: Oct 2002
Posts: 394 |
just in case somebody else needs it. you have to add " ($topicnums);" to the original script: $ThisHTML .= &topic_row; $topicnums .= "$one|"; } $ThisHTML .= &page_bottom; # some HTML so it will look like this: $ThisHTML .= &topic_row; $topicnums .= "$one|";
} $ThisHTML .= &page_bottom($topicnums); # some HTML Felix
|
|
|
|
Joined: Nov 2003
Posts: 35
User
|
User
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.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
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.
|
|
|
|
Joined: Nov 2003
Posts: 35
User
|
User
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 
|
|
|
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.
|
|
Posts: 449
Joined: February 2008
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|