Forum - jschmidt-systemberatung.de

× jphpx System Package for Joomla

fread(): Argument #2 ($length) must be greater than 0

  • Red Ant
  • Topic Author
  • Visitor
  • Visitor
1 year 7 months ago - 1 year 7 months ago #1456 by Red Ant
Hi

When creating a new code entry in the jphpx component I get the following error: fread(): Argument #2 ($length) must be greater than 0 
This happens when I try to save the entry.
This is happening on two different sites on two different hosting servers.

I have installed the latest jphpx package via component update:
Jphpx Applications - v 1.3.3.1
jphpx Package - v 1.3.2.2
jphpx Plugin = v 1.3.3.2
PHP Version8.0.27
Web ServerApache
WebServer to PHP Interfacefpm-fcgi
Joomla! VersionJoomla! 4.2.8 Stable [ Uaminifu ] 16-February-2023 15:00 GMT 

Please advise how to fix this error.

I have been doing some testing on localhost around this and can confirm that this error occurs when one tries to save a new code entry but the php script does not exist in the directory or is named differently. An error is then generated informing the user that the script does not exist. After that if one tries to create a new script then the above error occurs.

Many thanks
Last edit: 1 year 7 months ago by Red Ant. Reason: Added info

Please Log in or Create an account to join the conversation.

  • jochen
  • Administrator
  • Administrator
More
1 year 7 months ago #1457 by jochen
hi,
this is an user error, which I did not expect to happen! You will get this error, if your script to be defined does exist but is empty (has no content).
The next build I will check for this and will inform the user about this problem.

Please Log in or Create an account to join the conversation.

  • Red Ant
  • Topic Author
  • Visitor
  • Visitor
1 year 7 months ago #1458 by Red Ant
Thanks for the quick response. 

I look forward to the fix. Appreciated

Please Log in or Create an account to join the conversation.

Time to create page: 0.429 seconds
Powered by Kunena Forum
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.