OS Property support center

SOLVED ! Fatal error after importing from XML-file

  • Stephen
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
10 years 4 months ago - 10 years 4 months ago #62586 by Stephen
Hi
I´ve got an "Fatal Eroor" after importing from XML file
Error is like this: Class 'OsImageHelper' not found in /storage/content/**/****/******/public_html/components/com_osproperty/helpers/helper.php on line 1232

Any idea why this appear?

The XML-file was exported from Another site (with your extension) just exported properties and now trying to import them to a new site.

Or is there a better way to do this (perhaps a DB backup from old site and then a DB restore in the new site)

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.
Last edit: 10 years 4 months ago by Dang Thuc Dam.

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #62595 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Fatal error after importing from XML-file
Hi,
Please download this attachment and extract it and copy file "images.php" into folder: administrator > components > com_osproperty > helper and test it again to see if the issue is solved.
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Stephen
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
10 years 4 months ago #62603 by Stephen
Replied by Stephen on topic Fatal error after importing from XML-file
Hi
After uploading the file given by you (on both sites) exporting XML-file went ok.
Clicking the import XML will render this error
Fatal error: Class 'Jhtml' not found in /storage/content/**/*****/*******/public_html/administrator/components/com_osproperty/classes/xml.php on line 76.

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.

Please Log in or Create an account to join the conversation.

More
10 years 4 months ago #62604 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Fatal error after importing from XML-file
Hi Stephen,
Please go to that file: administrator/components/com_osproperty/classes/xml.php
and find
Jhtml
by
JHtml
The issue will be solved
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Stephen
  • Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
10 years 4 months ago #62606 by Stephen
Replied by Stephen on topic Fatal error after importing from XML-file
Hi
Changed line 76 and 77 from Jhtml to JHtml and now it´s ok
Thanks

If the problem can be solved why worry? If the problem can not be solved, worrying will do you no good.

Please Log in or Create an account to join the conversation.

Moderators: Dang Thuc DamNguyen Phu Quan