| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Comments:
<0> bytenik: I've got a server here that doesn't have msjava.dll. php_mysql.dll loads just fine here. <1> same here <2> TML: That's odd. What version of php? <0> 4.4.2 <2> TML: Ah, yeah, this is a 5.x thing <3> I have a variable called $field, that I need to make into $field2 = $nice$field; So i want $field2 to literally be $nicelname; <4> bytenik: You could run Dependency Walker against your .dll [ http://www.dependencywalker.com/ ]. <3> any idea? <0> DogWater: !!! <0> DogWater: Why? Why would you ever do such a thing? <2> Tresnar: That's what I'm trying now... its finding "At least one module has an unresolved import due to a missing export function in a delay-load dependent module. <4> It would provide a very nice [less arguable?] listing of everything it requires. <5> hello. Im trying to compile php5 on my machine, but im getting this error "libtool: link: cannot find the library `/usr/lib/mysql/libz.la'" any idea what i can do to fix this? <3> because the fields in my database arent named 'nicely' <0> DogWater: $nice['lname'] <2> tresnar: but I don't know what that means, exactly
<0> DogWater: $nice[$field] <6> DogWater check it out http://www.php.net/manual/en/language.variables.variable.php <4> That's in their FAQ [ http://www.dependencywalker.com/faq.html ] <3> TML: so when it prints $nice[$field]; it will say First Name instead of fname; etc. <7> how to destroy / unset the $db variable which is defining a cl*** object ? <6> ace_me $this->db = null or unset($this->db) <7> anything I ma modifying in this cl*** is not shown in browser so I suspect I have to clear somewhere the predifined object ? <2> TML: Regarding our disagreement before, "The MSHTML.DLL module that was released with Windows XP SP2 and Windows 2003 SP1 has a delay-load dependency on MSJAVA.DLL." <0> DogWater: I don't understand that question, sorry. <2> TML: So that was why we see differing results. <4> bytenik: What requires MSHTML, though? <0> bytenik: I'm downloading PHP5 now. I don't believe that's possible, and if it is, it's a bug. <6> DogWater $bla = $nice . $name; <0> DogWater: I'm saying, instead of calling a variable $foobar, and trying to do: "$baz = 'bar'; $foo$baz", do $foo['bar'], and $foo[$baz] <4> You would still need to show that something PHP is requiring that... Plus that's an *optional* dependency... ideally, it should work w/o it. <3> TML: ok, if you have a variable called $field; right, which is lname; and you have another variable called $nicelname and you want to reference $nicelname instead of just lname and all my loop knows is "lname". <2> Tresnar: Yeah, I'm not sure why my install demands it. The more important missing dependency for me was PHP5TS.dll, but i just put it in the path and it can find it now -- but it still didn't fix my problem <8> Question - if I'm working with a site using frames, can I instantiate an object in the frameset doc and store it in a session variable, then access it in the child frames? <3> so if you echo $string; instead of just saying lname, it will literally == $nicelname <9> what is the right way to use $GLOBALS <7> I use ZEND, I defined a method clearmem which unset the $db object but error is dbtemplate_clearmem <9> usually i don't use it, is right to p*** global resource like stream <8> Or is each frame loaded a separate thread? <7> Fatal error: Call to undefined method dbtemplate::dbtemplate_clearmem() in <2> TML: According to the FAQ, it shouldn't be required. <2> So now at this point i've solved all my dependancy issues, and the path is correct to the files <9> $GLOBALS['_dbConn'] = setActive(); <2> but it still doesn't find them <7> the method is not shown in the test.php where I am initiating cl*** <2> i'm completely stumped <4> bytenik: What mode are you running PHP in? <9> in this way i can use a only one resource and avoid to use global key into functions <2> Tresnar: Mode? <4> By what method, yes. CGI, Command-line, mod_php, etc. <2> Tresnar: Oh, mod_php <6> Tresnar shared module <7> First 2 methods work but last one is not found ! WHY ?$db = new dbtemplate($table, $fieldkey, $fieldname, $fieldvalue, $session->userlevel, $page); $db->dbtemplate_show(); $db->dbtemplate_clearmem(); <4> xshad: ? <6> Tresnar wrong window and name :) <4> So... What was your original problem, bytenik? [I think I joined the channel late] <0> DogWater: I ***ume you have, i.e., $nicelname, $nicefname, etc? <2> Tresnar: According to my php error_log: [26-May-2006 12:08:30] PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php\ext\php_mysql.dll' - The specified module could not be found. <2> in Unknown on line 0 <10> $_SESSION['object1']['field1'] ?? <2> Tresnar: That file 100% does exist however, and filemon from sysinternals shows apache2 successfully opening the file <4> Ah - So then you hit php_mysql with Dependency Walker, and the only information is about the MSJava ? <2> Tresnar: Yeah <11> Can you check through an array using stristr without looping? <4> ... Odd. <3> TML: yeah. <2> Tresnar: Sorry, I was missing php5ts.dll in the path too, but that was depwalker's problem of finding it more than php not finding it. either way, I copied it into system32 to make depwalker shut up <2> Tresnar: No effect on php, of course. <0> DogWater: I'm saying instead of calling the "other variable" $nicelname, you create an array, $nice. It contains all the possible values of $field as keys, and you just access $nice[$field]. <9> hei TML i need an advice <4> I had roughly the same issue myself in the past, more humorously, where it worked for one server, and not for the other. <0> kioto: Find a new profession <9> ahah <3> TML: basically $field is just lname, and I need $fieldstr to use $nicelname instead of $lname <9> thank a lot <4> I don't think I had MSJava as my missing dep though :/
<6> lol <3> ah <3> yeah i guess i could do that <2> Tresnar: You prolly weren't on SP2 <0> bytenik: Where did you get php_mysql.dll? <4> bytenik: I was. <4> This was about 3 months ago. <2> TML: It came with the distribution of php from php.net. I'm also having the same issue with php_curl.dll and others, so its not specific to mysql <2> Tresnar: odd then <0> bytenik: Which version of PHP? <12> has anyone ever established a pdo_oci connection to an oracle database? if so, how? thanks <7> I defined a cl*** whic has 3 methods : SHOW, DELETE, SAVE, I initiate a $db in file test.php and than I display the elements from a table paginated, but any modification I do in the show method I see nothing changed in the browser ! Is it because I am not destroying the cl*** ? I am just refreshing the page and the cl*** object is just remain the one already defined ? <0> bytenik: I just downloaded PHP 5.1.4 zip file from php.net, unpacked it, installed it overtop my php4, and ran php_mysql.dll just fine without msjava.dll <2> TML: 5.1.4 <0> bytenik: Additionally, I opened php_mysql.dll in Dep Walker, and it doesn't show msjava.dll <0> kernel32.dll, ntdll.dll, msvcrt.dll, php_mysql.dll, php5ts.dll, and libmysql.dll <0> That's it <2> TML: I see it right under MSIMG32.DLL <2> TML: Its not a direct dependency, its down the tree a bit. <2> TML: But it shouldn't be required. I'm not sure what's up with my other PC's installation <0> bytenik: Oh. So when you said php_mysql.dll requires it, you weren't telling the truth. <0> bytenik: Where is it in your tree? <2> TML: I can't even find it, I just see it in the alphabetical list. <2> TML: But it doesn't matter. That computer is obviously screwed up. This one is a fresh WinXP install, so its highly unlikely that it is corrupt. <4> ["That" being the one that we're discussing as having the java issues?] <13> I cannot get GD installed with PHP on my cpanel server. I really need this installed but have had no luck. Is there anyone here willing to help me, for pay if need be, get gd installed back on my server? <13> rather i installed with with RPM, but it's not showing up in phpinfo <0> bytenik: This is a VMWare machine clean-booted from just after PHP installation. There's no other software at all on this, save Apache2. <2> Tresnar: The computer I'm currently on is having the supposed "missing file" issue. The other one was the one i tried removing msjava.dll and found that it made php fail. I don't know what's wrong with that one since we've discovered that msjava in fact should not be a requirement. <2> Tresnar: I don' <2> Tresnar: I don't care about the other one, I care about this one and that i can't get php to load up any extensions <0> The only place I see msjava.dll is as an optional load-time dependency for mshtml.dll. That one is safe to ignore. <0> bytenik: You loaded the DLL in dep walker on the machine you care about? <2> TML: I don't really care enough about the other computer to troubleshoot why msjava causes it to fail when it shouldn't. I'm about to reformat it in an hour. <2> TML: Yes, I did. <2> TML: The comp i care about reports no missing deps <8> Trying to store a database connection object in a session <8> not working <8> Getting Incomplete Cl*** Object <8> any suggestions? <0> futang: Storing objects in the session is generally a bad idea <0> futang: But if you're dead set on it, you need to have the cl*** definition available BEFORE you call session_start() <8> ah <8> well I have a framed site <8> and more than one frame accessing the database <8> I didn't want to have 4 database connections active at once <0> You will anyway <8> why? <0> Because you'll have 4 different apache children <8> isn't the one object the same resource? <0> Each needs its OWN database connection <8> ah OK <8> I was wondering about that <8> thanks for the tip <2> Tresnar: At this point I'm willing to almost consider this a bug, though I don't know even how to describe it, since I can't reproduce it on someone else's comp (TML's) <0> bytenik: And you get the error about "the specified module cannot be found"? <2> TML: The exact error is "PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php\ext\php_mysql.dll' - The specified module could not be found." <0> bytenik: And libmysql.dll is on %PATH%? <2> TML: Yeah <0> bytenik: Do you have the mysql client installed on that machine? <2> TML: Even if it weren't, I'm getting the same error on curl and exif. <2> TML: But yes I do. <14> TML: How far are you from the airport? <0> Pollita: SLC? <14> Angela missed her connection and is stuck in SLC until 5 <0> Pollita: About an hour. <0> <:O <14> ah, nevermind then <0> Pollita: Sorry <14> You're the only brotha I know in utah <2> TML: Hmm, actually I didn't notice that gd2 is loading fine <2> TML: Just curl, exif, and mysql have issues <15> i need 2 minimalistic scripts,1. contact form in one page , 2. script that changes www.domain.com adress to domain.com to produce better page rank, pls provide me with some link of the tested ones, thx <0> bytenik: Try wiping your PHP completely, re-download everything, and reinstall. Perhaps the DLLs are corrupted.
Return to
#php or Go to some related
logs:
#php #postfix #gentoo #perl backupninja rdiff hang #sdl python m4a CD_ROOT= CD_ROOT_1= #physics #perl
|
|