Jump to content

[Solved] Community Applications Error


fxhe

Recommended Posts

Something really wrong went on during defaultSortOrder
Post the ENTIRE contents of this message in the Community Applications Support Thread

<br /> <b>Warning</b>: file_put_contents(): Filename cannot be empty in <b>/usr/local/emhttp/plugins/community.applications/include/helpers.php</b> on line <b>47</b><br /> <br /> <b>Warning</b>: file_put_contents(): Filename cannot be empty in <b>/usr/local/emhttp/plugins/community.applications/include/helpers.php</b> on line <b>47</b><br /> {"status":"ok"}

屏幕截图 2021-03-23 221617.png

Link to comment
3 minutes ago, Squid said:

What were you doing?

 

Can you go to Settings, enable debugging mode then back to CA and immediately try and replicate this.  After you do, hit the Debugging link and upload the file here

no and i cannot enable debugging mode .

Link to comment
18 hours ago, Squid said:

image.png.df8f3850be6629861a747e99cf5e9ec9.png

 

Settings then

 

image.png.a87c63b2592746e25f33607c3430f07a.png

 

Then after the error, debugging

 

image.png.f16ae01d79e951db3a1e896c437a6a42.png

Thanks.

This is the messages by debugging:

POST CALLED
Array
(
    [action] => defaultSortOrder
)
POST RETURN:
array(1) {
  ["status"]=>
  string(2) "ok"
}
 

Also, aou asked if I changed the paths of the remote severs, yes (by: echo "199.232.4.133 raw.githubusercontent.com" >> /etc/hosts) because I cannot  reach the sever: raw.githubusercontent.com. And now it does not work

Link to comment
2 hours ago, fxhe said:

Also, aou asked if I changed the paths of the remote severs, yes (by: echo "199.232.4.133 raw.githubusercontent.com" >> /etc/hosts) because I cannot  reach the sever: raw.githubusercontent.com.

That's what I thought.  I've seen some of the postings around for China regarding this, and at least one of them suggested to edit and save the file /usr/local/emhttp/plugins/community.applications/include/paths.php

 

I'm suspecting that you've done this, have the system set up to re-copy that file on a reboot, and your saved copy is now incompatible with all versions of CA going forward.  IE: As far as I'm concerned, the error message that you're seeing is impossible on a non-modified copy of CA

Link to comment
26 minutes ago, Squid said:

That's what I thought.  I've seen some of the postings around for China regarding this, and at least one of them suggested to edit and save the file /usr/local/emhttp/plugins/community.applications/include/paths.php

 

I'm suspecting that you've done this, have the system set up to re-copy that file on a reboot, and your saved copy is now incompatible with all versions of CA going forward.  IE: As far as I'm concerned, the error message that you're seeing is impossible on a non-modified copy of CA

Thanks and I fixed.

At first, I found the CA file community.applications.plg of old version in /boot/config/plugins-removed/ and reinstall it by set "199.232.4.133 raw.githubusercontent.com" to /etc/hosts, it works. Then update CA to VERSION 2021.03.12. Now, it works well.

Thanks for all of you.

Link to comment
  • ChatNoir changed the title to [Solved] Community Applications Error

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...