×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: import from chronocomments

import from chronocomments 13 years 9 months ago #10085

  • milad
  • milad's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 8
Hi, i have installed the Latest version 4.1.4, but i cannot import the comments from chronocomments, after setting the tables and attributes and a working preview if i press the "import all" button i receive this error:

Fatal error: Call to undefined method JOSC_utils::getComponentName() in /home/xxxxx/public_html/administrator/components/com_comment/models/import.php on line 287

import from chronocomments 13 years 9 months ago #10088

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hm, would you be so kind to send us a dump of the chronocomments tables to This email address is being protected from spambots. You need JavaScript enabled to view it. and I'll check what is wrong with it.

P.S. first we don't activate your subscription, now you have troubles importing - we definitely don't make a good impression in front of you :(. Again sorry!

import from chronocomments 13 years 9 months ago #10089

  • milad
  • milad's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 8
Hi, i have send a backup of the chronocomments database to this email: This email address is being protected from spambots. You need JavaScript enabled to view it.

And yes, i had trouble with my subscription, but i am glad that you pay attention to us, this makes me happy and satisfied ;)

import from chronocomments 13 years 9 months ago #10090

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Yep, there is a bug in the function!
open /home/xxxxx/public_html/administrator/components/com_comment/models/import.php and go to line 287you have this:
$where[] = $database->nameQuote('f.'.$comfield) . '='. $database->Quote(JOSC_utils::getComponentName($this->component));
change it to this:
$where[] = $database->nameQuote('f.'.$comfield) . '='. $database->Quote($this->component);
it should work now.
Let me know if it is working :)

import from chronocomments 13 years 9 months ago #10091

  • milad
  • milad's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 8
Thanks, it worked well =)
  • Page:
  • 1
Time to create page: 0.157 seconds