Cioka Creativa
Forum Replies Created
Thank you.
We’ll keep the current workaround in place and wait for your technical team’s feedback.
Kind regards.
Hello,
Yes. In the original WPDM Pro 7.5.6 PackageTemplate.php, the problematic call is inside the get() method.
The relevant lines are:
Line 101: $file = $this->dir . $template . ‘.xml’;
Line 103: if (file_exists($file)) {
The warning is triggered at line 103, because $template sometimes contains the complete HTML/CSS contents of the template instead of a valid template filename/path.
Thank you
Hello,
The warning is generated repeatedly in:
/wp-content/plugins/download-manager/src/Admin/PackageTemplate.php
The message is:
PHP Warning: file_exists(): File name is longer than the maximum allowed path length
The problematic value appears to contain the complete HTML/CSS of the “Slate” template instead of a filesystem path.
We applied a temporary validation in PackageTemplate.php and since then the warning has stopped.
If needed, we can provide the full log and the original/patched PHP file by email or another private channel.
Thank you.
Hello,
Thank you for your reply.
Before creating the temporary administrator account, we carried out some additional checks and the [wpdm_archive] shortcode is now rendering correctly again.
We also updated the WordPress core to 7.1 and verified its integrity successfully. In addition, we flushed the WordPress object cache, after which access to the backend was restored.
So, at the moment, the shortcode issue is no longer reproducible and the wp-admin area is accessible again.
However, the original file_exists() issue still remains relevant. With the original WPDM Pro 7.5.6 PackageTemplate.php, the site repeatedly generated:
PHP Warning: file_exists(): File name is longer than the maximum allowed path length
This caused the error log to grow to several GB and eventually exhausted the hosting disk quota.
We currently have a temporary validation patch applied to PackageTemplate.php, and since applying it no new file_exists() warnings have been generated.
Could you please review this issue and confirm whether an official fix will be included in a future WPDM release?
If you still need temporary wp-admin access to investigate the file_exists() issue, please let us know and we can provide it in a private reply.
Thank you and regards.
All right, thak you for your time.
See you
Hi Nayeem,
Yes, this bug gets fixed when “Disable Bootstrap CSS” is checked but the appearance of the interface is quite different as you can see here https://tinyurl.com/2oy8pymh
How then could the error be fixed without affecting the appearance of the interface?
Thanks again
Hi Nayeem,
Yes, I knew that. Please read again my second comment, the one that contains the link to a video. There, I specify that the error only occurs when you click on the text or the part of the button that is not the dropdown arrow.
Why is this happening.
Thanks again
Hi Nayeem,
Unfortunatelly the issue still remains. It must be another thing.
Hope you could find it.
Thank you very much.
Hi again Nayeem,
After following your recomendations the problem still continues.
Can you send me a video so I can check that it works correctly for you?
Thanks again
Hi Nayeem,
So it is working properly and the problem is due to the cache.
I will follow your instructions and let you know.
See you soon
Hi Nayeen,
Here is a short video https://www.awesomescreenshot.com/video/15049927?key=9af333a7176d0518c9baecf526ceb760 where you can see how the dropdown menu items fail when clicking directly on the text of the button instead of the arrow.
Could you please fix this wrong behaviour?
Thanks
It is perfect, thank you very much for your time a patience.
See you
Hi Nayeem,
One last thing. The “downloads” word is not translated into spanish. Could you please translate it to “descargas”.
Thank you
Hi Nayeem,
I see it in both languages now but you have also changed the template, haven’t you? The font size is smaller in generel and there is nos PDF icon image. Besides the “…” bellow each file name is quite wierd.
Is this change in the appearance of the list essential?
Thanks
-
This reply was modified 4 years, 5 months ago by
Cioka Creativa.
Hi Nayeem,
I see it in both languages now but you have also changed the template, haven’t you? The font size is smaller in generel and there is nos PDF icon image. Besides the “…” bellow each file name is quite wierd.
Is this change in the appearance of the list essential?
Thanks
Hi Nayeem,
It is more complicated than I thought it would be. I will read that info and I will have a go.
Apart from that, could you help me with this? why after adding the downloads counter in the “archive-template” only appears in the default language and not in all?
Appears in https://hre.es/descargas/
Does not appear in https://hre.es/en/downloads/
Thanks
-
This reply was modified 4 years, 5 months ago by
Cioka Creativa.
Hi Nayeem,
No idea, I don’t know where did I select it. If I access to the https://hre.es/wp-admin/edit.php?post_type=wpdmpro&page=templates the only template I can edit is the first one archive-template
Could you explain me or give me further info please?
Thanks
Hi Nayeem,
Thanks for the adjust, I would also appreciate if you could make the second adjust too.
About the second issue, I have checked it but I can only edit the “archive_template” and I think this is not the correct file in order to adjust this particular issue, isn’t it?
Thanks
Hi Nayeem,
Thank you very much, do you know which was the origin of the error?
Apart from that, I have a couple of things I would like to change:
1. Two issues related with the directoy page commented in the following link https://www.awesomescreenshot.com/image/25898994?key=8689fdb3b11c63207b8919a6a6ad8b00
2. Once you enter into a specific file page, the first info reference is about the “total downloads of the file” (this is it https://www.awesomescreenshot.com/image/25899777?key=47e8ebdb4773a023565d7482b42a4e46 ) but it is named as “Download” and I think it would be better explained as “Total downloads”, for example. Could I edit this gap name?
Thanks again
-
This reply was modified 4 years, 5 months ago by
Cioka Creativa.
Hi,
Another 24 hours since your answer and still no news. The site is down and the company wondering what is wrong.
A week is gone and I don’t have any answer. Have you really checked the issue? If so, why don’t you tell me if the problem can be solved?
I need to solve the issue asap or ask for a refund cause the plugin is not working.
Please ask again cause I can not wait so long.
Cioka
Hi,
Any news? It’s 72hours since I gave you the credentials and I still don’t know nothing abut the issue.
Cioka
Hi again Nayeem,
Could you please contact the developers team in order to ask them about the issue?
I need to know something.
See you
Cioka
Thank you Nayeem,
I am a bit worried cause the site’s owner (my client) is pressing me about it.
I hope the developers team could sort it out within today.
See you,
Cioka
Hi Nayeem,
Could you please inform me about the issue situation. Do you have any conclusion?
Thank you,
Cioka