@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22



Comments:

<0> does it work?
<1> fatal error!
<1> Fatal error: main() [<a href='function.main'>function.main</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the cl*** definition &quot;ProduktListe&quot; of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the cl*** definition in /home/ramon.ch/html/bestellung.php on line 3
<0> yeah, ok, not my fault then
<0> this happens because the basket is being deleted or the session not being stored and it tries to create an object out of the basket
<2> is there a way to determine the name of the current cl*** & object inside a method?
<0> but if the basket doesn't exist, it can't create no object
<1> i seruously doubt the issue as is simple as that
<1> hmm
<0> $_SESSION["warenkorb"]= is_object($_SESSION["warenkorb"]) ?
<0> $_SESSION["warenkorb"] : new ProduktListe();
<0> that should create my basket, shouldn't it?
<1> ya
<1> well
<1> im tired a bit so the conditional might not be right as is
<1> try swapping the two results around



<1> oh nevermind
<0> nah, its condition ? true : false, isn't it?
<0> could it have to do with it having a line break?
<3> Does anyone know of an elegant way to detect SVG support?
<1> doubt that heh
<4> i upgraded (from 4 to 5) a server that had 2 php apps, one works fine but the other doesnt, why way to make it run? or have both versions installed?
<5> error check the app and fix it :)
<1> OuterSpace: Don't understand the actaul question there
<4> :s/why/any way
<4> erm any
<4> both apps works on php4
<4> one doesnt on php5
<1> what errors does it give
<1> all you needed to say was "this app doesnt work on php5 but it does on php4, halp" ;p
<4> its an old app: http://omail.omnis.ch/omail-admin/
<4> dont try it, yo need qmail+vmailmgr :-(
<4> yo
<4> mmm you
<1> what.
<0> smoke less dude :P
<4> its a mail administrator interface
<1> ill be honest man I dont want to intall a program on php5 because you have a problem with it
<1> what error does it give
<1> andif its more than 5lines www.pastebin.com
<4> it was on rh9, now fc4
<4> lot of: "Use of undefined constant" and some "Undefined variable"
<1> crappy code much.
<1> doe it actaully work though or just churn out lots of warnings
<4> yes i know and unsecure
<4> warnings off
<6> Most likely it's lame and relies on register_globals to work
<6> If so, you should obtain a new version that doesn't
<4> it shows front page but nothing else
<4> yes globals on
<4> i dont like it, but its not for me... this guy using it for 3 years.. so he wants it
<4> so back to orig question: can i have php4 & 5 at same time ?
<7> OuterSpace, not on the same server
<8> OuterSpace, yes, you can..
<1> you can actually
<1> just expect conflicts
<7> without running more than one apache server?
<8> OuterSpace, path the libphp5.so
<5> it will take you less time to just fix up the script :P
<1> trueness
<8> :)))
<4> i think it not worth it
<4> what you mean with path the libphp5.so ? from php files ?
<9> how do I set the url (including the file name) www.site.com/file.php as a string?
<10> hi all
<11> hey
<9> the problem is index.php?option=com_frontpage&Itemid=1 when I use $_SERVER['PHP_SELF']; it does not include the ?option=com_frontpage&Itemid=1
<1> you know you can do $_GET['Itemid']
<1> to get that stuff
<10> is there any php code I can use to pin point my location within a server? for example /home/website/public_html/shops/config/
<0> Techboy: i solved the problem, but this i kinda cheap...
<9> Techboy: what do you mean?
<1> whats up
<1> rtoris: To get the GET data. the stuff after the ? all nicely preparsed
<9> ok
<1> Razz3r: yeah, sec
<10> Techboy: could you paste bin it?



<1> wait :p
<10> Techboy: cheers
<12> I am having trouble determining how to push an ordered row of data onto an array in PHP. I keep adding just a list of elements where the row is lost.
<1> $_SERVER["SCRIPT_FILENAME"]
<1> there
<10> cheers I'll give it a go
<9> im still not understanding how to get the stuff after the ?
<9> $sitelink = $_GET['Itemid']; ???
<1> no, no
<1> why do you want that
<1> okay sec.
<9> I want to do a regex to test some tihngs but on the stuff after the ?
<1> $_SERVER['QUERY_STRING']
<9> perfect thanks
<1> ok great
<1> thd: Do you mean appending one array onto another?
<12> Techboy: I want to find the PHP equivalent to the Perl: push @array [row_element1, row_element2, row_element3];
<1> don't know perl
<1> but try : http://uk.php.net/array_push
<13> in terms of pcre, would 102 be cl*** as one number or 3?
<13> thd - use []
<12> Techboy I guess that I do perhaps mean appending one array onto another
<13> $myarray[] = new value
<13> while / for loop?
<1> thd: array_push($currentArray, $appendThis); or whatever
<14> can anyone help me with a xml_parser issue?
<1> BigA I have said 3 times not to ask to ask but instead to just ask
<1> And you didn't ask
<1> so go ahead
<15> Oh?
<15> php-bot: tell BigA about ask
<10> Im getting the following error what does this tend to mean? Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/ukcs/public_html/shopping/affiliates/config/config.php on line 30
<15> Razz3r: It means your mysql_query() failed.
<16> no result from the query, and you didnt check before trying to use the result
<12> Techboy: that is the syntax I have but then I cannot seem to find the fifth row, row element 3 with: row_5_element3 = $array[4][2];
<1> print_r($array);
<1> you'll see what its done then
<1> if not try $array[] = new Array(0;
<1> )*
<14> http://rafb.net/paste/results/XywzHX98.html <= this is the xml_parser code that gives the XML_ERR_XMLDECL_NOT_FINISHED at line 1 error
<14> and this is the source.txt file => http://rafb.net/paste/results/niqRyU84.html
<17> am why my apache doesn't make .htaccess work, it still leaves people in
<17> any idea
<15> EvilDin: That sounds like an #apache problem, not ##php.
<10> I dont know hoe becuae the p***word and username are correct
<17> just ask
<17> am it doesn't even close web
<1> Razz3r: The SQL however isnt
<17> it should not be able to access
<1> BigA: you cant parse 4kb at a time afaik
<15> EvilDin: Um, didn't I just say it wasn't a ##php problem?
<15> You've got .htaccess/apache related issues, *ask in #apache*
<17> ok
<14> Techboy: that is the example from the Zent tutorial: http://www.zend.com/zend/tut/tutbarlach.php
<1> paste whole error then please
<1> something wrong?
<14> XML error: XML_ERR_XMLDECL_NOT_FINISHED at line 1
<1> um. not sure
<1> that would suggest that theres a problem with the xml
<10> can anyone help me out with this error
<10> Warning: main(languages//header_footer.php) [function.main]: failed to open stream: No such file or directory in /home/ukcs/public_html/affiliates/templates/header.php on line 19
<10> does this mean that /home/ukcs/public_html/affiliates/templates/header.php is wrong
<14> Techboy: exactly
<14> i don't get it
<10> as it is the correct path according to echo $_SERVER["SCRIPT_FILENAME"];
<18> how do i turn errors on for my php server?
<1> it means that file doesnt exist
<10> it is definatly at that location
<18> cause im trying to make a website and im not getting any errors so i don't know what im doing wrong
<18> just blank pages
<0> how was the command to get the length of an array?
<1> eek too many questions


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

JVM xresprobe
lsetfilecon failed Invalid argument
php html scraping
#perl
alone ubuntu manually edit partition table
#linux
gnome 2.14 session-manual
#gimp
#osdev
#lisp



Home  |  disclaimer  |  contact  |  submit quotes