
Petra.
Koodi: Valitse kaikki
http://www.strikeforce.dk/phpBB/index.php
Se vaatii seuraavia asioita:Lurttinen kirjoitti:Sorsan takomosta tuon voinee vielä ladata, mutta en muista mitä vaati. Käytännössä iänkaikkisen vanhan palvelimen jokatapauksessa.
PHP3, jne...
Osaako Lurttinen sanoa, mikä on uusin PHP:n versio, millä phpBB 1.4.4 toimii? Entä mikä on uusin MySQL:n versio, jolla phpBB 1.4.4 toimii?phpBB requires very little to run, and most well configured web servers
should be able to run phpBB. You need at least the following:
1 Web server w/PHP 3.0.15 or greater (Apache is know to work very well with phpBB)
1 MySQL server (phpBB has been tested on 3.22 and 3.23)
1 Admin crazy enough to run a forum (That would be you)
Löytyy esim. osoitteesta http://mysql.communitech.net/Downloads/MySQL-3.23/mrl586 kirjoitti:Löytyykö MySQL:n kolmosversion binaaritiedostoja (win32) netistä?
Koodi: Valitse kaikki
Warning: setcookie() expects parameter 3 to be long, string given in c:\program files\easyphp\www\phpbb\functions.php on line 72
Warning: Cannot add header information - headers already sent by (output started at c:\program files\easyphp\www\phpbb\functions.php:72) in c:\program files\easyphp\www\phpbb\login.php on line 66
Koodi: Valitse kaikki
/**
* Sets the sessID cookie for the given session ID. the $cookietime parameter
* is no longer used, but just hasn't been removed yet. It'll break all the modules
* (just login) that call this code when it gets removed.
* Sets a cookie with no specified expiry time. This makes the cookie last until the
* user's browser is closed. (at last that's the case in IE5 and NS4.7.. Haven't tried
* it with anything else.)
*/
function set_session_cookie($sessid, $cookietime, $cookiename, $cookiepath, $cookiedomain, $cookiesecure) {
// This sets a cookie that will persist until the user closes their browser window.
// since session expiry is handled on the server-side, cookie expiry time isn't a big deal.
setcookie($cookiename,$sessid,'',$cookiepath,$cookiedomain,$cookiesecure);
} // set_session_cookie()
Suosittelen jälkimmäistä vaihtoehtoa.Peetra kirjoitti:Mua kiinnostaisi nähdä, miltä toi aiempi versio näytti, ja toimi, onko kellään jokin url, josta voisin katsella, vai onko helpompaa itse ladata kotiin se ja asentaa uusi sellainen. (Silloinhan toki pääsisin ACP:hen.)
phpBB:n ykkösarjan viimeisessä versiossa on muutamia korjaamattomia haavoittuvuuksia. Esimerkkinä voisin vaikka mainita haavoittuvuuden, jolla saa hyvin helposti ylläpitäjän oikeudet. Tämän haavoittuvuuden hyödyntämiseen tarvitaan vain selain, jonka osoiteriville syötetään tietynlainen URL-osoite.Lurttinen kirjoitti:En ole siitäkään varma onko siihen olemassa haavoittuvuuksia, vai oliko kaikki kenties paikattu.
Taisin keksiä, mikä tässä on vikana. PHP:n manuaalin mukaan setcookie()-funktio tarvitsee parametrikseen mm. keksin homehtumisajan.mrl586 kirjoitti:Sain asennettua phpBB 1.4.4:n localhostille. Asennusskripti toimii ainakin PHP:n versiolla 4.2.0 ja MySQL:n versiolla 3.23.39. Asennuksen jälkeen näyttäisi kuitenkin olevan ongelmia, sillä kun koittaa kirjautua, ruudulle putkahtaa pari virheilmoitusta:functions.php-tiedoston rivit 60-74:Koodi: Valitse kaikki
Warning: setcookie() expects parameter 3 to be long, string given in c:\program files\easyphp\www\phpbb\functions.php on line 72 Warning: Cannot add header information - headers already sent by (output started at c:\program files\easyphp\www\phpbb\functions.php:72) in c:\program files\easyphp\www\phpbb\login.php on line 66
Koodi: Valitse kaikki
/** * Sets the sessID cookie for the given session ID. the $cookietime parameter * is no longer used, but just hasn't been removed yet. It'll break all the modules * (just login) that call this code when it gets removed. * Sets a cookie with no specified expiry time. This makes the cookie last until the * user's browser is closed. (at last that's the case in IE5 and NS4.7.. Haven't tried * it with anything else.) */ function set_session_cookie($sessid, $cookietime, $cookiename, $cookiepath, $cookiedomain, $cookiesecure) { // This sets a cookie that will persist until the user closes their browser window. // since session expiry is handled on the server-side, cookie expiry time isn't a big deal. setcookie($cookiename,$sessid,'',$cookiepath,$cookiedomain,$cookiesecure); } // set_session_cookie()
Käyttäjiä lukemassa tätä aluetta: Ei rekisteröityneitä käyttäjiä ja 240 vierailijaa