Error on Purchase of Product

  • Posts: 5
  • Thank you received: 0
10 years 10 months ago #175336

-- url of the page with the problem -- : streamingaustralia.com.au/
-- HikaShop version -- : 2.3.3
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.30
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : Fatal error: Cannot redeclare class JViewLegacy in /home/streamingaustral/public_html/plugins/system/jat3/jat3/core/joomla/viewlegacy.php on line 711

I can get Cart to show on front page but when you hit buy now or on the image i get this error on a white page.

Please help
Site login details can be provide on request.

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

  • Posts: 13201
  • Thank you received: 2322
10 years 10 months ago #175349

Hi,

The problem don't come from HikaShop, try to disable the jat3 plugin, and the site sould be working fine again.

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

  • Posts: 5
  • Thank you received: 0
10 years 10 months ago #175436

I did what you said and turned the JA T3 Framework plugin off.

Unfortunately the site has now totally crashed and error code Missing jat3 framework plugin appears.

Clearly your product isnt capable with 3.3 using a JA Template on T3.

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

  • Posts: 26265
  • Thank you received: 4044
  • MODERATOR
10 years 10 months ago #175437

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 5
  • Thank you received: 0
10 years 10 months ago #175450

I followed the instructions to move the JAT3 to the top or the order and still nothing.....

Moved all Hika files lower that JAt3 in order too

Cleared Cache and Purged.
Fatal error: Cannot redeclare class JViewLegacy in /home/streamingaustral/public_html/plugins/system/jat3/jat3/core/joomla/viewlegacy.php on line 711

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

  • Posts: 13201
  • Thank you received: 2322
10 years 10 months ago #175464

Hi,

This solution should work as if JAT3 is the first one called, it's the first one to declare JViewLegacy so no errors for "redeclare".
As it's a JAT3 issue, please ask them a solution for this, this is not our code ;)

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

  • Posts: 32
  • Thank you received: 0
  • Hikashop Essential
10 years 5 months ago #193344

I have fixed this issue by making the jat3 plugin first but now that I upgraded to Joomla 3.4 the hikashop plugins force themselves to be above the jat3 plugin.
Is there a way to push the hikashop plugin lower?

Cannot redeclare class JViewLegacy in ..../plugins/system/jat3/jat3/core/joomla/viewlegacy.php on line 711

Last edit: 10 years 5 months ago by yossib54. Reason: Added the error text

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

  • Posts: 84233
  • Thank you received: 13677
  • MODERATOR
10 years 5 months ago #193348

Hi,

Then, why not just move them lower for their ordering via the plugins manager of Joomla ?

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

  • Posts: 32
  • Thank you received: 0
  • Hikashop Essential
10 years 5 months ago #193453

I did that, now the jat3 plugin is placed above all the hikashop plugins, I keep getting the same errors.
the error occurs when trying to display any hikashop product page

The way around this was to wrap the code in the .../plugins/system/jat3/jat3/core/joomla/viewlegacy.php file with
if(!class_exists(JViewLegacy)) {
...
...
...
...
}

This was actually recommended by the Jomlart developers...

Last edit: 10 years 5 months ago by yossib54. Reason: Found a solution

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

Time to create page: 0.080 seconds
Powered by Kunena Forum