Lost my (hika)shop overnight ...

  • Posts: 6
  • Thank you received: 0
9 years 1 month ago #247865

-- url of the page with the problem -- : shop.isunet.edu/
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.6
-- Error-message(debug-mod must be tuned on) -- : Blank front end pages

Bizarre attitude of Hikashop...

Overnight, my HikaShop install stopped working.

Installed a fresh copy and created 1 product and 1 category for initial testing.

Was working fine for some hours but when I try accessing today (after one night) :
- The frontEnd menus are driving me to a blank page...
- The Hikashop Back-end Categories and products goes to a blank page ....

Any explanation ?

Last edit: 9 years 1 month ago by cns.

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

  • Posts: 12953
  • Thank you received: 1778
9 years 1 month ago #247869

Hello,
A blank page only means that an error occurred but can't be displayed because the Joomla debug mode and Error reporting are disabled, can you :
- Activate the Joomla debug mode ("Administration->Global configuration->System->Debug System/Language")
- Set the "error reporting" option of the Joomla configuration to "maximum"
- Test it again so that you can see if it display an error message which will help you to understand from what your issue is coming.

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

  • Posts: 6
  • Thank you received: 0
9 years 4 weeks ago #247974

Hi Mohamed,

Thank you for the reply. I did set the error reporting at MAX and I am getting this error:

Fatal error: Cannot redeclare class hikashopWysiwyg in /var/www/administrator/components/com_hikashop/classes/field.php on line 1998

Does not help me :) Hopefully it is clear for you.

Please let me know what I should be doing next.

Regards,
Joel

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

  • Posts: 26275
  • Thank you received: 4045
  • MODERATOR
9 years 4 weeks ago #247976

Hi,

www.hikashop.com/forum/install-update/87...-php-5-5.html#170944

Please be sure that you do not have any plugin or template which can (re)declare HikaShop elements.
The HikaShop Wysiwyg (custom field) is a class which cannot be override by a plugin or template ; trying to do that will create major issues.

HikaShop just declare that class once and the file cannot be include twice. If it was the case (which is not), other errors will appears.
So I am quite sure that the problem is coming from an external element.

Regards,


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: 6
  • Thank you received: 0
9 years 3 weeks ago #248300

Dear Support,

As it was a test, I took the initiative to do an even easier test:
Fresh Joomla latest install+Hikashop latest install+Using the standard joomla template
Created 3 categories and 2 products.

Day of creation was OK
Next day, tada ! Same problem happened, nothing anymore ... Backend and FrontEnd dead when accessing categories or products.

May someone look into this, because if a basic fresh install is crashing it overnight ... :angry:

Thank you in advance.

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

  • Posts: 26275
  • Thank you received: 4045
  • MODERATOR
9 years 3 weeks ago #248302

Hi,

HikaShop does not modify itself.
The class hikashopWysiwyg is declared just once in HikaShop and if the field class where included once (which is not possible), you will have other class declaration collision.
So what we wrote before is still the truth.

You can check yourself by adding that code in the HikaShop field class file.

if(class_exists('hikashopWysiwyg')) {
	$reflector = new ReflectionClass('hikashopWysiwyg');
	die( 'hikashopWysiwyg declared - ' . $reflector->getFileName() );
}
php.net/manual/en/class.reflectionclass.php

Regards,


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: 1
  • Thank you received: 0
9 years 3 weeks ago #248535

Dear Jerome!

I migrated a Joomla website with hikashop starter to another webserver and I got the same error.
If I were editing the fields.php after hikashopWysiwyg clas ( which start line 1998), for example:

/**/
class hikashopTextarea extends hikashopItem {

The website once executed, but throws an error on the next load.

Both machines running on multiple Joomla sites, but in this one used Hikashop
First "good running" server is Debian 7.9, second/new server is Debian 8.5.

Thank you in advance for your answer

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

  • Posts: 84313
  • Thank you received: 13702
  • MODERATOR
8 years 11 months ago #251295

Hi,

I don't think that it is linked to the server version, but to extensions/plugins installed and activated on your website. One of them must do something it shouldn't. I would recommend to try deactivating the plugins one by one via the Joomla plugins manager to find out what's the problem.

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

Time to create page: 0.085 seconds
Powered by Kunena Forum