- Posts: 5
- Thank you received: 0
Error on Purchase of Product
11 years 11 months ago #175336
by clayman9
Error on Purchase of Product was created by clayman9
-- 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.
-- 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.
11 years 11 months ago #175349
by Xavier
Replied by Xavier on topic Error on Purchase of Product
Hi,
The problem don't come from HikaShop, try to disable the jat3 plugin, and the site sould be working fine again.
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.
11 years 11 months ago #175436
by clayman9
Replied by clayman9 on topic Error on Purchase of Product
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.
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.
11 years 11 months ago #175437
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Error on Purchase of Product
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
11 years 11 months ago #175450
by clayman9
Replied by clayman9 on topic Error on Purchase of Product
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
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.
11 years 11 months ago #175464
by Xavier
Replied by Xavier on topic Error on Purchase of Product
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
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.
11 years 6 months ago - 11 years 6 months ago #193344
by yossib54
Replied by yossib54 on topic Error on Purchase of Product
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
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: 11 years 6 months ago by yossib54. Reason: Added the error text
Please Log in or Create an account to join the conversation.
11 years 6 months ago #193348
by nicolas
Replied by nicolas on topic Error on Purchase of Product
Hi,
Then, why not just move them lower for their ordering via the plugins manager of Joomla ?
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.
11 years 6 months ago - 11 years 6 months ago #193453
by yossib54
Replied by yossib54 on topic Error on Purchase of Product
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...
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: 11 years 6 months ago by yossib54. Reason: Found a solution
Please Log in or Create an account to join the conversation.
Time to create page: 0.296 seconds