OS Property support center

Cannot redeclare class OspropertyAgent

  • Andrei
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #70207 by Andrei
Hi.

Suddenly, there was an error:
1) Cannot redeclare class OspropertyAgent in ...www\administrator\components\com_osproperty\classes\new_agent.php on line 19
2) Cannot redeclare class OspropertyAgent in ...www\components\com_osproperty\classes\new_agent.php on line 14

As her win?

Thank you.

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

More
9 years 7 months ago #70209 by Mr. Dam
Replied by Mr. Dam on topic Cannot redeclare class OspropertyAgent
Hi,
Please do not put the backup file in the same folder "classes" or "helpers" in OS Property component to avoid this error
Thanks
Dam
The following user(s) said Thank You: Andrei

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

  • Andrei
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago - 9 years 7 months ago #70214 by Andrei
Replied by Andrei on topic Cannot redeclare class OspropertyAgent
thank. It helped.

I found a new bugs:
1) when logging in as an agent or vladeltsav system 'control agents / owners' does not show the 'name' and 'joomla user'. the same mistake in the registration of the company. (OSP v 8.3)
I looked in the database 'osrs_agents':
The fields 'name' and 'company_id' are empty: the value is 'NULL'.
The field 'alias' is the date of registration of the agent (for example: agent-2015-10-12-14-01-16)

2) the company subscribes to the administrator on any tariff plan 'OS membership pro 1.6.9' (subscription has expired) by agents of the company are required to purchase a subscription separately. that is not quite correct. how to make that subscribes to the tariff plan of the company, the same subscription automatically acquires all by agents of the company.
3) when listing the category of objects incorrectly displayed the number of objects in each category. This observation applies only to the top listing. In sublisting number of objects displayed correctly (8.3) how to fix it, because the subscription has expired?
Thanks
Last edit: 9 years 7 months ago by Andrei. Reason: add commentary

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

  • Andrei
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #70263 by Andrei
Replied by Andrei on topic Cannot redeclare class OspropertyAgent
Hi.

Again there was an error 'Can not redeclare class OspropertyAgent in ... www \ administrator \ components \ com_osproperty \ classes \ new_agent.php on line 19'.

The error appeared after the creation of the agent of the administrator.

I beg to solve as soon as possible.
thank.

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

More
9 years 7 months ago #70265 by Mr. Dam
Replied by Mr. Dam on topic Cannot redeclare class OspropertyAgent
Hi,
Please remove file new_agent.php in \ administrator \ components \ com_osproperty \ classes
The issue will be solved.
Thanks
Dam

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

  • Andrei
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 7 months ago #70269 by Andrei
Replied by Andrei on topic Cannot redeclare class OspropertyAgent
thank.
the problem is solved.

I have one more question:
1) I register a company
2) the administrator of the company acquiring membership in 'Membership Pro'
3) I create my company Agent
4) I go under the account of the agent
and here's the problem: The agent does not have a subscription to the 'Membership Pro' acquired by the administrator for the company.
What to do?


P.S. Please tell me there is a location in China?

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

More
9 years 7 months ago #70289 by Mr. Dam
Replied by Mr. Dam on topic Cannot redeclare class OspropertyAgent
Hi Andrei,
Currently, OS Property doesn't have feature to pass the Company membership to agent membership
Thanks
Dam

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

  • Andrei
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago - 9 years 6 months ago #70739 by Andrei
Replied by Andrei on topic Cannot redeclare class OspropertyAgent
Hi.
I found some errors







Attachments:
Last edit: 9 years 6 months ago by Andrei.

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

More
9 years 6 months ago #70741 by Mr. Dam
Replied by Mr. Dam on topic Cannot redeclare class OspropertyAgent
Hi Andrei,
What is your OS Property version?
Thanks
Dam

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

  • Andrei
  • Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 6 months ago #70743 by Andrei
Replied by Andrei on topic Cannot redeclare class OspropertyAgent
2,9,2 localhost

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

Moderators: Mr. DamNguyen Phu Quan