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

bug fopen() function checkOut #24

Open
GoogleCodeExporter opened this issue May 18, 2015 · 0 comments
Open

bug fopen() function checkOut #24

GoogleCodeExporter opened this issue May 18, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Hey,

Nice PHP class, i'm using this for an OpenAtrium project and looks like this is 
a winner :).  I'm a mac OSX user and I had a little problem with copying the 
files from my svn server to my personal directory. Maybe the PHP function 
fopen() has changed a little (i don't know) but the problem was the script was 
pointing to a directory and not to a file. I received following warning:

[03-Jul-2012 10:49:03] PHP Warning:  
fopen(/Applications/MAMP/Dropbox/htdocs/SVNmang/svn/trunk/) [<a 
href='function.fopen'>function.fopen</a>]: failed to open stream: Is a 
directory in /Applications/MAMP/Dropbox/htdocs/SVNmang/svn/phpsvnclient.php on 
line 258


I changed  this line (255) in phpsvnclient.php

//Write to file
 $hOut = @fopen($createPath.$path, 'w');
fwrite($hOut, $contents);
fclose($hOut);



Original issue reported on code.google.com by [email protected] on 3 Jul 2012 at 8:54

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

No branches or pull requests

1 participant