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..
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 apostrophe in the name of the category (Auto's) is what's causing the problem. Added some handling for that.
Also I see your report file comes out looking noticably different, in a different language and with some extra markup. It says you used 6.03, but 6.02 is the supported version, that's why I provided a link to it. I've attached the correct report file.
Comments on Warning: mysqli_fetch_row() error
Beginner
Usergroup: Guest
Joined:
Total Topics: 0
Total Comments: 0
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..
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?
Attached Files:
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
The apostrophe in the name of the category (Auto's) is what's causing the problem. Added some handling for that.
Also I see your report file comes out looking noticably different, in a different language and with some extra markup. It says you used 6.03, but 6.02 is the supported version, that's why I provided a link to it. I've attached the correct report file.
Attached Files:
Beginner
Usergroup: Guest
Joined:
Total Topics: 0
Total Comments: 0
mmm,well i just used the newer version as thats what it suggested...
so the newer version isnt compatible yet ?
Beginner
Usergroup: Guest
Joined:
Total Topics: 0
Total Comments: 0
Well the edited one doesnt work either.
I still get :
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
developer
Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California
Total Topics: 61
Total Comments: 7868
There've been no 4.1.0 beta releases since the above post, so changes mentioned in it can't apply to that series yet.