PHP Classes

Bug

Recommend this page to a friend!

      LINQ In PHP  >  All threads  >  Bug  >  (Un) Subscribe thread alerts  
Subject:Bug
Summary:cannot make it work
Messages:8
Author:sam virtual
Date:2010-09-05 16:06:46
Update:2010-09-05 18:29:43
 

  1. Bug   Reply   Report abuse  
Picture of sam virtual sam virtual - 2010-09-05 16:06:46
I cannot make it work
here is the error i get on calling linq_test.php

1. Ms :0 , Creating a big array by random numbers.
2. Ms :0.037 , 7000 users created.
3. Ms :0.044 , D3Linq.php included
4. Ms :0.044 , $linq object created from D3Linq

PHP Fatal error: Call to undefined method D3Linq::D3Linq() in D3Linq.php on line 250

  2. Re: Bug   Reply   Report abuse  
Picture of Ridvan KARATAS Ridvan KARATAS - 2010-09-05 17:19:21 - In reply to message 1 from sam virtual
can you explain to me what is exactly you want to do ?

  3. Re: Bug   Reply   Report abuse  
Picture of Tufan Baris YILDIRIM Tufan Baris YILDIRIM - 2010-09-05 17:32:15 - In reply to message 1 from sam virtual
thanx for reporting.

Please donwload D3Linq.php again.

  4. Re: Bug   Reply   Report abuse  
Picture of sam virtual sam virtual - 2010-09-05 17:43:34 - In reply to message 3 from Tufan Baris YILDIRIM
Thanks for your reply.
Do not get the fatal error with the update class file.
However, all examples, give error #010 Invalid SQL

I would love to make this work, cos the potential uses for something like this are so many.

  5. Re: Bug   Reply   Report abuse  
Picture of Tufan Baris YILDIRIM Tufan Baris YILDIRIM - 2010-09-05 17:53:08 - In reply to message 4 from sam virtual
which query gives that error ?.

note : i think it is already error example for show debugging

  6. Re: Bug   Reply   Report abuse  
Picture of sam virtual sam virtual - 2010-09-05 18:11:43 - In reply to message 5 from Tufan Baris YILDIRIM
Thanks for your quick reply.
I believe this does not work with 5.2.1, I tried on my other ubuntu box which has php 5.3.2 and everything works fine.
thanks once again.

  7. Re: Bug   Reply   Report abuse  
Picture of sam virtual sam virtual - 2010-09-05 18:18:46 - In reply to message 6 from sam virtual
Changing
"(is_numeric($wagonName) ? null: '?<'.$wagonName.'>')"

to this

"(is_numeric($wagonName) ? null: '?P<'.$wagonName.'>')"

in php 5.2.1 also makes it work

awesome class, thanks once again

  8. Re: Bug   Reply   Report abuse  
Picture of Tufan Baris YILDIRIM Tufan Baris YILDIRIM - 2010-09-05 18:29:43 - In reply to message 7 from sam virtual
it will work perfectly on PHP 5.2.2
read this thread
phpclasses.org/discuss/package/5893 ...

Regards