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

#   Unable to attach Serial Download to Product

##

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

Less More

- Posts: 22
- Thank you received: 3
-
-
- [](http://www.fusion.gg)
-

11 years 9 months ago [\#187535](#187535) by [philgsy](/forum/user/8182-philgsy "View philgsy's Profile")  *[Unable to attach Serial Download to Product](/forum/15-general-talk-about-hikaserial/874400-unable-to-attach-serial-download-to-product#187535 "-- HikaShop version -- : 2.3.5 -- HikaSerial version -- : 1.9.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 39.0.2171.99 m IE 11 -- Error-message(debug-mod must be tuned on) -- : Blank Page  When trying to attach a serial download to a product, I'm just getting a blank page in the popup. This was working previously, but recently has now stopped. I've set to Debug and Maximum, but I only get the Joomla Debug output and no error messages above it.")* was created by *[philgsy](/forum/user/8182-philgsy "View philgsy's Profile")*

-- HikaShop version -- : 2.3.5
-- HikaSerial version -- : 1.9.0
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : Chrome 39.0.2171.99 m IE 11
-- Error-message(debug-mod must be tuned on) -- : Blank Page

When trying to attach a serial download to a product, I'm just getting a blank page in the popup.
This was working previously, but recently has now stopped.
I've set to Debug and Maximum, but I only get the Joomla Debug output and no error messages above it.

- [ ![screen1.png](/forum/attachment/21822) ](/forum/attachment/21822 "screen1.png") [ ](/forum/attachment/21822?download=1 "screen1.png")
- [ ![screen2.png](/forum/attachment/21823) ](/forum/attachment/21823 "screen2.png") [ ](/forum/attachment/21823?download=1 "screen2.png")

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

11 years 9 months ago [\#187537](#187537) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Unable to attach Serial Download to Product](/forum/15-general-talk-about-hikaserial/874400-unable-to-attach-serial-download-to-product#187537 "-- HikaShop version -- : 2.3.5 -- HikaSerial version -- : 1.9.0 -- Joomla version -- : 3.3.6 -- PHP version -- : 5.3.28 -- Browser(s) name and version -- : Chrome 39.0.2171.99 m IE 11 -- Error-message(debug-mod must be tuned on) -- : Blank Page  When trying to attach a serial download to a product, I'm just getting a blank page in the popup. This was working previously, but recently has now stopped. I've set to Debug and Maximum, but I only get the Joomla Debug output and no error messages above it.")*

Hi,

Yes, it's a bug I already reported to the team but I don't know if the latest HikaShop 2.3.5 contain the fix (but it will in the next release).
You can edit the file "administrator/components/com_hikashop/controllers/product.php" and use that code in the _saveFile function Code:

switch($filemode) { case 'path': $file-&gt;file_path = $formData['filepath']; if(strpos($file-&gt;file_path, '..') !== false) return false; $firstChar = substr($file-&gt;file_path,0,1); if(substr($file-&gt;file_path, 0, 7) != 'http://' &amp;&amp; substr($file-&gt;file_path, 0, 8) != 'https://' &amp;&amp; !in_array($firstChar, array('#','@'))) { $config =&amp; hikashop_config(); $clean_filename = JPath::clean($file-&gt;file_path); $secure_path = $config-&gt;get('uploadsecurefolder'); if((JPATH_ROOT != '') &amp;&amp; strpos($clean_filename, JPath::clean(JPATH_ROOT)) !== 0 &amp;&amp; strpos($clean_filename, JPath::clean($secure_path)) !== 0) return false; } break;

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzE1LWdlbmVyYWwtdGFsay1hYm91dC1oaWthc2VyaWFsLzg3NDQwMC11bmFibGUtdG8tYXR0YWNoLXNlcmlhbC1kb3dubG9hZC10by1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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.047 seconds

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