Webmastersite.net
Register Log In

Warning: mysqli_fetch_row() error

Title Warning: mysqli_fetch_row() error
Description Warning: mysqli_fetch_row() expects parameter 1
Message Text hi, (read all edits)

when i try to import a car directory i get this..

Warning: mysqli_fetch_row() expects parameter 1 to be mysqli_result, boolean given in /home/public_html/databases/mysqli.php on line 21

Catchable fatal error: Object of class category could not be converted to string in /home/public_html/admin/dmozimporter.php on line 69

the file is 203 kb

where does this comes from ?
If i try smaller import i dont have a problem...


Edit: btw...when i search google on this error line : Catchable fatal error: Object of class category could not be converted to string

people say this is an error in php 5.2 ?
Is that so ?


Ok another edit:

As i suddenly had the error with a small file i was curious as to why...
the import file was just 52 kb and got the same error..

But i noticed a thing..
In the file it showed like 9 sub categories that will be created on import and some cats were name like this.. Cavia's (dutch animal) ..see the ' ?

When i changed it to Cavia the import was successfull..
Any idea why ?


Ok last edit.. sad

I took the cars catgory (dutch) with a bunch of subs.
That failed and showed the same error as above..

Then i checked the import html file and took out all ' as that seemd to help earlier..
but now it didnt..
one thing did changed..
only error i get now is :

Catchable fatal error: Object of class category could not be converted to string in /home/public_html/admin/dmozimporter.php on line 69

And that line is :
if ($cat->parent == 0 && $y > 2) die(categoryreplacements($langextras['dmoznopar'], str_replace('{PARENTPATH}', $parentpath, $cat)));

And i know this has nothing to do with the above problem...but cant you do anything about the damn time-out's im getting..
I mean,importing a 300 kb file with links and cats takes over 5 minutes....
then it drops out....


the attached import html list is 153 kb

you see anything wrong?

Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership guest
Views 2,066 views. Averaging 0 views per day.
Similar Topics
Submission Date Jul 30, 2007 - 10:33 AM