[Skip to main content](#vessel-content)

#   upload-your-photograph.png not showing

##

- **[techworx](/forum/user/33344-techworx "View techworx's Profile")**
- [![techworx's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33344-techworx "View techworx's Profile") Topic Author
- [ Offline](/forum/user/33344-techworx)

Less More

- Posts: 15
- Thank you received: 1
-
-

12 years 3 months ago [\#168880](#168880) by [techworx](/forum/user/33344-techworx "View techworx's Profile")  *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#168880 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")* was created by *[techworx](/forum/user/33344-techworx "View techworx's Profile")*

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.3.24
-- Browser(s) name and version -- : Chrome 36.0.1985.143 m
-- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error) [ woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail\_y-100](http://woodencanvas.nwtechworx.com/prints-on-wood-product-listing/order/dow%E2%80%A6/name-dXBsb2FkLXlvdXItcGhvdG9ncmFwaC5wbmc=/thumbnail_x-100/thumbnail_y-100)
Uncaught TypeError: undefined is not a function checkout:260
Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180
2
Widget configuration is not found. widgets.js:14

&lt;div class="hikashop_image"&gt;&lt;a onclick="SqueezeBox.fromElement(this,{parse:'rel'});return false;" href="/prints-on-wood-product-listing/order/download/field_table-order/field_namekey-cGhvdG9ncmFwaA==/name-dXBsb2FkLXlvdXItcGhvdG9ncmFwaC5wbmc=" rel="{handler:'image'}" target="_blank"&gt;&lt;img src="/prints-on-wood-product-listing/order/download/field_table-order/field_namekey-cGhvdG9ncmFwaA==/name-dXBsb2FkLXlvdXItcGhvdG9ncmFwaC5wbmc=/thumbnail_x-100/thumbnail_y-100" alt="upload-your-photograph.png"&gt;&lt;/a&gt;&lt;input type="hidden" name="data[order][photograph][name]" value="upload-your-photograph.png"&gt;&lt;input type="hidden" name="data[order][photograph][sec]" value="7438ec513b328c65d11c1e4074f4e4ef"&gt;&lt;/div&gt;

the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.

- [ ![error-upload-your-photograph&#95;.jpg](/forum/attachment/19208) ](/forum/attachment/19208 "...hotograph&#95;.jpg") [ ](/forum/attachment/19208?download=1 "...hotograph&#95;.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#168882](#168882) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#168882 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

Hi,

Please check your PHP error log.
If you have a 500 page, it means that their is a PHP fatal error.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[techworx](/forum/user/33344-techworx "View techworx's Profile")**
- [![techworx's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33344-techworx "View techworx's Profile") Topic Author
- [ Offline](/forum/user/33344-techworx)

Less More

- Posts: 15
- Thank you received: 1
-
-

12 years 3 months ago [\#168901](#168901) by [techworx](/forum/user/33344-techworx "View techworx's Profile")  Replied by *[techworx](/forum/user/33344-techworx "View techworx's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#168901 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

the error is == from this url in the mentioned code...

[ woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail\_y-100](http://woodencanvas.nwtechworx.com/prints-on-wood-product-listing/order/download/field_table-order/field_namekey-cGhvdG9ncmFwaA==/name-dXBsb2FkLXlvdXItcGhvdG9ncmFwaC5wbmc=/thumbnail_x-100/thumbnail_y-100)

that is a bad URL... I'm not sure where the code is that generates it..If you could tell me where to look, that would be helpful.

not seeing anything in my log file about it. hosted on GoDaddy... if that is relevant.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#168948](#168948) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#168948 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

Hi,

The URL is right encode in HikaShop.
If I call the url : [ woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail\_y-100](http://woodencanvas.nwtechworx.com/prints-on-wood-product-listing/order/download/field_table-order/field_namekey-cGhvdG9ncmFwaA==/name-dXBsb2FkLXlvdXItcGhvdG9ncmFwaC5wbmc=/thumbnail_x-100/thumbnail_y-100)

I got a page which tell me

> YOU HAVE AN ERROR IN YOUR SQL SYNTAX; CHECK THE MANUAL THAT CORRESPONDS TO YOUR MYSQL SERVER VERSION FOR THE RIGHT SYNTAX TO USE NEAR 'AND PHOTOGRAPH = 'UPLOAD-YOUR-PHOTOGRAPH.PNG'' AT LINE 1 SQL=SELECT ORDER\_ID FROM WOOD\_HIKASHOP\_ORDER WHERE ORDER\_USER\_ID= AND PHOTOGRAPH = 'UPLOAD-YOUR-PHOTOGRAPH.PNG'

Which is partially logicial because I'm not logged in your website.

So the best is to modify the file "administrator/components/com_hikashop/classes/file.php" and replace Code:

$this-&gt;database-&gt;setQuery('SELECT order_id FROM '.hikashop_table('order').' WHERE order_user_id='.hikashop_loadUser().' AND '.$field_namekey.' = '.$this-&gt;database-&gt;Quote($name));

By Code:

$this-&gt;database-&gt;setQuery('SELECT order_id FROM '.hikashop_table('order').' WHERE order_user_id='.(int)hikashop_loadUser().' AND '.$field_namekey.' = '.$this-&gt;database-&gt;Quote($name));

It order to force the value of hikashop_loadUser and display a 0 if not logged.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[techworx](/forum/user/33344-techworx "View techworx's Profile")**
- [![techworx's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33344-techworx "View techworx's Profile") Topic Author
- [ Offline](/forum/user/33344-techworx)

Less More

- Posts: 15
- Thank you received: 1
-
-

12 years 3 months ago [\#169120](#169120) by [techworx](/forum/user/33344-techworx "View techworx's Profile")  Replied by *[techworx](/forum/user/33344-techworx "View techworx's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#169120 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

Ok... so I did that. but in the website it didn't cause any change.

I don't expect the users to be logged in at this point, as that is step 2 of the check out process, and this page is step one.

I did notice an error in javascript -- related tot his area of the page...

(function($){
$('#modal-photograph_uploadpopup').modal({"backdrop": true,"keyboard": true,"show": true,"remote": ""});
/*UnCaught TypeError : undefined is not a function */
})(jQuery);

Also which I click on the box that the image isn't loading it -- I get this error in my console.

Widget configuration is not found. widgets.js:14
Resource interpreted as Image but transferred with MIME type text/html: "[ woodencanvas.nwtechworx.com/hikashop-men...cGhvdG9ncmFwaC5wbmc=](http://woodencanvas.nwtechworx.com/hikashop-menu-for-hikashop-registration/order/download/field_table-order/field_namekey-cGhvdG9ncmFwaA==/name-dXBsb2FkLXlvdXItcGhvdG9ncmFwaC5wbmc=)".

My feeling is this error is occuring because the image it is trying to act on is not loading.

Does the hikashop router interpret '/prints-on-wood-product-listing/' as something? because there isn't a directory like that anywhere in my site.

I expect that the image that should be shown there is the default image I loaded when I setup the custom field.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 3 months ago [\#169151](#169151) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#169151 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

Hi,

Your javascript problem and the loading of the order custom field are two different subjects.
The loading is for me more critical than the javascript one (it is just a popup).

About the "widget.js", it's not related to HikaShop.

For the loading (the important part), if I open the link, I got a blank page without content. So it does not provide me a lot of information which will help us to understand what happens.
So, the best will be to have some access to your website, including a FTP account in order to add some debug traces in the "custom field download" section.
Normally, the mime type is right set when the file exists, one reason which could result a blank page is that the file is not more present in your folder.
But it can be other problems, so having the possibility to activate the Joomla debug mode (in the Joomla backend configuration) and adding some traces will help us to help you.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[techworx](/forum/user/33344-techworx "View techworx's Profile")**
- [![techworx's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33344-techworx "View techworx's Profile") Topic Author
- [ Offline](/forum/user/33344-techworx)

Less More

- Posts: 15
- Thank you received: 1
-
-

12 years 2 months ago [\#169400](#169400) by [techworx](/forum/user/33344-techworx "View techworx's Profile")  Replied by *[techworx](/forum/user/33344-techworx "View techworx's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#169400 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

Ultimately, I want to replace that AJAX code with a script to do more then just upload... I want to allow the user to crop the image, and be able to verify that the image meets size parameters based on the product they selected. What would be the best place to do this? as a plugin?

I think the custom field loading issue is significant -- I'd be happy to give you credentials... how can I send them to you securely?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[techworx](/forum/user/33344-techworx "View techworx's Profile")**
- [![techworx's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33344-techworx "View techworx's Profile") Topic Author
- [ Offline](/forum/user/33344-techworx)

Less More

- Posts: 15
- Thank you received: 1
-
-

12 years 2 months ago [\#169415](#169415) by [techworx](/forum/user/33344-techworx "View techworx's Profile")  Replied by *[techworx](/forum/user/33344-techworx "View techworx's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#169415 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

If I click the Next Button, to go to step 2 of the chick out process, then click the breadcrumb link back to step one - the default image shows.
Here is the code produced. Code:

&lt;div class="hikashop_image"&gt; &lt;a onclick="SqueezeBox.fromElement(this,{parse:'rel'});return false;" href="/hikashop-menu-for-hikashop-registration/order/download/field_table-order/field_namekey-cGhvdG9ncmFwaA==/name-dXBsb2FkLXlvdXItcGhvdG9ncmFwaC5wbmc=" rel="{handler:'image'}" target="_blank"&gt; &lt;img src="/hikashop-menu-for-hikashop-registration/order/download/field_table-order/field_namekey-cGhvdG9ncmFwaA==/name-dXBsb2FkLXlvdXItcGhvdG9ncmFwaC5wbmc=/thumbnail_x-100/thumbnail_y-100" alt="upload-your-photograph.png"&gt; &lt;/a&gt; &lt;input type="hidden" name="data[order][photograph][name]" value="upload-your-photograph.png"&gt; &lt;input type="hidden" name="data[order][photograph][sec]" value="7438ec513b328c65d11c1e4074f4e4ef"&gt; &lt;/div&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 2 months ago [\#169459](#169459) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#169459 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

Hi,

> how can I send them to you securely?

Using private message.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mindstore](/forum/user/31903-mindstore "View Mindstore's Profile")**
- [![Mindstore's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31903-mindstore "View Mindstore's Profile")
- [ Offline](/forum/user/31903-mindstore)

Less More

- Posts: 4
- Thank you received: 0
-
-

12 years 2 months ago [\#169710](#169710) by [Mindstore](/forum/user/31903-mindstore "View Mindstore's Profile")  Replied by *[Mindstore](/forum/user/31903-mindstore "View Mindstore's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#169710 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

I have the same problem on oploading at jpg file.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 2 months ago [\#169712](#169712) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#169712 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

Hi,

Please help us to help you : provide some information ![:)](/media/kunena/emoticons/3.png ":)")

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 2 months ago -  12 years 2 months ago [\#169870](#169870) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#169870 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

Hi,

@techworx
Thanks for the accesses.
I was able to fix the problem in your website. I will continue to improve the modifications for the integration in the next release.

For other users with the same kind of problem :
You can add the patch by editing the file "components/com_hikashop/controllers/order.php" and replace Code:

if($field_table == 'item') { $app = JFactory::getApplication(); $itemsData = $app-&gt;getUserState(HIKASHOP_COMPONENT.'.items_fields'); if(empty($itemsData)) $itemsData = array(); $newItem = new stdClass(); $newItem-&gt;$field_namekey = $ret-&gt;name; $itemsData[] = $newItem; $app-&gt;setUserState(HIKASHOP_COMPONENT.'.items_fields', $itemsData); }

By Code:

if($field_table == 'item') { $app = JFactory::getApplication(); $itemsData = $app-&gt;getUserState(HIKASHOP_COMPONENT.'.items_fields'); if(empty($itemsData)) $itemsData = array(); $newItem = new stdClass(); $newItem-&gt;$field_namekey = $ret-&gt;name; $itemsData[] = $newItem; $app-&gt;setUserState(HIKASHOP_COMPONENT.'.items_fields', $itemsData); } if($field_table == 'order') { $app = JFactory::getApplication(); $orderData = $app-&gt;getUserState(HIKASHOP_COMPONENT.'.checkout_fields'); if(empty($orderData)) $orderData = new stdClass(); $orderData-&gt;$field_namekey = $ret-&gt;name; $app-&gt;setUserState(HIKASHOP_COMPONENT.'.checkout_fields', $orderData); }

Regards

---

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

Last edit: 12 years 2 months ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mindstore](/forum/user/31903-mindstore "View Mindstore's Profile")**
- [![Mindstore's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31903-mindstore "View Mindstore's Profile")
- [ Offline](/forum/user/31903-mindstore)

Less More

- Posts: 4
- Thank you received: 0
-
-

12 years 2 months ago [\#169886](#169886) by [Mindstore](/forum/user/31903-mindstore "View Mindstore's Profile")  Replied by *[Mindstore](/forum/user/31903-mindstore "View Mindstore's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#169886 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

I have set in the code on the page [ www.mitkreativehjem.dk](http://www.mitkreativehjem.dk). But the problem is still there. If you under menu the "Duge" on the left side uploader at jpg fil you can't use the fil you can download in the order.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

12 years 2 months ago [\#169936](#169936) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#169936 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

The code fix that Jerome did for techworx is for custom order fields, and you are using custom item fields, so your problem has nothing to do with the thread that we're handling from the beginning of this thread, so of course, changing the code like Jerome explained won't make a difference for you.
I'm able to download the file I upload on that page when I'm in the checkout so I don't see any problem. As Jerome said, we need more information to help you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mindstore](/forum/user/31903-mindstore "View Mindstore's Profile")**
- [![Mindstore's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31903-mindstore "View Mindstore's Profile")
- [ Offline](/forum/user/31903-mindstore)

Less More

- Posts: 4
- Thank you received: 0
-
-

12 years 2 months ago [\#169957](#169957) by [Mindstore](/forum/user/31903-mindstore "View Mindstore's Profile")  Replied by *[Mindstore](/forum/user/31903-mindstore "View Mindstore's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#169957 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

What information is relevant to you - what can I sent?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 2 months ago [\#169962](#169962) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#169962 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

Hi,

As your problem seems to be different, thanks to create a new topic with your problem in details.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[techworx](/forum/user/33344-techworx "View techworx's Profile")**
- [![techworx's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33344-techworx "View techworx's Profile") Topic Author
- [ Offline](/forum/user/33344-techworx)

Less More

- Posts: 15
- Thank you received: 1
-
-

12 years 1 month ago [\#173817](#173817) by [techworx](/forum/user/33344-techworx "View techworx's Profile")  Replied by *[techworx](/forum/user/33344-techworx "View techworx's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#173817 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

OK -- so the other day -- there was an update to Hikashop -- I applied it -- thinking that you had rolled the fix to the uploader into the code... and apparently you haven't.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 1 month ago [\#173839](#173839) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[upload-your-photograph.png not showing](/forum/27-checkout/870615-upload-your-photograph-png-not-showing#173839 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.3.24 -- Browser(s) name and version -- : Chrome 36.0.1985.143 m -- Error-message(debug-mod must be tuned on) -- : Failed to load resource: the server responded with a status of 500 (Internal Server Error)   woodencanvas.nwtechworx.com/prints-on-wo...-100/thumbnail&#95;y-100  Uncaught TypeError: undefined is not a function checkout:260 Uncaught ReferenceError: RokBoxSettings is not defined rokbox.js:180 2 Widget configuration is not found. widgets.js:14    the url for the script and image seam wrong to me. the pre-upload image doesn't show.. the image doesn't show in this box after the image is uploaded.")*

Hi,

Sure, the HikaShop 2.3.3 release is just the HikaShop 2.3.2 package with the security and the Joomla 3.3.4 patches.
There is nothing else in this release as you can see in the changelog.
[ www.hikashop.com/support/support/documen...ashop-changelog.html](https://www.hikashop.com/support/support/documentation/56-hikashop-changelog.html)

So the patch I wrote is not include in the 2.3.3 package but it will be for the next one ; where we will have time to test and validate the all modifications before creating a new version ![:)](/media/kunena/emoticons/3.png ":)")

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg3MDYxNS11cGxvYWQteW91ci1waG90b2dyYXBoLXBuZy1ub3Qtc2hvd2luZz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.116 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
