Webmastersite.net
Register Log In

import dmoz not flawless
cant import large files ?

Comments on import dmoz not flawless


Beginner

Usergroup: Guest
Joined:

Total Topics: 0
Total Comments: 0
Posted Jul 29, 2007 - 12:17 PM:

Hello,

im still a bit playing around to see what it can do and when i was playing with the dmoz import it went on its ass..
the file generated was 600 kb , so nt that much but showed the error..

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

What that that mean ?
And how to avoide the next time ?


Second....

When i managed to import a smaller list and did the regenerate of categories i noticed that when you update the cats it can give an error when the amount of checking at once is larger then 50..
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jul 30, 2007 - 2:24 AM:

Can you attach the report file you're working with? The only way I can tell what it means is by getting the debug output and probably stepping through it.

i noticed that when you update the cats it can give an error when the amount of checking at once is larger then 50..

That's to be expected, it'll run out of memory trying to regenerate too many at once. php.ini sets a limit on how much memory each page can use.

Beginner

Usergroup: Guest
Joined:

Total Topics: 0
Total Comments: 0
Posted Jul 30, 2007 - 8:55 AM:

Well as soon as it des that again il show..

But im a bit disapointed in the import power..
i cannot even import a 330 kb file cause it times out...
For some reason it takes the script a long time to build the categories ...

cant this be done somehow by cron ?
If so explain....

If not...
cant something be changed so that if the file is to big that it will do it in a few steps ?
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jul 31, 2007 - 10:00 AM:

Edit: Looks like you posted the report file in another thread so I'll continue there.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.