Jump to content

Cannot add or modify items


audiofix

Recommended Posts

Hi,

Please help!

I've recently taken over a business which uses this software.

So far everything has been fine until this week. I am now unable to add or modify any new items.

The error message I receive is:

×2 errors

The description field (English (English)) is invalid.

The description_short field (English (English)) is invalid.

I haven't changed any settings.

I am using version 1.6.0.14.

 

Thanks :)

Link to comment
Share on other sites

Is an iframe included in the description by chance?
Put the texts enclosed in the CODE <> tag that you put into the product here in the forum.

Link to comment
Share on other sites

5 minutes ago, Guest said:

Is an iframe included in the description by chance?
Put the texts enclosed in the CODE <> tag that you put into the product here in the forum.

No iframe as far as I'm aware. 

Everything I'm doing is in the back office. 

In regards to text I can't add simple text such as '123abc' to the title.

I can't edit a listing which has previously had no errors without seeing the two errors.

 

Link to comment
Share on other sites

On 7/18/2020 at 8:13 AM, audiofix said:

The description field (English (English)) is invalid.

The description_short field (English (English)) is invalid.

The only time I saw this was when importing a csv. But it may be possible that it happens during normal saving too.

Anyway, in my case it was due to unbalanced html. So for example an opening "<div>" that isn't matched by a closing "</div>".

With Prestools it is easy to repair. In Prestashop you will need to click the sourcecode button of the TinyMCE window and study the text.

Link to comment
Share on other sites

15 minutes ago, musicmaster said:

The only time I saw this was when importing a csv. But it may be possible that it happens during normal saving too.

Anyway, in my case it was due to unbalanced html. So for example an opening "<div>" that isn't matched by a closing "</div>".

With Prestools it is easy to repair. In Prestashop you will need to click the sourcecode button of the TinyMCE window and study the text.

Thank you so much. I think I'm getting somewhere now!

For some reason every time I press save all the following code is being added to the sourcecode (once i removed this code the errors disappeared):

 

</div>
<script src="https://www.google-analytics.com/analytics.js" async=""></script>
<script src="https://www.google-analytics.com/analytics.js" async=""></script>
<script src="blob:https://audiofix.com.au/6bb7471e-fb08-44da-8e24-0e403a9c607f"></script>
<script>// <![CDATA[
<br>                    window.dataLayer = window.dataLayer || [];<br>                    function gtag(){dataLayer.push(arguments);}<br>                    gtag('js', new Date());<br><br>                    gtag('config', 'UA-172659890-1');<br>
// ]]></script>
<script src="blob:https://audiofix.com.au/ada78017-44eb-4752-ad96-bd265ae7bb2f"></script>
<script>// <![CDATA[
<br>                    window.dataLayer = window.dataLayer || [];<br>                    function gtag(){dataLayer.push(arguments);}<br>                    gtag('js', new Date());<br><br>                    gtag('config', 'UA-172659890-1');<br>                
// ]]></script>

Link to comment
Share on other sites

Problem solved. It was an either one of two google chrome addons I use for batch downloading images from a website or it was a video downloadeder that was adding its own google analytics code into my source code. Bit scary.

 

Thank you for your help everyone! 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...