05-21-2014, 06:48 PM
05-22-2014, 03:21 AM
(05-21-2014 06:48 PM)Blad3_sv Wrote: [ -> ]make a backup beforeHi. Thanks for sharing. I've replaced the codes, and now, the error is:
Code:
Parse error: syntax error, unexpected 'and' (T_LOGICAL_AND), expecting 'and' or variable (T_VARIABLE) in /home/xxxxx/public_html/includes/classes/rlHook.class.php on line 99
I've removed 'and', and the error is:
Code:
Fatal error: Call to undefined method reefless::wwwRedirect() in /home/xxxxx/public_html/index.php on line 7
The all rlhook.class.php look like this:
Code:
<!--?php
/****************************************************************************** ******************************************************************************/
class rlHook extends reefless{ /** * @var validator class object **/ var $rlValid; /** * @var common class object **/ var $rlCommon; /** * @var hooks array **/ var $rlHooks; /** * class constructor **/ function rlHook() { global $rlValid, $rlCommon; $this -> rlValid = $rlValid; $this -> rlCommon = $rlCommon; /* get hooks */ $this -> getHooks(); }
/** * get all active hooks * * @return array - hooks array **/ function getHooks() { $this -> setTable('hooks'); $tmp_hooks = $this -> fetch( array('Name', 'Code'), array('Status' => 'active') ); $this -> resetTable(); foreach ($tmp_hooks as $key => $value) { if (!$hooks[$tmp_hooks[$key]['Name']]) { $hooks[$tmp_hooks[$key]['Name']] = $tmp_hooks[$key]['Code']; } else { $tmp_hook = $hooks[$tmp_hooks[$key]['Name']]; unset($hooks[$tmp_hooks[$key]['Name']]); if (is_array($tmp_hook)) { $tmp_hook[] = $tmp_hooks[$key]['Code']; $hooks[$tmp_hooks[$key]['Name']] = $tmp_hook; } else { $hooks[$tmp_hooks[$key]['Name']][] = $tmp_hooks[$key]['Code']; $hooks[$tmp_hooks[$key]['Name']][] = $tmp_hook; } } unset($tmp_hook); }
unset($tmp_hooks); $this -> rlHooks = $hooks; $GLOBALS['hooks'] = $hooks; } /** * load hook * * @param string - hook name * **/function load( $name = false, $param1, $param2, $param3, $param4, $param5 ){if ( is_array($name) ){$name = $name['name'];$hooks = $GLOBALS['hooks'];}else{$hooks = $this -> rlHooks;}
$code = isset($hooks[$name]) ? $hooks[$name] : '';
if ( !empty($code) ){if ( is_array($code) ){foreach( $code as $item ){$func = "{$name}Hook". $this -> index;$wrapper = "function {$func}(and\$param1, and\$param2, and\$param3, and\$param4, and\$param5) { ". PHP_EOL;$wrapper .= "[code]". PHP_EOL;$wrapper .= "}";eval(str_replace('[code]', $item, $wrapper));$func($param1, $param2, $param3, $param4, $param5);$this -> index++;}}else{$func = "{$name}Hook". $this -> index;$wrapper = "function {$func}(and\$param1, and\$param2, and\$param3, and\$param4, and\$param5) { ". PHP_EOL;$wrapper .= "[code]". PHP_EOL;$wrapper .= "}";eval(str_replace('[code]', $code, $wrapper));$func($param1, $param2, $param3, $param4, $param5);$this -> index++;}}}}
05-22-2014, 05:54 PM
(05-21-2014 06:46 PM)Blad3_sv Wrote: [ -> ]Just installed clean 4.1 on php 5.4 - it works after the changes. If you still have problems let me know error message you see i will try to help.Are you sure you have flynax 4.1?
05-24-2014, 07:28 PM
(05-22-2014 05:54 PM)thehunters Wrote: [ -> ]Yes i,i have 4.1(05-21-2014 06:46 PM)Blad3_sv Wrote: [ -> ]Just installed clean 4.1 on php 5.4 - it works after the changes. If you still have problems let me know error message you see i will try to help.Are you sure you have flynax 4.1?
ASAP i will upload general.4.1
and i will try to write a tutorial also.
is better to install them directly to hosting.like 000webhost.c o m
05-24-2014, 09:49 PM
If you can't install this script,forgot about it.
1: download http://www74.zippyshare.com/v/74992335/file.html password : freeforall-by-mrqaid
2: install wamp 2.5 google it
3: after you install wamp you need to enable cURL (wampserver/PHP/PHP extension/php_curl click on it)
4: install ioncube for your wamp,google it
5: Restart WampSERVER
6: copy all folders to c://wamp/www/ (admin,backup,cron...index.php,robots.txt all)
7: acces in your fav browser localhost,and install it(when you install it disable www format,you gone use www format when you install online)
8: after that you need to modify some things
1. includes/classes/rlHook.class.php -- function load -- replace the function completely with the code
function load( $name = false, and$param1, and$param2, and$param3, and$param4, and$param5 )
{
if ( is_array($name) )
{
$name = $name['name'];
$hooks = $GLOBALS['hooks'];
}
else
{
$hooks = $this -> rlHooks;
}
$code = isset($hooks[$name]) ? $hooks[$name] : '';
if ( !empty($code) )
{
if ( is_array($code) )
{
foreach( $code as $item )
{
$func = "{$name}Hook". $this -> index;
$wrapper = "function {$func}(and\$param1, and\$param2, and\$param3, and\$param4, and\$param5) { ". PHP_EOL;
$wrapper .= "[code]". PHP_EOL;
$wrapper .= "}";
eval(str_replace('[code]', $item, $wrapper));
$func($param1, $param2, $param3, $param4, $param5);
$this -> index++;
}
}
else
{
$func = "{$name}Hook". $this -> index;
$wrapper = "function {$func}(and\$param1, and\$param2, and\$param3, and\$param4, and\$param5) { ". PHP_EOL;
$wrapper .= "[code]". PHP_EOL;
$wrapper .= "}";
eval(str_replace('[code]', $code, $wrapper));
$func($param1, $param2, $param3, $param4, $param5);
$this -> index++;
}
}
}
2. includes/classes/rlDebug.class.php -- line 37, line 43: function rlDebug
set_error_handler(array( "rDebug", "errorHandler"), E_ALL);
to
set_error_handler(array( $this, "errorHandler"), E_ALL);
thats all.
1: download http://www74.zippyshare.com/v/74992335/file.html password : freeforall-by-mrqaid
2: install wamp 2.5 google it
3: after you install wamp you need to enable cURL (wampserver/PHP/PHP extension/php_curl click on it)
4: install ioncube for your wamp,google it
5: Restart WampSERVER
6: copy all folders to c://wamp/www/ (admin,backup,cron...index.php,robots.txt all)
7: acces in your fav browser localhost,and install it(when you install it disable www format,you gone use www format when you install online)
8: after that you need to modify some things
1. includes/classes/rlHook.class.php -- function load -- replace the function completely with the code
function load( $name = false, and$param1, and$param2, and$param3, and$param4, and$param5 )
{
if ( is_array($name) )
{
$name = $name['name'];
$hooks = $GLOBALS['hooks'];
}
else
{
$hooks = $this -> rlHooks;
}
$code = isset($hooks[$name]) ? $hooks[$name] : '';
if ( !empty($code) )
{
if ( is_array($code) )
{
foreach( $code as $item )
{
$func = "{$name}Hook". $this -> index;
$wrapper = "function {$func}(and\$param1, and\$param2, and\$param3, and\$param4, and\$param5) { ". PHP_EOL;
$wrapper .= "[code]". PHP_EOL;
$wrapper .= "}";
eval(str_replace('[code]', $item, $wrapper));
$func($param1, $param2, $param3, $param4, $param5);
$this -> index++;
}
}
else
{
$func = "{$name}Hook". $this -> index;
$wrapper = "function {$func}(and\$param1, and\$param2, and\$param3, and\$param4, and\$param5) { ". PHP_EOL;
$wrapper .= "[code]". PHP_EOL;
$wrapper .= "}";
eval(str_replace('[code]', $code, $wrapper));
$func($param1, $param2, $param3, $param4, $param5);
$this -> index++;
}
}
}
2. includes/classes/rlDebug.class.php -- line 37, line 43: function rlDebug
set_error_handler(array( "rDebug", "errorHandler"), E_ALL);
to
set_error_handler(array( $this, "errorHandler"), E_ALL);
thats all.
05-25-2014, 07:51 AM
The script DOES NOT FINISH installing, at step 3. That means I CANNOT FINISH TO INSTALL IT online!
Finally, with all modifications, look at it:
IS BLANK!
the same problem seems to be here:
http://bestblackhatforum.com/Thread-GET-...#pid683091
is about INSTALLING ONLINE, NOT about working after install..
Finally, with all modifications, look at it:
IS BLANK!
the same problem seems to be here:
http://bestblackhatforum.com/Thread-GET-...#pid683091
is about INSTALLING ONLINE, NOT about working after install..
05-25-2014, 12:08 PM
http://www55.zippyshare.com/v/97743128/file.html
Try this one working on web , but u must have templates and plugins. coming from dump and yes working with templates and plugins
Try this one working on web , but u must have templates and plugins. coming from dump and yes working with templates and plugins
05-25-2014, 07:26 PM
(05-25-2014 07:51 AM)thehunters Wrote: [ -> ]The script DOES NOT FINISH installing, at step 3. That means I CANNOT FINISH TO INSTALL IT online!ok.but after you install it,if go to localhost,it should be work.
Finally, with all modifications, look at it:
IS BLANK!
the same problem seems to be here:
http://bestblackhatforum.com/Thread-GET-...#pid683091
is about INSTALLING ONLINE, NOT about working after install..
if you go to localhost you have errors ?
05-26-2014, 01:42 AM
What's the difference between localhost and some online hosting provider?
I guess, the hosting provider, triyng to serve a lot of people, have ALL necessary scripsts for all kind of webscripts, right?
Again, flynax is not so stupid, as to develop the scripts incompatibles with a server software...
By the way.. is ok if i use XAMP on my local server?
I guess, the hosting provider, triyng to serve a lot of people, have ALL necessary scripsts for all kind of webscripts, right?
Again, flynax is not so stupid, as to develop the scripts incompatibles with a server software...
By the way.. is ok if i use XAMP on my local server?
05-26-2014, 01:59 AM
(05-26-2014 01:42 AM)thehunters Wrote: [ -> ]What's the difference between localhost and some online hosting provider?i have auto flynax online http://autocafe.tk (undercontruction,i translate it in my language)host 000webhost
I guess, the hosting provider, triyng to serve a lot of people, have ALL necessary scripsts for all kind of webscripts, right?
Again, flynax is not so stupid, as to develop the scripts incompatibles with a server software...
By the way.. is ok if i use XAMP on my local server?
and, i don't know why,but with wamp 2.5 i met only problems
on host it was much better,just few :D
anyway this one, general classfieds,i just installed, and that's been ok.
but I have not tested in detail to see if it works completely.
I tried to test it and see that it has trouble adding listings.
it's somewhere in the folder 'includes' anyway