Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WPE is too slow. ... and unstable. #3

Open
Tyrfing opened this issue Feb 3, 2012 · 3 comments
Open

WPE is too slow. ... and unstable. #3

Tyrfing opened this issue Feb 3, 2012 · 3 comments

Comments

@Tyrfing
Copy link
Collaborator

Tyrfing commented Feb 3, 2012

WPE is too slow.

... and unstable.

@msyk
Copy link
Collaborator

msyk commented Mar 9, 2012

Yes, it is. We can't resolve it so far.

@ecsos
Copy link
Contributor

ecsos commented Mar 11, 2012

I still use FMServer Advanced 10. It is fast as long as you make separate users for using -findquery, which slow the user down

@TyrfingMjolnir
Copy link
Collaborator

But do any of you use FMFOpenQuery?

It looks like this piece is missing in FX.php 6.0, snippet from my copy of FX.php 4.5.3
} elseif( $this->isFOpenQuery ) {
$f = fopen( $this->dataServer, 'rb' );
$data = '';
if( ! $f ) {
return new FX_Error( "Failed to retrieve FOpen( '" . $this->dataServer . "', 'rb' ) File not found?" );
} else {
while( ! feof( $f ) )
$data .= fread( $f, 4096 );
fclose( $f );
}
I see the $this->isPostQuery part is missing too, will grep

Found in: datasource_classes/RetrieveFM7Data.class.php

Now only the sample code is missing, but I guess it's better to read the function and reconstruct.

Made an example usage and wrote an "essay" about it here: https://github.com/TyrfingMjolnir/fxphp/blob/patch-3/Tutorials/FMFOpenExampleQuery.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants