Tuesday, July 1. 2008PHPurple v0.3 alpha releasedTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
I think GWT(Google Web Toolkit) offers a great AJAX solution for this product. It can be configured to work with PHP also.
Also, do you know on which version the Blist class will be removed ![]()
hm .. now i think it's a bad idea to remove it, it should stay and be deprecated while its functionality should be mirrored in the client
i try to use phpurple but when i execute your example, i have : Fatal error: Class 'PurpleClient' not found in /home/www/igloo.texom.com/index.php on line 6
Whereas i have purple in phpinfo() . Help me please ![]() Thanks A french fan
at the moment you should olny use cli ... and there, you can invoke it while in phpurple source dir with
`php -n -d extension_dir=.libs script.php` or copy the compiled module into your `php-config --extension-dir` cgi compatibility will come with the next release, so if you wanna then use it within a server, the second way would be prefferable
Hi Anatoliy, thanks for your great job!
I was installed the phpurple in my server (ubuntu hardy), all things look well(my phpinfo() show the info of phpurle, i can extends class from PurpleClient too), but i could not run your demo script above, it's said "Aborted", i also made a change in the script, just for my yahoo account: $client->addAccount("yahoo://nickname:password"); can you help me about this problem? Thanks in advance!
Hi Nam,
could you please send valgrind output? This can help to recognize where the leak happens. (Namely, it supposed to be unauthorized clients handling, but it might be anything.) Does the same happen with another protocol? regards Anatoliy
Hi, i'm forget to mention i can make and make install, but when i run make test it show:
===================================================================== CWD : /home/nam/Code/phpurple-0.3.0-alpha PHP : /usr/bin/php PHP_SAPI : cli PHP_VERSION : 5.2.4-2ubuntu5.3 ZEND_VERSION: 2.2.0 PHP_OS : Linux - Linux catalyst 2.6.24-20-generic #1 SMP Mon Jul 28 13:49:52 UTC 2008 i686 INI actual : /etc/php5/cli/php.ini More .INIs : /etc/php5/cli/conf.d/curl.ini,/etc/php5/cli/conf.d/mysql.ini,/etc/php5/cli/conf.d/mysqli.ini,/etc/php5/cli/conf.d/pdo.ini,/etc/php5/cli/conf.d/pdo_mysql.ini,/etc/php5/cli/conf.d/xdebug.ini Extra dirs : ===================================================================== Running selected tests. FAIL Check for purple presence [tests/001.phpt] ===================================================================== Number of tests : 1 1 Tests skipped : 0 ( 0.0%) -------- Tests warned : 0 ( 0.0%) ( 0.0%) Tests failed : 1 (100.0%) (100.0%) Tests passed : 0 ( 0.0%) ( 0.0%) --------------------------------------------------------------------- Time taken : 0 seconds ===================================================================== ===================================================================== FAILED TEST SUMMARY --------------------------------------------------------------------- Check for purple presence [tests/001.phpt] ===================================================================== And here is the info from phpinfo(): purple.custom_plugin_path no value no value purple.custom_user_directory /dev/null /dev/null purple.debug_enabled Off Off purple.plugin_save_pref /purple/nullclient/plugins/saved /purple/nullclient/plugins/saved purple.ui_id php php
I also tried with another protocol but it's still said "Aborted".Please help me to solve it...
Hi Nam,
there are no tests yet for this extension. please install valgrind (on ubuntu: apt-get install valgrind), run your php script using it and send the log file regards anatoliy
Thanks for your reply,
here is my output from valgrind --leak-check=yes --log-file=log.txt php purple.php cos the output is too long so i upload it here: http://www.trannam.net/log.txt Wait to see your reply ![]()
Hi Nam,
something seems to be something completely wrong with your installation. See the line 998 for example, where the libpurple core starts to be not happy ... hm, and if you say - you reproduce this with the script above ... so what i wanna say - the error seems to be to complex ... it would be usefull to know your php and libpurple versions, so i could try to reproduce the error myself. Concerning ubuntu - i'm personally using ubuntu hardy at work, and there is still libpurple version smaller then 2.4.3 ... 2.4.2 i think ... may be if you try to use another version of php or libpurple, something will change (i recommend the latest stable versions). good luck Anatoliy
Hi, can you tell me how to install the lastest version of libpurple?I also try to using alien to convert some of new rpm package of libpurple (from redhat, fedora) into deb and install on my hardy but no lucky with it
![]() And if you can, please tell me about your environment (os, ver of libpurple,php..) which can run phpurple with no error?I will try to setup a new one like you! Thanks!
Ah, i just checked and got some additional info: as i saw, in ubuntu hardy, it's already have a libpurple version 2.4.3 (which was the lastest version) and my php version is 5.2.4.It's met the requirement, hah?
I'm re-building the phpurple now, hope some miracle ![]()
hi,
i just took the latest 2.4.3 pidgin version and compiled it on the hardy mashine at my work. Apart from the fact that ubuntu does not ship the bundled pcre version (just like debian), i'm expieriencing some memory leaks in PurpleBuddy constructor. It might be the reason of the whole thing, so must look further. I'm using gentoo 2008.0, php 5.2.6 and libpurple 2.4.3 to develop the phpurple. The common protocol i'm developing on is msn, because it allows frequently logins without block accounts. But i think, nothing runs without error, it only a question of time, when erros get found and fixed. regards Anatoliy
Hi, thanks
Let me figure out more with the info you gave. Ah, can you give me your im nickname?mine is: ntnam8 (yahoo).So if there is have another small problem i can contact u directly, it's will more flexible instead of posting like this! Thanks!
hi,
it's very strange because after updating sources and searching with apt-cache told me the vervion 2.4.1-1ubuntu2.1 for libpurple-dev package and for libpurple-bin package as well. I've had an yahoo account, but I wasn't using it for a long time. So when i came home I'll find that account's data and contact you through yahoo. Regards Anatoliy
Thanks, i'm installing php 5.3 to test phpurple now!I will let you know the result after it's done!
And if you not always use Yahoo IM, just tell me your frequently using im account, i will contact you by this ![]()
Hi Anatoliy,
Can you write us a complete tutorial(step by step) about how to install and made it work (just like what you did).I'm installed gentoo, now i need compile pidgin from source to have libpurple, right?
Hi Nam,
ok, i'll write one this weekend. regards anatoliy |
QuicksearchCategoriesArchives |