WebSite X5Help Center

 
Ionescu C.
Ionescu C.
User

Html Script  en

Автор: Ionescu C.
Просмотрено 438, Подписчики 1, Размещенный 0  

Hello, 

I have an HTML script, that until today 1st of Oct , worked very good.

For a reason that I don't know, it doesn't work anymore.

I had in the past a similar issue, but in the end I managed to resolve it, it doesn't appear to be the same issue. LINK

@KolAsim, maybe you check if you have the time/will if it is something that I'm doing wrong.

The script in question:


The empty section, where the script should display the text from var day_1_10

Link to see the issue.

Regards, 

Cristi

Размещено
7 Ответы - 1 Полезно - 1 Корректно
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Лучший пользователь месяца ESЛучший пользователь месяца PT

.. hello, there is an error in the variable var day_5_10
... there is a carriage return  before this string:
</h2></br></p>";

.

ciao

.

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
Miguel Galarza
Miguel Galarza
User

If it stopped working on the first day of the month.
I think you have it set by day and month.

var day_1_8
I would change it to
var day_1_9

I don't remember the php code well.
0 = 1 January
1 = 2 February
2 = 3 March
3 = 4 April
4 = 5 May
5 = 6 June
6 = 7 July
7 = 8 August
8 = 9 September
9 = 10 October
10 = 11 November
11 = 12 December

Regards.

Читать больше
Размещено От Miguel Galarza
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Лучший пользователь месяца ESЛучший пользователь месяца PT

... ... my code is viewable in clear in the source of the LINK of his site... bye, ciao 

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
Ionescu C.
Ionescu C.
User
Автор

Hello,

Thank you very much for the promp response.

I have it like this:

29-9 is for SEP

1_10 is for OCT

I have no idee what is stopping from showing/displaying the text.

Regards,

Cristi

Читать больше
Размещено От Ionescu C.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Лучший пользователь месяца ESЛучший пользователь месяца PT

... the CR error as I told you before, is in the variable:
var day_5_10
... error that interrupts the flow of the code....

.

ciao

.

Читать больше
Размещено От  ‪ KolAsim ‪ ‪
Ionescu C.
Ionescu C.
User
Автор

YES!!!

You are ABSOLUTELY RIGHT!

How did you find it out?

I have re-wright the text by hand (without copy+paste) and it worked.

What could have cause this ? A blank space/character?

Thank you very MASTER!

Regards,

Cristi

Читать больше
Размещено От Ionescu C.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Лучший пользователь месяца ESЛучший пользователь месяца PT

... variable strings must not contain carriage returns...
... I saw your site, now it's OK, and the important thing is that you solved it...

.

ciao

.

Читать больше
Размещено От  ‪ KolAsim ‪ ‪