Running v1.9.9.1758 with PHP 6.0.0.dev

Posts from previous Beta sessions

Running v1.9.9.1758 with PHP 6.0.0.dev

Postby tuigii » Wed May 21, 2008 9:36 pm

I said to myself : why not trying to run a beta on a beta :wink:

Simply firering up PHP 6.0.0-dev (offered by my host to test drive) will blow a 500 in your face, if you have some luck. A blanc page is all you get.

But, just before the line where you find this :
Code: Select all
set_magic_quotes_runtime(0); 

you put this :
Code: Select all
if (!function_exists('set_magic_quotes_runtime')) {
    function 
set_magic_quotes_runtime($val) {
        if (
$val) {
            
// throw an error or do some work around 
        
}
    }


and just before the line where you find this :
Code: Select all
if( !get_magic_quotes_gpc() ) 

you put this :
Code: Select all
if(!function_exists('get_magic_quotes_gpc'))
{
    function 
get_magic_quotes_gpc()
    {
        return 
0;
    }

all this because these two function do not exist anymore in PHP 6 - because not needed anymore. Which is a good thing.

Some issues are still left, because I can't enter the config menus.
This barks up :
PHP Errors
lib/dbal/mysql.php
Runtime Notice line 337: Resource ID#10 used as offset, casting to integer (10)



IMHO : Please note that running WoWRoster 1.9.9.xxx on PHP 6 is NOT a top priority.
Last edited by tuigii on Wed May 21, 2008 9:39 pm, edited 2 times in total.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Running v1.9.9.1758 with PHP 6.0.0.dev

Postby zanix » Wed May 21, 2008 11:04 pm

Thanks for the testing tuigii
We will probably work on php6 compatibility "soon"
Last edited by zanix on Wed May 21, 2008 11:05 pm, edited 1 time in total.
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Running v1.9.9.1758 with PHP 6.0.0.dev

Postby AnthonyB » Mon May 26, 2008 1:10 pm

'soon'? You mean I can't upgrade the day it gets released? Dang, you know I hate running old versions of stuff!!!
Roster 2.0.2 svn [latest] latest trunk SVN svn [latest] running on IIS7/Windows Server 2008 SP2 | MySQL 5.0.85 | PHP 5.2.10 | Yes, Roster and PHP rocks on IIS! Even run as FastCGI extension!
User avatar
AnthonyB
Gimpy Developer
Gimpy Developer
 
Posts: 346
Joined: Tue Jul 04, 2006 2:44 pm
Location: Sydney, Australia


Return to Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron