Wishlist 0 ¥0.00

“Save failed with the following error: Invalid parent ID” Error on Joomla

A client called us this evening and told us that all of a sudden, everytime he tried saving an article belonging to a certain category (it was the “Technology” category), he was seeing the following error:

Save failed with the following error: Invalid parent ID

He told us that articles belonging to other categories save fine, and if he switches the category of an article belonging to the “Technology” category to a different category, then that article will save fine. Hmmm… Usually, whenever we see something like this we think about a corrupt entry in the #__assets table.

So, the first thing that we did was that we logged in to the backend and then went to the Content -> Category Manager, and then clicked on Rebuild on the top right. That didn’t solve the problem…

The next thing that we did was that we opened the “Technology” category, and then clicked on Save on the top right. That fixed the problem! Joomla has automatically fixed the corruption in the #__assets table for that entry simply by saving it again.

But, why did the problem happen in the first place?

We really have no idea what caused this problem to happen, and our client was not interested in conducting an investigation to find out the root cause of this issue. Our guess is that the cause of this problem is a 3rd party extension that didn’t handle the #__assets table properly, and so it caused the corruption.

If you are seeing the above error on your Joomla website, then try rebuilding the categories in the Category Manager, if that doesn’t work, then try re-saving the category. If that still didn’t fix the problem, then your best option would be to contact us so that we can fix the problem for you. Our prices are affordable, our work is professional, and you’re sure to gain new friends who actually care about your business! What are you waiting for?

How to Fix the "Error Decoding JSON Data: Syntax Error" in Joomla When Logging into the Admin Area

A video tutorial on how to Fix the "Error Decoding JSON Data: Syntax Error" in Joomla.

Before trying this fix, be sure to backup your Joomla database. Since, in this case you cannot login to the admin area of your site, here is how to back up your Joomla database using phpMyAdmin: https://youtu.be/fwUmn4kMIf4 In this video there is an SQL command supplied to run on your database. For your convenience,

here it is for cutting and pasting: update xxxx_modules set params = '' where params like '%{""}%';

To read more about this problem and fix, it was found in the Joomla forums at: https://forum.joomla.org/viewtopic.ph...

Here is a transcript of the audio of this video:

Hey there Joomla fans! Thanks for tuning in again to Cybersalt's Basic Joomla Channel.

I'm Tim Davis. A big shout-out to my wife today for being patient with me fixing her joomla site that broke. A few Joomla updates ago, when we updated her site, something broke and she could no longer log into the admin area.

She'd get the "error decoding json data: syntax error." That's the subject of this tutorial now, "How to fix the "error decoding json data: syntax error".

Let's head on over to the computer and check it out! Since I can't log in and run any backup extensions that it uses I want to make a backup of this database because we're going to be going right into the database and running a little bit of code.

Now that code that I found is in the Joomla forums in a couple of places and I'll place a link in the description below where you can go and read in one of those locations. I'm also going to place a card above, at the end of the video, and a link in the description below to the tutorial on how to backup your database using phpMyAdmin.

It's really important to do that because if something goes wrong while we're running this code and you don't have a backup then your problems have just multiplied.

So, the first thing that I want to show you here is that when I go to try to login, instead of the login form coming up we get this error here; "error decoding json data: syntax error" and that's the problem that we want to fix.

So, to do that we're going to go into the cpanel hosting account for my wife's account - cpanel is what I use on Cybersalt Hosting - once we're logged in there and once you've backed up your database - REALLY, you REALLY want to do that, use that tutorial that I made - once you login to cpanel you're going to go down to phpMyAdmin in the databases section and click it.

When we click on it we're taken to a place where we're presented with the databases that belong to this web hosting account. Here's keysbythe_88keys. It's the only database (information schema is just basic and serves a different purpose.)

We're going to click on that database that runs the joomla site, keysbythe_88keys, or whatever your database is that runs your site and we'll be presented with the tables that run her Joomla site.

Next we want to click on "SQL" and it's here in this SQL tab we have this field where we can post in a command that is going to search a certain table and look and change some things that will fix that error.

Now here in this Wordpad document I've got the code that we want to run: update xxxx_modules set params = '' where params like '%{""}%'; I'll put that code in the description of the video as well so you can cut and paste.

What we're going to do is select that whole line, I'm going to right click and copy it, get that window out of the way, and now I'm going to click in this window to run the SQL query, which is what it is, and click paste. Now, before I click "go" and run this, we need to change the four x's before "_modules" to whatever the prefix is for tables in your database.

When I look over here in this column I see on this site it is "cyb." So you want to match the prefix replacing the four Xs in this line with whatever the prefixes are for your database - CYB in this case.

And so this this SQL query is going to run on the module on the table "modules" in this database - cyb_modules - and it's going to do some looking around and do its thing. So I click go and once it's run it says up here "4 rows affected."

That encourages me because if no rows were affected probably nothing was fixed, but now we can go back to the backend login for my wife's site - 88keysbythesea.com/administrator and I'm just going to enter again and lo and behold there's the login form and the site is fixed.

If this was helpful please give me a thumbs up and if you haven't subscribed to the channel please do so! Click subscribe and don't forget to ring the bell next to subscribe that will let you get updates as soon as new videos are posted to the channel. Thanks for watching, enjoy your Joomla sites.

God bless.

Joomla模块排序

Joomla 同一个模块位置允许放置多个模块,默认是按照创建模块的顺序来排序的。

joomla-jiaocheng

如何快速调整顺序?

joomla-jiaocheng

点击图中标记的那个图标,系统拖拽排序方式就会开启,下面的排序按钮会从灰色变成黑色。

joomla-jiaocheng

为了方便对某一个模块位置的所有模块进行排序,可以【按属性筛选】-【选择模块位置】,比如选择【P1】模块位置,然后用鼠标单击需要拖动的模块前面的图标,按住鼠标左键不放,就可以上下拖动模块进行排序了。拖完以后什么都不用做了。

joomla-jiaocheng

Joomla模块排列方式

本成品网站模块排版方式是从上到下通栏式排版,从【slider】-【footer】默认一个模块占一行,但是有的时候需要这样的排版方式,一行放两个或者三个模块。

joomla-jiaocheng

 比如在【P3】模块位有两个模块

joomla-jiaocheng

打开【新闻列表】模块,在【高级选项】-【模块显示宽度】里面选择【6】

joomla-jiaocheng

这里的宽度表示列数,一行12列。两个模块的宽度都设置为6,表示各占50%的宽度,如果是要一行三个模块那就是4-4-4的显示宽度。几个模块的宽度不强制一样,允许 6-3-3 这样的布局,反正一行的模块的宽度加起来等于12就行。

十大免费开源云文件共享平台

云文件共享是指这样一个系统:用户被分配了服务器上的存储空间,可以对他们保存在网上空间的数据执行读写操作。

一项大受欢迎的服务是Dropbox,虽然它提供免费版本,但不是开源。也有许多面向Linux的Dropbox替代方案,但本文主要介绍优秀的免费开源云文件共享平台。

1. NextCloud

NextCloud也许是最受欢迎的开源云文件共享服务。除了共享文件外,它还允许你共享日历、联系人列表和电子邮件,包括团队协作和数据同步等专业功能,并随带文本和视频聊天应用程序。

十大免费开源云文件共享平台
Nextcloud是一种自托管的文件共享和通信平台

2. Ceph

Ceph是一种开源分布式对象、块和文件存储平台,它使用符合POSIX的网络文件系统,以便为遗留应用程序提供大数据存储、高性能和最佳支持。

十大免费开源云文件共享平台
Ceph是一种统一分布式存储系统

3. Aurora Files

Aurora Files是一款对开发人员友好的加密文件共享软件。它支持Google Drive和Dropbox、用社交网络登录、Zipped文件查看器和MS Office文件查看器。

十大免费开源云文件共享平台
Aurora Files是一种文件存储平台

4. YouTransfer

YouTransfer是一种开源文件传输云服务,除了FileDrop外还有一些功能,它还为容器用户提供了Docker映像。

十大免费开源云文件共享平台
YouTransfer是一种文件共享解决方案

5. Pydio

Pydio是一种基于PHP和JavaScript的本地文件管理平台,旨在提供可靠的文件托管、同步和共享。它非常注重安全,可以部署在你选择的任何类型的服务器上。

十大免费开源云文件共享平台
Pydio是一种文件共享和同步平台

6. LinShare

LinShare旨在免费提供企业级云文件共享解决方案,并取得了成功。它使用户能够共享大文件,管理活动日志和用户,并拥有与医疗保健有关的功能,同时享受高安全性。

十大免费开源云文件共享平台
LinShare是一种安全的文件共享平台

7. NitroShare

NitroShare是一种跨平台的网络文件传输应用程序,旨在极大地简化共享文件,同时保持高效的速度。

8. OnionShare

OnionShare是一种开源平台,使用户能够在互联网上共享任何规模的文件,而不会危及文件的安全性或匿名性。

十大免费开源云文件共享平台
OnionShare是一种安全匿名的文件共享平台

9. FileDrop

FileDrop是一种基于Web的轻量级用户界面,用于共享文件。你可以将其用作可信赖局域网中的独立服务器,但它主要与基于Web的开源生产力套件Sandstorm结合使用。

十大免费开源云文件共享平台
FileDrop是一种通过WiFi共享文件的平台

10. ProjectSend

ProjectSend是一种面向客户的专有Web服务,为团队提供了文件共享平台,拥有上传自动过期、使用日志和用户权限等功能。

十大免费开源云文件共享平台
ProjectSend是一种与你客户共享文件的平台

还有几个平台值得一提,比如Syncthing、Seafile、Cozy和Syncany,但你青睐的开源云文件共享应用程序是哪个?

About Us

Since 1996, our company has been focusing on domain name registration, web hosting, server hosting, website construction, e-commerce and other Internet services, and constantly practicing the concept of "providing enterprise-level solutions and providing personalized service support". As a Dell Authorized Solution Provider, we also provide hardware product solutions associated with the company's services.
 

Contact Us

Address: No. 2, Jingwu Road, Zhengzhou City, Henan Province

Phone: 0086-371-63520088 

QQ:76257322

Website: 800188.com

E-mail: This email address is being protected from spambots. You need JavaScript enabled to view it.