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

#   Errors transferring from local to working server

##

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

Less More

- Posts: 134
- Thank you received: 6
-
-
-
- [](https://madein-bg.com)
-

11 years 8 months ago -  11 years 8 months ago [\#192023](#192023) by [filiar](/forum/user/33070-filiar "View filiar's Profile")  *[Errors transferring from local to working server](/forum/22-market-bug-report/875215-errors-transferring-from-local-to-working-server#192023 "-- HikaShop version -- : 2.3.5 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.16 -- Error-message(debug-mod must be tuned on) -- : Warning: getimagesize(/home/footst/public&#95;html/madein-bg/w/media/com&#95;hikashop/upload/vendor41&#92;logo&#95;15815.png) &#91;function.getimagesize&#93;: failed to open stream: No such file or directory in /home/footst/public&#95;html/madein-bg/w/administrator/components/com&#95;hikashop/helpers/image.php on line 414  So, after updating to HM 1.6.0 the following error appeared on uploading from local project to working:  On the image of Vendor listing in frontend and on Vendor image in edit form in backend:  And the second warning appears in the main menu only on vendor listing page:  I noticed the backslash after the vendor folder if that's the reason.")* was created by *[filiar](/forum/user/33070-filiar "View filiar's Profile")*

-- HikaShop version -- : 2.3.5
-- HikaMarket version -- : 1.6.0
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4.16
-- Error-message(debug-mod must be tuned on) -- : Warning: getimagesize(/home/footst/public_html/madein-bg/w/media/com_hikashop/upload/vendor41\logo_15815.png) [function.getimagesize]: failed to open stream: No such file or directory in /home/footst/public_html/madein-bg/w/administrator/components/com_hikashop/helpers/image.php on line 414

So, after updating to HM 1.6.0 the following error appeared on uploading from local project to working:

On the image of Vendor listing in frontend and on Vendor image in edit form in backend:
Code:

Warning: getimagesize(/home/footst/public_html/madein-bg/w/media/com_hikashop/upload/vendor41\logo_15815.png) [function.getimagesize]: failed to open stream: No such file or directory in /home/footst/public_html/madein-bg/w/administrator/components/com_hikashop/helpers/image.php on line 414

And the second warning appears in the main menu only on vendor listing page: Code:

Warning: in_array() expects parameter 2 to be array, null given in /home/footst/public_html/madein-bg/w/modules/mod_djmegamenu/tmpl/default.php on line 53

I noticed the backslash after the vendor folder if that's the reason.

- [ ![imageBackend.png](/forum/attachment/22623) ](/forum/attachment/22623 "imageBackend.png") [ ](/forum/attachment/22623?download=1 "imageBackend.png")
- [ ![imageFrontend.png](/forum/attachment/22624) ](/forum/attachment/22624 "imageFrontend.png") [ ](/forum/attachment/22624?download=1 "imageFrontend.png")

Last edit: 11 years 8 months ago by [filiar](/forum/user/33070-filiar "View filiar's Profile").

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

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

Less More

- Posts: 134
- Thank you received: 6
-
-
-
- [](https://madein-bg.com)
-

11 years 8 months ago [\#192024](#192024) by [filiar](/forum/user/33070-filiar "View filiar's Profile")  Replied by *[filiar](/forum/user/33070-filiar "View filiar's Profile")* on topic *[Error on transverring to real server](/forum/22-market-bug-report/875215-errors-transferring-from-local-to-working-server#192024 "-- HikaShop version -- : 2.3.5 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.16 -- Error-message(debug-mod must be tuned on) -- : Warning: getimagesize(/home/footst/public&#95;html/madein-bg/w/media/com&#95;hikashop/upload/vendor41&#92;logo&#95;15815.png) &#91;function.getimagesize&#93;: failed to open stream: No such file or directory in /home/footst/public&#95;html/madein-bg/w/administrator/components/com&#95;hikashop/helpers/image.php on line 414  So, after updating to HM 1.6.0 the following error appeared on uploading from local project to working:  On the image of Vendor listing in frontend and on Vendor image in edit form in backend:  And the second warning appears in the main menu only on vendor listing page:  I noticed the backslash after the vendor folder if that's the reason.")*

I forgot to mention that this happens only when the modifications are made locally (XAMPP for Windows) and then uploaded to the working server. No such error appears when the vendor is added online.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg3NTIxNS1lcnJvcnMtdHJhbnNmZXJyaW5nLWZyb20tbG9jYWwtdG8td29ya2luZy1zZXJ2ZXI/dG1wbD1tYXJrZG93bg==) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 8 months ago [\#192056](#192056) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Error on transverring to real server](/forum/22-market-bug-report/875215-errors-transferring-from-local-to-working-server#192056 "-- HikaShop version -- : 2.3.5 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.16 -- Error-message(debug-mod must be tuned on) -- : Warning: getimagesize(/home/footst/public&#95;html/madein-bg/w/media/com&#95;hikashop/upload/vendor41&#92;logo&#95;15815.png) &#91;function.getimagesize&#93;: failed to open stream: No such file or directory in /home/footst/public&#95;html/madein-bg/w/administrator/components/com&#95;hikashop/helpers/image.php on line 414  So, after updating to HM 1.6.0 the following error appeared on uploading from local project to working:  On the image of Vendor listing in frontend and on Vendor image in edit form in backend:  And the second warning appears in the main menu only on vendor listing page:  I noticed the backslash after the vendor folder if that's the reason.")*

Hi,

Please check that the file "media/com_hikashop/upload/vendor41\logo_15815.png" exist and has been transferred.
Then you can see to edit the HikaShop helper image and replace Code:

list($origin-&gt;width, $origin-&gt;height) = getimagesize($fullFilename);

By Code:

list($origin-&gt;width, $origin-&gt;height) = getimagesize($clean_filename);

About the warning in "mod_djmegamenu" ; I can't help you, it's not HikaShop/HikaMarket related.

Regards,

---

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

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

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

Less More

- Posts: 134
- Thank you received: 6
-
-
-
- [](https://madein-bg.com)
-

11 years 8 months ago [\#192059](#192059) by [filiar](/forum/user/33070-filiar "View filiar's Profile")  Replied by *[filiar](/forum/user/33070-filiar "View filiar's Profile")* on topic *[Error on transverring to real server](/forum/22-market-bug-report/875215-errors-transferring-from-local-to-working-server#192059 "-- HikaShop version -- : 2.3.5 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.16 -- Error-message(debug-mod must be tuned on) -- : Warning: getimagesize(/home/footst/public&#95;html/madein-bg/w/media/com&#95;hikashop/upload/vendor41&#92;logo&#95;15815.png) &#91;function.getimagesize&#93;: failed to open stream: No such file or directory in /home/footst/public&#95;html/madein-bg/w/administrator/components/com&#95;hikashop/helpers/image.php on line 414  So, after updating to HM 1.6.0 the following error appeared on uploading from local project to working:  On the image of Vendor listing in frontend and on Vendor image in edit form in backend:  And the second warning appears in the main menu only on vendor listing page:  I noticed the backslash after the vendor folder if that's the reason.")*

> Jerome wrote: Hi,
>
> Please check that the file "media/com\_hikashop/upload/vendor41\\logo\_15815.png" exist and has been transferred.
> Then you can see to edit the HikaShop helper image and replace
>
> Code:
>
> list($origin-&gt;width, $origin-&gt;height) = getimagesize($fullFilename);
>
>
>
> By Code:
>
> list($origin-&gt;width, $origin-&gt;height) = getimagesize($clean_filename);
>
>
>
>
> About the warning in "mod\_djmegamenu" ; I can't help you, it's not HikaShop/HikaMarket related.
>
> Regards,

Images are there and are displayed.
I made the modifications but Still no effect.

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

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

Less More

- Posts: 134
- Thank you received: 6
-
-
-
- [](https://madein-bg.com)
-

11 years 8 months ago -  11 years 8 months ago [\#192061](#192061) by [filiar](/forum/user/33070-filiar "View filiar's Profile")  Replied by *[filiar](/forum/user/33070-filiar "View filiar's Profile")* on topic *[Error on transverring to real server](/forum/22-market-bug-report/875215-errors-transferring-from-local-to-working-server#192061 "-- HikaShop version -- : 2.3.5 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.16 -- Error-message(debug-mod must be tuned on) -- : Warning: getimagesize(/home/footst/public&#95;html/madein-bg/w/media/com&#95;hikashop/upload/vendor41&#92;logo&#95;15815.png) &#91;function.getimagesize&#93;: failed to open stream: No such file or directory in /home/footst/public&#95;html/madein-bg/w/administrator/components/com&#95;hikashop/helpers/image.php on line 414  So, after updating to HM 1.6.0 the following error appeared on uploading from local project to working:  On the image of Vendor listing in frontend and on Vendor image in edit form in backend:  And the second warning appears in the main menu only on vendor listing page:  I noticed the backslash after the vendor folder if that's the reason.")*

Adding this code on line 414 worked for me:

Code:

$fullFilename = str_replace( '\\', '/', $fullFilename); $filename = str_replace( '\\', '/', $filename);

Last edit: 11 years 8 months ago by [filiar](/forum/user/33070-filiar "View filiar's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg3NTIxNS1lcnJvcnMtdHJhbnNmZXJyaW5nLWZyb20tbG9jYWwtdG8td29ya2luZy1zZXJ2ZXI/dG1wbD1tYXJrZG93bg==) 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: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 8 months ago [\#192062](#192062) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Error on transverring to real server](/forum/22-market-bug-report/875215-errors-transferring-from-local-to-working-server#192062 "-- HikaShop version -- : 2.3.5 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.16 -- Error-message(debug-mod must be tuned on) -- : Warning: getimagesize(/home/footst/public&#95;html/madein-bg/w/media/com&#95;hikashop/upload/vendor41&#92;logo&#95;15815.png) &#91;function.getimagesize&#93;: failed to open stream: No such file or directory in /home/footst/public&#95;html/madein-bg/w/administrator/components/com&#95;hikashop/helpers/image.php on line 414  So, after updating to HM 1.6.0 the following error appeared on uploading from local project to working:  On the image of Vendor listing in frontend and on Vendor image in edit form in backend:  And the second warning appears in the main menu only on vendor listing page:  I noticed the backslash after the vendor folder if that's the reason.")*

Hi,

Okay.
Windows and Linux are not using the same character for the folder separator.
I made a report for your issue to HikaShop (because it's in HikaShop, not HikaMarket) and they will made a patch for the next release.

Regards,

---

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

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

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

Less More

- Posts: 134
- Thank you received: 6
-
-
-
- [](https://madein-bg.com)
-

11 years 8 months ago [\#192063](#192063) by [filiar](/forum/user/33070-filiar "View filiar's Profile")  Replied by *[filiar](/forum/user/33070-filiar "View filiar's Profile")* on topic *[Error on transverring to real server](/forum/22-market-bug-report/875215-errors-transferring-from-local-to-working-server#192063 "-- HikaShop version -- : 2.3.5 -- HikaMarket version -- : 1.6.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.4.16 -- Error-message(debug-mod must be tuned on) -- : Warning: getimagesize(/home/footst/public&#95;html/madein-bg/w/media/com&#95;hikashop/upload/vendor41&#92;logo&#95;15815.png) &#91;function.getimagesize&#93;: failed to open stream: No such file or directory in /home/footst/public&#95;html/madein-bg/w/administrator/components/com&#95;hikashop/helpers/image.php on line 414  So, after updating to HM 1.6.0 the following error appeared on uploading from local project to working:  On the image of Vendor listing in frontend and on Vendor image in edit form in backend:  And the second warning appears in the main menu only on vendor listing page:  I noticed the backslash after the vendor folder if that's the reason.")*

Thank You, Jerome.

And in case someone else experiences simmilar problem - the menu issue was also connected somehow with this, because after the code modifications above it is now working as expected.

Regards!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIyLW1hcmtldC1idWctcmVwb3J0Lzg3NTIxNS1lcnJvcnMtdHJhbnNmZXJyaW5nLWZyb20tbG9jYWwtdG8td29ya2luZy1zZXJ2ZXI/dG1wbD1tYXJrZG93bg==) 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?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

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

Time to create page: 0.063 seconds

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