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

#   error when changing the listing\_img\_title.php file

##

- **[flashx](/forum/user/8818-flashx "View flashx's Profile")**
- [![flashx's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-21.jpg)](/forum/user/8818-flashx "View flashx's Profile") Topic Author
- [ Offline](/forum/user/8818-flashx)

Less More

- Posts: 20
- Thank you received: 4
-
-

13 years 4 months ago [\#108425](#108425) by [flashx](/forum/user/8818-flashx "View flashx's Profile")  *[error when changing the listing\_img\_title.php file](/forum/2-general-talk-about-hikashop/83526-error-when-changing-the-listing-img-title-php-file#108425 "hi guys,  im finding this issue really very frustrating. Im trying to edit the listing&#95;img&#95;title.php file by going to hikashop &gt; views &gt; listing&#95;img&#95;title (product) however i keep getting this error:  i can see that it is putting a new folder structure into my template folder and not updating the correct listing&#95;img&#95;title.php file, see below:  html &gt; com&#95;hikashop &gt; product &gt; listing&#95;img&#95;title.php - (this is created in my template folder when i hit the 'save' button in joomla)  how do i fix this issue? i had my page running on a different server ages ago and i never had this problem. what am i doing wrong?  :(")* was created by *[flashx](/forum/user/8818-flashx "View flashx's Profile")*

hi guys,

im finding this issue really very frustrating. Im trying to edit the listing_img_title.php file by going to hikashop &gt; views &gt; listing_img_title (product) however i keep getting this error:
Code:

Parse error: syntax error, unexpected T_NS_SEPARATOR, expecting T_STRING in /home/mysite/public_html/templates/mytemplate/html/com_hikashop/product/listing_img_title.php on line 9

i can see that it is putting a new folder structure into my template folder and not updating the correct listing_img_title.php file, see below:

html &gt; com_hikashop &gt; product &gt; listing_img_title.php - (this is created in my template folder when i hit the 'save' button in joomla)

how do i fix this issue? i had my page running on a different server ages ago and i never had this problem. what am i doing wrong?

![:(](/media/kunena/emoticons/22.png ":(")

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

13 years 4 months ago [\#108460](#108460) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[error when changing the listing\_img\_title.php file](/forum/2-general-talk-about-hikashop/83526-error-when-changing-the-listing-img-title-php-file#108460 "hi guys,  im finding this issue really very frustrating. Im trying to edit the listing&#95;img&#95;title.php file by going to hikashop &gt; views &gt; listing&#95;img&#95;title (product) however i keep getting this error:  i can see that it is putting a new folder structure into my template folder and not updating the correct listing&#95;img&#95;title.php file, see below:  html &gt; com&#95;hikashop &gt; product &gt; listing&#95;img&#95;title.php - (this is created in my template folder when i hit the 'save' button in joomla)  how do i fix this issue? i had my page running on a different server ages ago and i never had this problem. what am i doing wrong?  :(")*

Hi,

The folder structure is correct, the file is at the good place.
Can you try to save your changes in an external file, then via the menu Display &gt; Views delete the custom view by clicking on the dustbin, and see if the error appear again.

Then edit the file, and past the previous content but corrected.

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

- **[flashx](/forum/user/8818-flashx "View flashx's Profile")**
- [![flashx's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-21.jpg)](/forum/user/8818-flashx "View flashx's Profile") Topic Author
- [ Offline](/forum/user/8818-flashx)

Less More

- Posts: 20
- Thank you received: 4
-
-

13 years 4 months ago -  13 years 4 months ago [\#108477](#108477) by [flashx](/forum/user/8818-flashx "View flashx's Profile")  Replied by *[flashx](/forum/user/8818-flashx "View flashx's Profile")* on topic *[error when changing the listing\_img\_title.php file](/forum/2-general-talk-about-hikashop/83526-error-when-changing-the-listing-img-title-php-file#108477 "hi guys,  im finding this issue really very frustrating. Im trying to edit the listing&#95;img&#95;title.php file by going to hikashop &gt; views &gt; listing&#95;img&#95;title (product) however i keep getting this error:  i can see that it is putting a new folder structure into my template folder and not updating the correct listing&#95;img&#95;title.php file, see below:  html &gt; com&#95;hikashop &gt; product &gt; listing&#95;img&#95;title.php - (this is created in my template folder when i hit the 'save' button in joomla)  how do i fix this issue? i had my page running on a different server ages ago and i never had this problem. what am i doing wrong?  :(")*

Hi Xavier,

thank you for your reply.

i have tried what you suggested.

i made a copy of listing_img_title.php

i deleted custom code which removed the error

i pasted back the code and hit the save button, however i still have the error.

one thing i did notice though, was when i hit the save button, i ended up getting '\' all over the code. the more i hit the save button the more '\\\' i get. see below snippet:
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.1.3 * @author hikashop.com * @copyright (C) 2010-2013 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined(\\\\\\\\\\\\\\\'_JEXEC\\\\\\\\\\\\\\\') or die(\\\\\\\\\\\\\\\'Restricted access\\\\\\\\\\\\\\\'); ?&gt;&lt;?php $link = hikashop_completeLink(\\\\\\\\\\\\\\\'product&amp;task=show&amp;cid=\\\\\\\\\\\\\\\'.$this-&gt;row-&gt;product_id.\\\\\\\\\\\\\\\'&amp;name=\\\\\\\\\\\\\\\'.$this-&gt;row-&gt;alias.$this-&gt;itemid.$this-&gt;category_pathway); if(!empty($this-&gt;row-&gt;extraData-&gt;top)) { echo implode(\\\\\\\\\\\\\\\"\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\",$this-&gt;row-&gt;extraData-&gt;top); } if($this-&gt;config-&gt;get(\\\\\\\\\\\\\\\'thumbnail\\\\\\\\\\\\\\\',1)){ ?&gt;

what would be causing this?

Last edit: 13 years 4 months ago by [flashx](/forum/user/8818-flashx "View flashx's Profile").

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

- **[flashx](/forum/user/8818-flashx "View flashx's Profile")**
- [![flashx's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-06-21.jpg)](/forum/user/8818-flashx "View flashx's Profile") Topic Author
- [ Offline](/forum/user/8818-flashx)

Less More

- Posts: 20
- Thank you received: 4
-
-

13 years 4 months ago [\#108483](#108483) by [flashx](/forum/user/8818-flashx "View flashx's Profile")  Replied by *[flashx](/forum/user/8818-flashx "View flashx's Profile")* on topic *[error when changing the listing\_img\_title.php file](/forum/2-general-talk-about-hikashop/83526-error-when-changing-the-listing-img-title-php-file#108483 "hi guys,  im finding this issue really very frustrating. Im trying to edit the listing&#95;img&#95;title.php file by going to hikashop &gt; views &gt; listing&#95;img&#95;title (product) however i keep getting this error:  i can see that it is putting a new folder structure into my template folder and not updating the correct listing&#95;img&#95;title.php file, see below:  html &gt; com&#95;hikashop &gt; product &gt; listing&#95;img&#95;title.php - (this is created in my template folder when i hit the 'save' button in joomla)  how do i fix this issue? i had my page running on a different server ages ago and i never had this problem. what am i doing wrong?  :(")*

OMG! after weeks of pulling my hair out, i think ive solved the "\\\" problem!!

for those of you wondering, i created a text document called php.ini

i then added this code which removed magic quotes:
Code:

magic_quotes_gpc = Off

through ftp, i uploaded this to both the pubic_html file and the public_html &gt; administrator file

NO MORE BLASTED BACKSLASHES!!!! ![:)](/media/kunena/emoticons/3.png ":)") ![:P](/media/kunena/emoticons/14.png ":P") ![:P](/media/kunena/emoticons/14.png ":P") ![:P](/media/kunena/emoticons/14.png ":P")

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

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

[](#top)
