PDA

View Full Version : Unable to jump to row 0


Dave Benton
09-26-2007, 06:20 AM
I have a site that works fine on my php5 development server, but on my cirtex server it works but also generates a lot of "Unable to jump to row 0 on MySQL result" warnings.

I googled this, but apart from finding that lots of people have similar problems didn't get much except a suggestion that it's a php extensions problem - which is deeply unknown territory for me.

I'm prepared to rewrite my code if necessary, but anyone else had this sort of problem?

dougp
09-26-2007, 12:38 PM
PHP5 has been utterly buggy for me on Curry.. I can run things just fine on my local Apache 2 install with PHP5, but when I upload the same script, I get issues. Lately have been having to jump hoops back and forth writing longer PHP4 equivalent function to get something working.

Was searching around for an answer to this as well, came across a mention of a server running both PHP4 and PHP5 were the issue turned out to be the server reading the wrong php.ini.

Cirtex have a PHP5 ini copy?, it by request?, I may have missed those details somewhere, but would be helpful to know..

Dave Benton
09-26-2007, 01:13 PM
I had an htaccess file entry for php5 which got copied over onto my website from my testbed by accident I think. It caused no problems mostly, but then suddenly forms stopped working. Disabling the php5 entry fixed that problem - but then the warning messages started appearing.
Being a simple soul I find it all very confusing!!

dougp
09-27-2007, 02:20 AM
I had an htaccess file entry for php5 which got copied over onto my website from my testbed by accident I think. It caused no problems mostly, but then suddenly forms stopped working. Disabling the php5 entry fixed that problem - but then the warning messages started appearing.
Being a simple soul I find it all very confusing!!
Probably POST vars?

You will have to submit a ticket and ask for level 2 support and have them enable POST on PHP5. I had the same issue the other day. :S

Dave Benton
09-27-2007, 04:55 AM
Thanks Doug,
I have POST's working now (but the advice may well prove good for later). And am dealing with the mysql warnings by coding round them for now. Getting there.

dougp
09-27-2007, 06:02 AM
np, and I know the feeling, kinda annoying considering PHP 4 apps can run in PHP 5 (or should be able to at least), but on here PHP4 apps tend to get errors or not run correctly.. Even after tested on a local PHP 5 only Apache setup.. (and running Linux/CGI as well ..), as well as Apache Win32))

Then again, some PHP 4.1.x apps dont run on PHP 4.2.x lol. ...

Seems like the PHP devs cannot figure out what they want to do..

Wait for PHP6 .. Then you will see every PHP4 and PHP5 app get broken. As far as I know, they are pretty much removing or massively reducing backwards compatibility.. Should be interesting and highly annoying.