The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 23, 2019, 06:17:12 AM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: 0.5d testinstall.php script update  (Read 2249 times)
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« on: June 19, 2008, 12:14:50 AM »

Hey all - dink found a tiny bug in the testinstall script. It's patched in the downloadable tar.gz and zip file, but you can do it yourself quite easily. If you downloaded the file before the timestamp of this post then you have the problem. If you are reading this and haven't downloaded yet, you'll be just fine downloading it.

The problem is the script errantly reporting that the long command handler ("Prompt Handler") is not working. To fix it, open up the testinstall.php script and scroll to line 158, where you'll find the following lines of code. They are the only lines like it in the entire file:

Code:
$req->authName = $connections[$currCon]['authname'];
$req->authPass = $connections[$currCon]['authpass'];

They need to be changed to reference the zeroth connection record like this:
Code:
$req->authName = $connections[0]['authname'];
$req->authPass = $connections[0]['authpass'];

(that's a zero)

That's it! Thanks Dink!

/p
« Last Edit: June 19, 2008, 12:35:16 AM by perkiset » Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
dink
Expert
****
Offline Offline

Posts: 349


View Profile
« Reply #1 on: June 19, 2008, 12:29:28 AM »

 Grin
Logged

[quote Nutballs]
the universe has a giant fist, and its got enough whoop ass for everyone.
[/quote]
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!