php-general Digest 10 May 2013 21:42:00 -0000 Issue 8226

2013-05-10 Thread php-general-digest-help
php-general Digest 10 May 2013 21:42:00 - Issue 8226 Topics (messages 321051 through 321062): undef func 321051 by: georg 321056 by: Daniel Brown 321057 by: tamouse mailing lists 321058 by: Daniel Brown 321059 by: georg 321060 by: Gabriel

[PHP] Having a problem with clone.

2013-05-10 Thread Richard Quadling
Hi. I'm having an issue where I get ... Fatal error: Trying to clone an uncloneable object of class Smarty_Variable in xx/trunk.newbuild/includes/frontend/site_includes/classes/smarty-3.10/sysplugins/smarty_internal_template.php on line 269 This issue happens consistently on our live server

[PHP] undef func

2013-05-10 Thread georg
Hello ! im increasingly frustrated on my effort to get PHP/ODBC going with Apache on Linux (did it on MS XP, that was trixy but this is worse, nothing seem to be correct; utilities missing, erroneous file-directory references, crapy stringency in description...) well: undefined function

Re: [PHP] Having a problem with clone.

2013-05-10 Thread Richard Quadling
On 10 May 2013 12:08, Nick Whiting nwhit...@xstudiosinc.com wrote: Do you have a backtace for this? What is the gender class doing? Have u done a global search for keyword clone? On Friday, May 10, 2013, Richard Quadling wrote: Hi. I'm having an issue where I get ... Fatal error:

Re: [PHP] Having a problem with clone.

2013-05-10 Thread Richard Quadling
On 10 May 2013 12:18, Richard Quadling rquadl...@gmail.com wrote: On 10 May 2013 12:08, Nick Whiting nwhit...@xstudiosinc.com wrote: Do you have a backtace for this? What is the gender class doing? Have u done a global search for keyword clone? On Friday, May 10, 2013, Richard

[PHP] pecl/gender bug in PHP V5.3

2013-05-10 Thread Richard Quadling
Hello all. Very odd behaviour. ?php if (extension_loaded('gender')) { $o_Gender = new Gender\Gender; var_dump($o_Gender); } class Variable { public $value = null; } $a = new Variable; $b = clone $a; var_dump($a, $b); ? If using pecl/Gender V0.9.0 with PHP V5.3.3, V5.3.13,

Re: [PHP] Having a problem with clone.

2013-05-10 Thread Nick Whiting
Do you have a backtace for this? What is the gender class doing? Have u done a global search for keyword clone? On Friday, May 10, 2013, Richard Quadling wrote: Hi. I'm having an issue where I get ... Fatal error: Trying to clone an uncloneable object of class Smarty_Variable in

Re: [PHP] undef func

2013-05-10 Thread Daniel Brown
On Fri, May 10, 2013 at 6:15 AM, georg georg.chamb...@telia.com wrote: Hello ! im increasingly frustrated on my effort to get PHP/ODBC going with Apache on Linux (did it on MS XP, that was trixy but this is worse, nothing seem to be correct; utilities missing, erroneous file-directory

Re: [PHP] undef func

2013-05-10 Thread tamouse mailing lists
On Fri, May 10, 2013 at 12:23 PM, Daniel Brown danbr...@php.net wrote: On Fri, May 10, 2013 at 6:15 AM, georg georg.chamb...@telia.com wrote: Hello ! im increasingly frustrated on my effort to get PHP/ODBC going with Apache on Linux (did it on MS XP, that was trixy but this is worse, nothing

Re: [PHP] undef func

2013-05-10 Thread Daniel Brown
On Fri, May 10, 2013 at 3:18 PM, tamouse mailing lists tamouse.li...@gmail.com wrote: Aren't DLLs a Windows thing? Yeah, I misread the bit about MS XP and thought he was using XP for this install. I just realized the remainder of the discussion between us was off-list, so - for posterity -

Re: [PHP] undef func

2013-05-10 Thread georg
unfortunately that didnt take, pecl is undefined command (my linux is not so strong) trying yum renders no such package - Original Message - From: Daniel Brown danbr...@php.net To: tamouse mailing lists tamouse.li...@gmail.com Cc: georg georg.chamb...@telia.com; PHP General

Re: [PHP] undef func

2013-05-10 Thread Gabriel Ricci
To have pecl, you need to install PEAR first, yum install php-pear (or yum install php5-pear) should work. Then you can try pecl install pdo_odbc. Att. Gabriel Ricci Website http://gabrielricci.github.com Follow @gabrielricci http://www.twitter.com/gabrielricci Facebook

Re: [PHP] undef func

2013-05-10 Thread georg
noop, didnt take, no such package, was my reward /georg - Original Message - From: Gabriel Ricci To: georg Cc: Daniel Brown ; tamouse mailing lists ; PHP General Sent: Friday, May 10, 2013 11:06 PM Subject: Re: [PHP] undef func To have pecl, you need to install PEAR

Re: [PHP] undef func

2013-05-10 Thread Serge Fonville
Assuming OP is using a distro that uses yum for package management; A yum whatprovides pecl should provide the package name that needs to be installed, in case of an apt based distro, this could be done through aptitude. Either way, it seems what might provide more information is details like the

Re: [PHP] undef func

2013-05-10 Thread georg
So thanx again, closing in. It turned out that I had tried; yum install php_pear // i.e. with an underscore, should be with hyphen ! so crawling a mm forward; then stuck on; pecl install pdo_odbc// in this case the undrscore is ok (!) which fails as Cant find php headers in

Re: [PHP] undef func

2013-05-10 Thread Gabriel Ricci
pear isntall php-dev Att. Gabriel Ricci Website http://gabrielricci.github.com Follow @gabrielricci http://www.twitter.com/gabrielricci Facebook profile http://www.facebook.com/gabrielricci2, GitHub profilehttp://www.github.com/gabrielricci/

Re: [PHP] undef func

2013-05-10 Thread Gabriel Ricci
Sorry, yum install php-dev Att. Gabriel Ricci Website http://gabrielricci.github.com Follow @gabrielricci http://www.twitter.com/gabrielricci Facebook profile http://www.facebook.com/gabrielricci2, GitHub profilehttp://www.github.com/gabrielricci/

Re: [PHP] undef func

2013-05-10 Thread James Yerge
On 05/10/2013 06:08 PM, Gabriel Ricci wrote: pear isntall php-dev Att. Gabriel Ricci Website http://gabrielricci.github.com Follow @gabrielricci http://www.twitter.com/gabrielricci Facebook profile http://www.facebook.com/gabrielricci2, GitHub

Re: [PHP] undef func

2013-05-10 Thread Ashley Sheridan
James Yerge ja...@nixsecurity.org wrote: On 05/10/2013 06:08 PM, Gabriel Ricci wrote: pear isntall php-dev Att. Gabriel Ricci Website http://gabrielricci.github.com Follow @gabrielricci http://www.twitter.com/gabrielricci Facebook profile

Re: [PHP] undef func

2013-05-10 Thread georg
Ok, txn ! so yum install php-devel worked, and got me a hole lot of pearl, however, still PHP has odbc_connect() call as undefined function. as per Apache error log. There was some mentioning of php.ini; could that be something here ? /georg - Original Message - From: James Yerge

[PHP] Sync CSV files with MySQL Database.

2013-05-10 Thread Carlos Sura
Hello mates, Perhaps this seems to be a silly question, but it is not to me, here is the scenario: I know how to import CSV files with PHP to a MySQL database, the thing is, that CSV file is automatically feed by a third-party application, I want to do something to add just the new records, not