- Posts: 640
- Thank you received: 16
productmarket/tmpl/form_image_entry.php 1.1.4 BUG
- PeterChain
-
Topic Author
- Offline
Less
More
13 years 4 months ago #107670
by PeterChain
productmarket/tmpl/form_image_entry.php 1.1.4 BUG was created by PeterChain
When uploading pictures with any method (drag or window select) with last version 1.4.4 it is not working. The upload process fails and a blank dialog box pops up.
I overrided the file with the 1.1.3 and I got back the possibility for upload although the Popup windows are still popping.
At a certain point I got this message:
Fatal error: Call to a member function display() on a non-object in /home/acticar/public_html/components/com_hikamarket/views/productmarket/tmpl/form_image_entry.php on line 15
Tested in both a local and an online site.
THE PROBLEM HAPPENS ALSO FOR FILE Loading, so maybe the problem is some common library. I have maximum error reporting activated but only got the message above in my testing.
I overrided the file with the 1.1.3 and I got back the possibility for upload although the Popup windows are still popping.
At a certain point I got this message:
Fatal error: Call to a member function display() on a non-object in /home/acticar/public_html/components/com_hikamarket/views/productmarket/tmpl/form_image_entry.php on line 15
Tested in both a local and an online site.
THE PROBLEM HAPPENS ALSO FOR FILE Loading, so maybe the problem is some common library. I have maximum error reporting activated but only got the message above in my testing.
Please Log in or Create an account to join the conversation.
13 years 4 months ago #107684
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic productmarket/tmpl/form_image_entry.php 1.1.4 BUG
Hi,
Which version of HikaShop are you using ?
If you do not have the "display" function in the imageHelper, it looks like your HikaShop version is too old for HikaMarket.
You can see the minimum HikaShop version required for each HikaMarket version:
www.hikashop.com/en/hikashop/147-hikamarket-change-log.html
Regards,
PS: Please use the right section in the forum for your HikaMarket questions.
Which version of HikaShop are you using ?
If you do not have the "display" function in the imageHelper, it looks like your HikaShop version is too old for HikaMarket.
You can see the minimum HikaShop version required for each HikaMarket version:
www.hikashop.com/en/hikashop/147-hikamarket-change-log.html
Regards,
PS: Please use the right section in the forum for your HikaMarket questions.
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
13 years 3 months ago #110980
by xsbucks
Replied by xsbucks on topic productmarket/tmpl/form_image_entry.php 1.1.4 BUG
I am having all the same issues, I can't upload a doc or img file without failing. Bith versions are up to date. Using Joomla 2.511
Please Log in or Create an account to join the conversation.
13 years 3 months ago #111023
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic productmarket/tmpl/form_image_entry.php 1.1.4 BUG
Hi,
Please edit the file "components/com_hikamarket/views/productmarket/view.html.php" and replace the code
By:
This patch will be in the next release (which should be publish end of the next week).
Regards,
Please edit the file "components/com_hikamarket/views/productmarket/view.html.php" and replace the code
Code:
public function form_image_entry() {
$imageHelper = hikamarket::get('shop.helper.image');
$this->assignRef('imageHelper', $imageHelper);
}
Code:
public function form_image_entry() {
if(empty($this->popup)) {
$popup = hikamarket::get('shop.helper.popup');
$this->assignRef('popup', $popup);
}
$imageHelper = hikamarket::get('shop.helper.image');
$this->assignRef('imageHelper', $imageHelper);
}
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
13 years 3 months ago #111057
by xsbucks
Replied by xsbucks on topic productmarket/tmpl/form_image_entry.php 1.1.4 BUG
Worked well for the image, now the file is giving a blank screen on attempt of upload
Please Log in or Create an account to join the conversation.
13 years 3 months ago #111060
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic productmarket/tmpl/form_image_entry.php 1.1.4 BUG
Hi,
You can add the same 4 lines in the function "form_file_entry" just below the function "form_image_entry".
Replacing:
By:
Regards,
You can add the same 4 lines in the function "form_file_entry" just below the function "form_image_entry".
Replacing:
Code:
$vendor = hikamarket::loadVendor(true);
$this->assignRef('vendor', $vendor);
Code:
$vendor = hikamarket::loadVendor(true);
$this->assignRef('vendor', $vendor);
if(empty($this->popup)) {
$popup = hikamarket::get('shop.helper.popup');
$this->assignRef('popup', $popup);
}
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
13 years 3 months ago #111066
by xsbucks
Replied by xsbucks on topic productmarket/tmpl/form_image_entry.php 1.1.4 BUG
That one is still throwing as failed.
Still receiving the error "components/com_hikamarket/views/productmarket/tmpl/form.php on line 237" on the page if that helps at all
Still receiving the error "components/com_hikamarket/views/productmarket/tmpl/form.php on line 237" on the page if that helps at all
Please Log in or Create an account to join the conversation.
13 years 3 months ago #111098
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic productmarket/tmpl/form_image_entry.php 1.1.4 BUG
Hi,
Not really.
I don't see the link between the upload and the view "form".
After that, in the HikaMarket 1.1.4, the line 237 of that view is for displaying the MSRP price.
If you have an error here, you shouldn't see the product page edition at all.
Which versions of HikaShop and HikaMarket are you using ?
Could you give me more information about the error and the line in this view ?
Regards,
Not really.
I don't see the link between the upload and the view "form".
After that, in the HikaMarket 1.1.4, the line 237 of that view is for displaying the MSRP price.
If you have an error here, you shouldn't see the product page edition at all.
Which versions of HikaShop and HikaMarket are you using ?
Could you give me more information about the error and the line in this view ?
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
13 years 3 months ago - 13 years 3 months ago #111212
by xsbucks
Replied by xsbucks on topic productmarket/tmpl/form_image_entry.php 1.1.4 BUG
Last edit: 13 years 3 months ago by xsbucks.
Please Log in or Create an account to join the conversation.
13 years 3 months ago #111252
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic productmarket/tmpl/form_image_entry.php 1.1.4 BUG
Hi,
There is no link between the upload and the retail price.
The notices you see is because the default currency is not published.
Just after the "retrail price" input box, you should see the currency name and currency code. But because there is an error in your HikaShop configuration, HikaMarket can't load the currency.
The upload problem has been fixed.
Regards,
There is no link between the upload and the retail price.
The notices you see is because the default currency is not published.
Just after the "retrail price" input box, you should see the currency name and currency code. But because there is an error in your HikaShop configuration, HikaMarket can't load the currency.
The upload problem has been fixed.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
13 years 3 months ago #111335
by xsbucks
Replied by xsbucks on topic productmarket/tmpl/form_image_entry.php 1.1.4 BUG
Okay rebuilt for the 3rd time on a separate system, Seems to work fine with the updates you gave. I am however receiving an invalid token error on the popup.
Flow.
1) Click on Popup to upload
2) Find upload and hit enter
3) File loads in Background
a)File loads in background successfully
b) Popup screen shows invalid token.
Flow.
1) Click on Popup to upload
2) Find upload and hit enter
3) File loads in Background
a)File loads in background successfully
b) Popup screen shows invalid token.
Please Log in or Create an account to join the conversation.
13 years 3 months ago #111396
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic productmarket/tmpl/form_image_entry.php 1.1.4 BUG
Hi,
Which browser are you using ? Which Joomla version ?
I think that the popup you see is not logical and we made some fixes in HikaShop for the popup system.
When clicking on the "upload" button, if you have a good browser and no javascript error, you will just see the file selection, without any upload popup.
The upload popup is just a security if you have an old browser.
After that, the popup contains a token and the ajax uploader too. So I don't understand your error message and what you are doing to see it.
Regards,
Which browser are you using ? Which Joomla version ?
I think that the popup you see is not logical and we made some fixes in HikaShop for the popup system.
When clicking on the "upload" button, if you have a good browser and no javascript error, you will just see the file selection, without any upload popup.
The upload popup is just a security if you have an old browser.
After that, the popup contains a token and the ajax uploader too. So I don't understand your error message and what you are doing to see it.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.278 seconds