After new update , i get this problem fron PHP !

.::Gsmdenis::.

Verified User
Joined
Jun 15, 2007
Messages
102
After new update , i get this problem fron PHP !

This is my OS :

Apache: 2.2.11
Dovecot: 1.1.7
AWstats: 6.8
Exim: no
exim.conf update: yes
MySQL: 5.1.30
MySQL backup: yes
PHP: 5.2.8 as CLI with mail() header patch
phpMyAdmin: 3.1.1-all-languages
ProFTPD: 1.3.1
Atmail webmail: 1.02
RoundCube webmail: 0.1.1
Replace "php.ini" with './build all' and './build php-ini': yes
Replace "php.ini" using type: recommended
Run "clean" every time: yes
Run "clean_old_webapps" every time: no
Show texts in bold: yes
SquirrelMail: 1.4.17
UebiMiau: 3.11


Few days ago , i have update the Mysql and Php also apache to lastest version , but after update , my vBulletin forum one of section :


Statistics & Logs
Transaction Log and Transaction Stats don;t working any more , seen's php have lost something which did not support :

preg_match / str_replace preg_replace / mb_convert_encoding / iconv file_get_contents
any more !


Please give me some suggest about this issue !

BTW, i have try to do the version back , but same !

Thanks a million times !

BR.,

Denis
 
Does is say those functions don't exist.. or does it say they're disabled?

Check the /usr/local/Zend/etc/php.ini (should be linked from /usr/local/lib/php.ini)... and see if you have any of the above commands set in your:

disable_functions=

section.

John
 
hi , john!

i have closed disable_functions for all , but it;s same !

and i have make some test for php : [check]

look php?do=options(&&)dogroup=

seen's xml_parse_into_struct have problem !

BR.,

denis
 
i back here again , explian the issue:


the PHP files:

PHP:
$file = "ct.xml";
$xml_parser = xml_parser_create();
if (!($fp = fopen($file, "r"))) {
   die("could not open XML input");
}
$data = fread($fp, filesize($file));
fclose($fp);
xml_parse_into_struct($xml_parser, $data, $vals, $index);


echo "<pre>";
print_r ($vals);
echo "</pre>";
xml_parser_free($xml_parser);
exit;


The XML files:

HTML:
<?xml version="1.0" encoding="UTF-8"?>
		<navoption>
			<link>options.php?do=options(&<>&<>&<>)dogroup=buypoint</link>
		</navoption>


now we named the php files to test1.php

put is on my server and running :

i get :


PHP:
Array
(
    [0] => Array
        (
            [tag] => NAVOPTION
            [type] => open
            [level] => 1
            [value] => 
			
        )

    [1] => Array
        (
            [tag] => LINK
            [type] => complete
            [level] => 2
            [value] => options.php?do=options()dogroup=buypoint
        )

    [2] => Array
        (
            [tag] => NAVOPTION
            [value] => 
		
            [type] => cdata
            [level] => 1
        )

    [3] => Array
        (
            [tag] => NAVOPTION
            [type] => close
            [level] => 1
        )

)

But in fact we need to get like below:

PHP:
Array
(
    [0] => Array
        (
            [tag] => NAVOPTION
            [type] => open
            [level] => 1
            [value] => 
			
        )

    [1] => Array
        (
            [tag] => LINK
            [type] => complete
            [level] => 2
            [value] => options.php?do=options(&<>&<>&<>)dogroup=buypoint
        )

    [2] => Array
        (
            [tag] => NAVOPTION
            [value] => 
		
            [type] => cdata
            [level] => 1
        )

    [3] => Array
        (
            [tag] => NAVOPTION
            [type] => close
            [level] => 1
        )

)

what is differ above :

Incorrect one:

PHP:
 [value] => options.php?do=options()dogroup=buypoint

correct one :

PHP:
[value] => options.php?do=options(&<>&<>&<>)dogroup=buypoint


Please help me fix the issue , thanks advance !


BR.,

denis
 
Thanks Martynas Bendorius fast reply get fast help for fix my problem !


Let me Thanks a million a million a million a million a million times :-)

BR.,


Denis
 
Back
Top