fread() issue

dmoret , August 18 2023, 14:33
D
dmoret 4
August 18 2023, 14:33 #565
When a try to use the extension in a Joomla module, I get this error message :
fread(): Argument #2 ($length) must be greater than 0
Can anybody help me please ?
marco 557
August 19 2023, 05:07 #566
Hi dmoret
Can you please explain this a bit further.
Whe you trying to use the Oriel MODULE inside another Module? What kind of module? Is it working when placing / using the oriel module directly?
Are you using a description.txt or an empty description.txt file in this album?
Can you please set Error Reporting to Maximum and tell me on which row / file the error occours.
>> I'm currently in holidays and got very limited access to the internet. <<
I may be ale to help in depth next week but i will help as good as possible till then.
kind regards
Marco
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
D
dmoret 4
August 21 2023, 05:57 #567
Hello Marco,

Thank you for your reply.

I use the Oriel module directly, not in another module.
I don't use any description.txt

I tested with other folders, it seems that the error message occurs only when there are a lot of photos (too many ?).
Is there a limit?
Are there any forbidden characters in folder names?
Best regars

David
marco 557
August 22 2023, 04:46 #568
hi dmoret
lots of images should not trigger such an issue.
van you please check if there is no image filename that contains the word „description„?
yes it could be the folder name on some servers best is to use a-zA-Z0-9 and - or _ for foldernames - try to not have spaces in the foldername and use dashes or underscores you can then use prettyfier in oriel to change the label of the album names in the frontend. slashes are forbidden and special characters such as äöü or àéè or spaces for example could trigger such a problem, but it depends on the server configuration.
how many images?
can you tell me the folderpath?
i‘m on saturday evening back home and can test then.
kind regards
Marco
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
D
dmoret 4
August 22 2023, 05:36 #569
Hello,
The file names do not contain "description".
I did many tests, but for example with a folder with 9 subfolders and about 3,000 photos
Folder path: photos/2022
Best regards
David
marco 557
August 22 2023, 16:51 #570
thanks for the info and those nine subfolders are named how?
can you send me a link to this gallery?
or may create a hidden menu item and send me then the link so i can take a closer look?
error reporting in joomla needs to be on maximum.
about the amount of pics: see this page here:
https://mountainmarathon.ch/index.php/community/fotogalerie
where it works well.
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
D
dmoret 4
August 23 2023, 04:53 #571
Hello,

url test : https://www.junior-bulle-expo.ch/fr/test
error reporting set on maximum
thanks
marco 557
August 23 2023, 06:05 #572
Hi David
I've sent you an email.
can you please try to install the attached version.
if anything goes wrong you can install the original version again.
i'm not on my pc so its a bit tricky.
kind regards
Marco
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------