Support Forums

Support Offline : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Error on course pages in the Kindergarten component

Featured Lock Resolved Bug
Hello!
Help me please!
An error occurs on the course pages in the Kindergarten component:

https://www.darville.kz/ru/programmy/kursy/course/30-letnij_dnevnoj_lager
https://www.darville.kz/ru/programmy/kursy/course/24-teatralnaja_studija

Help solve the problem!

Thank.

12 Answers

Toufiq - Staff

More than a month ago #Permalink
Hi there,

I have solved again. Please check now.

Added this line of code under the previous code & previous code changed

public static function old2new($data, $keys = array(), $prefix = '' )



if (empty($data)) $data = array();
if (empty($keys)) $keys = array();


-Thanks

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Please send me the Joomla Administrator access & FTP access via PM.

-Thanks

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Here is the solution & already i have solved your problem.

components/com_spkgarten/helpers/helper.php
old code

public static function old2new($data, $keys = array(), $prefix = '' )


new code

public static function old2new($data=array(), $keys = array(), $prefix = '' )


-Thanks

Vyacheslav

More than a month ago #Permalink
Hi there,

Here is the solution & already i have solved your problem.

components/com_spkgarten/helpers/helper.php
old code

public static function old2new($data, $keys = array(), $prefix = '' )


new code

public static function old2new($data=array(), $keys = array(), $prefix = '' )


-Thanks


Hi, Tufik!

Thank you, but the problem remains :(

https://www.darville.kz/ru/programmy/kursy/course/20-fitnes_muzyka_i_tvorchestvo

https://www.darville.kz/ru/programmy/kursy/course/21-rannee_razvitie

https://www.darville.kz/ru/programmy/kursy/course/30-letnij_dnevnoj_lager

Vyacheslav

More than a month ago #Permalink
I want to add more. If I make changes in the course text, the error disappears, but the text formatting disappears.

I try to format the text again, but it is not saved as it should

Attachments (2)

  • 2018-12-19_10-49-29.png
    2018-12-19_10-49-29.png 558.4 KB
  • 2018-12-19_10-50-57.png
    2018-12-19_10-50-57.png 231.2 KB

Vyacheslav

More than a month ago #Permalink
Hi there,

I have solved again. Please check now.

Added this line of code under the previous code & previous code changed

public static function old2new($data, $keys = array(), $prefix = '' )



if (empty($data)) $data = array();
if (empty($keys)) $keys = array();


-Thanks


Hi, Toufiq!

Thanks for the help!

But one problem remained. If I create a new course, everything is fine. If I try to make changes to the existing course, the description text is not saved normally - all text formatting disappears. All attempts to create a bold text, create a new paragraph, and so on, end in failure.

Try to make changes in the description of these courses and save and you will see the problem:

https://www.darville.kz/administrator/index.php?option=com_spkgarten&view=course&layout=edit&id=20

https://www.darville.kz/administrator/index.php?option=com_spkgarten&view=course&layout=edit&id=31

Sorry for my English :(

Toufiq - Staff

More than a month ago #Permalink
Hi there, Can you show me the wrong formatting screenshot? Thanks

Vyacheslav

More than a month ago #Permalink
Hi there, Can you show me the wrong formatting screenshot? Thanks


Hi, Toufiq!



You have an access to adminpanel.

Please, visit at any link in the administrator the panel the page of courses and try to make any changes to the text and to keep. You will see that changes do not remain.

https://www.darville.kz/administrator/index.php?option=com_spkgarten&view=course&layout=edit&id=33

https://www.darville.kz/administrator/index.php?option=com_spkgarten&view=course&layout=edit&id=20

https://www.darville.kz/administrator/index.php?option=com_spkgarten&view=course&layout=edit&id=31


Please, visit at this link:

https://www.darville.kz/administrator/index.php?option=com_spkgarten&view=course&layout=edit&id=26

In this course everything is normally displayed both in the administrator of the panel and on the website. But try "save" and you will see that all formatting of the text vanishes.
Thus I "spoiled" several courses.


Thanks!

Toufiq - Staff

More than a month ago #Permalink
Hi there, I have added test text inside the content area in this item.

https://www.darville.kz/administrator/index.php?option=com_spkgarten&view=course&layout=edit&id=33

-Thanks

Vyacheslav

More than a month ago #Permalink
Hi there, I have added test text inside the content area in this item.

https://www.darville.kz/administrator/index.php?option=com_spkgarten&view=course&layout=edit&id=33

-Thanks


Hi, Toufiq!

I explain incomprehensibly :(

Please look again screenshots!

The text is saved, but I cannot create a new paragraph, make a line break, make a colored font, change the font size ... After saving, all changes disappear.


-Thanks

Attachments (2)

  • screenshot---1.png
    screenshot---1.png 177.2 KB
  • screenshot---1.png
    screenshot---1.png 177.2 KB

Toufiq - Staff

More than a month ago #Permalink
Hi there,

Got the issue. We will fix it next update.

-Thanks


There are no replies made for this post yet.
Be one of the first to reply to this post!

Leaderboard (30 days)

Paul Frankowski

Paul Frankowski

Total Accepted Answers: 127
Sifat

Sifat

Total Accepted Answers: 83
Toufiq

Toufiq

Total Accepted Answers: 70
Pavel

Pavel

Total Accepted Answers: 6
Rifat Wahid Alif

Rifat Wahid Alif

Total Accepted Answers: 5

114

Templates

293255

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us