Problem saving product in front-end

  • Posts: 32
  • Thank you received: 2
11 years 4 months ago #110547

First, excuse my bad english.

I have buyed HikaMarket, and the intalation was good so I have two problems when I add a product from the front-end:

-I cannot upload an image "Eye thumb.jpg (159.15 KB)failed"
-I cannot save my product.

Here is the link:

Credentials removed by a moderator

Last edit: 11 years 4 months ago by Jerome.

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 4 months ago #110551

Hi,

There are some PHP errors while saving the product and while displaying the thumbnail of the uploaded image.

The upload seems to works but when displaying the thumbnail there is an error. So the HTML is broken and HikaMarket script say that the upload as failed.
During the product save, you got a blank page, which introduce that there is a PHP error.

First, I will highly recommend you to upgrade your HikaShop to 2.1.3 because you have HikaShop 2.1.0 installed and HikaMarket 1.1.4 requires HikaShop 2.1.3 or newer
www.hikashop.com/en/hikashop/147-hikamarket-change-log.html

If you still have some errors after the HikaShop update, you will have to activate the Joomla debug mode or access to your PHP error log.
With the error message we will be able to understand the source of the problem and to fix it.

The new version of HikaMarket (1.2.0) will be release few days after HikaShop 2.2.0 which is planned for this week.
HikaMarket update will include some fixes and new integration plugins (and the paypal adaptive plugin).

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: 32
  • Thank you received: 2
11 years 4 months ago #110559

I´m sorry but I cannot see any error message

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

  • Posts: 82823
  • Thank you received: 13370
  • MODERATOR
11 years 4 months ago #110571

If you activate the Joomla debug mode and the error reporting options of the joomla configuration and try again you should see the errors.

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

  • Posts: 32
  • Thank you received: 2
11 years 4 months ago #110582

Debug mode is enabled. But I dont see any error

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 4 months ago #110588

Hi,

As Nicolas said, you have to set the error reporting too.



Otherwise, you will have to read the PHP error log in your web hosting.

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.
Attachments:

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

  • Posts: 32
  • Thank you received: 2
11 years 4 months ago #110591

I´m sorry i was enabling system > debug system :blush:

Now it´s like your picture


After this I have disabled richsnipped plugin and now is saving product but not saving images


After this I have disabled falang plugin and now is ALL ok


Thanks for your suport!

Last edit: 11 years 4 months ago by bmoreno1983.
The following user(s) said Thank You: Jerome

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 4 months ago #110619

Thanks for the report.

I will try to reproduce your problem in a local website using falang.

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: 32
  • Thank you received: 2
11 years 4 months ago #110733

I have another problem.

I have some isues widht cache and uploading images in front-end

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 4 months ago #110740

Hi,

Could you please explain more your problem ?
I don't think I understand it clearly.

Thanks !


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: 32
  • Thank you received: 2
11 years 4 months ago #110752

Sincerly, I´m confused. But I cannot use error reporting for the site beacuse the web it´s opperative. This is some of the messages when:

Mesages in front-end "add product"

Notice: Array to string conversion in /homepages/14/d452192043/htdocs/libraries/joomla/cache/cache.php on line 584


Strict Standards: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /homepages/14/d452192043/htdocs/templates/gk_music_free/lib/framework/helper.layout.php on line 175

Strict Standards: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in /homepages/14/d452192043/htdocs/includes/application.php on line 539

Strict Standards: Non-static method JSite::getMenu() should not be called statically, assuming $this from incompatible context in /homepages/14/d452192043/htdocs/templates/gk_music_free/lib/framework/helper.layout.php on line 175

Strict Standards: Non-static method JApplication::getMenu() should not be called statically, assuming $this from incompatible context in /homepages/14/d452192043/htdocs/includes/application.php on line 539



Mesages when I click to the "upload" button and appears de pop up:

Strict Standards: Declaration of JParameter::loadSetupFile() should be compatible with JRegistry::loadSetupFile() in /homepages/14/d452192043/htdocs/libraries/joomla/html/parameter.php on line 512

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 4 months ago #110757

Hi,

You can try to use a lesser error reporting level like "Maximum" or "Simple".
The Strict Standards notices you have are not in HikaShop so we can't fix it in our packages.

You have to activate the error reporting only if you are in a debug process.
When the debug process is finished, you have to remove the error reporting, so the website won't display the PHP notices. It is highly recommended for production.

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: 32
  • Thank you received: 2
11 years 4 months ago #110758

ok. Error reporting It´s enabled

So what do you thing about the problem?


The problem it´s the same in other of my websites (with the joomla Beez_20).

I have to say that my hikashop is the free version (not HikaMarket, it is the pay version)

Last edit: 11 years 4 months ago by bmoreno1983.

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 4 months ago #110769

Hi,

I am sorry but I don't understand what you are saying.

After this I have disabled falang plugin and now is ALL ok

So, is it working or not ?
Do you have some PHP fatal errors (when saving) or not ?

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: 32
  • Thank you received: 2
11 years 4 months ago #110773

It doesn´t work, the error is this:

-In the front-end edit/add product, the "Drag & Drop" to upload images seems to work fine (only at the beggining) so when it goes to 100% of progress it says: "1025715_3671..._o.jpg (139.98 KB)failed". If you refresh the page the image appears like if all were fine, but... the image only appears if you didn´t saved the product.




You have the link to the site in the first post of this discusion

Last edit: 11 years 4 months ago by bmoreno1983.

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 4 months ago #110814

Hi,

Please remove or downgrade the error reporting level, like I explain in my previous post.
When using the credentials you gave in the first post, I can't log-in and I have an error page instead.

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: 32
  • Thank you received: 2
11 years 4 months ago #110817

credentials removed


I have to mention that I have tryed HikaMarket (and HikaShop) in a local Joomla website width the basic template Beez_20 and any change of code and: upload images works in front-end for categories, but not for products.

Last edit: 11 years 4 months ago by Jerome.

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 4 months ago #110826

Hi,

So, do you have access to your PHP error log ?
Because, without the error message, it is difficult to know what is the problem.

What I can suppose, is to modify the view "productmarket | form_image_entry" and replace

$this->imageHelper->display(@$this->params->file_path, false, $this->params->file_name, '', '', 100, 100),
By
$this->imageHelper->display(@$this->params->file_path, false, @$this->params->file_name, '', '', 100, 100),

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: 32
  • Thank you received: 2
11 years 4 months ago #110837

Your solution has changed some things, now doesn´t appears "failed" when uploading an image so the image doesn t appears.

I thing this is a bug in HikaMarket (not my mistake) and I´m not very good programer, so I thing the best solution is that you try on your own width a new Joomla Site (My version is Joomla! 2.5.6).
I couldn´t help you so much reporting errors (beacause I cannot understand errors :blush: )

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

  • Posts: 26156
  • Thank you received: 4028
  • MODERATOR
11 years 4 months ago #110878

Hi,

I think there is a server conflict or maybe a component conflict.

We need an backend administrator access and a ftp access to your server in order to make some debug.
You can send us such private information by private message.

We will make some tests, adding some debug trace and create a patch for HikaMarket in order to support your problem in the next HikaMarket version.

Thanks,


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.

Moderators: Obsidev
Time to create page: 0.098 seconds
Powered by Kunena Forum