Closed fredlang7680 closed 2 months ago
Can you please check the browser js console if there are any errors when you add the file? Does it happen in the backend or in the frontend?
Hello,
Thank for your answer.
There's nothing in console
the error of jquery appears before uploding file.
It happens in frontend
thanks
Please set "log_errors = On" in your php configuration and restart apache/php. Also in Joomla settings, set in the server section error reporting to maximum and in logging to log everything. See if after these settings an error appears when uploading a file in either your screen, apache error.log file or the joomla logs/everything.php file.
Hello, thx for your follow-up. I put "log_errors = On" in PHP.Ini and restart Wamp. But nothing appaers in console. When the blank page appears, there is no network traffic in console. I also put logging in joomla, I put a file. I saw the logging files, and when I whant to put another file, after the blank page appears, there was nothing else in the joomla's logging. Here's my joomla's logging:
Everything.php:
2024-04-19T08:54:32+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T08:54:32+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T08:54:32+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T08:54:32+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T08:54:33+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T08:54:33+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T08:54:33+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T08:54:33+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T08:54:33+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T08:54:33+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T08:54:33+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T08:54:33+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T08:54:35+00:00 CRITICAL 163.116.163.121 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Page introuvable". Stack trace: #0 [ROOT]\libraries\src\Application\SiteApplication.php(746): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
#1 [ROOT]\libraries\src\Application\SiteApplication.php(232): Joomla\CMS\Application\SiteApplication->route()
#2 [ROOT]\libraries\src\Application\CMSApplication.php(293): Joomla\CMS\Application\SiteApplication->doExecute()
#3 [ROOT]\includes\app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#4 [ROOT]\index.php(32): require_once('D:\\wamp64\\www\\c...')
#5 {main}
2024-04-19T08:54:35+00:00 CRITICAL 163.116.163.121 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Page introuvable". Stack trace: #0 [ROOT]\libraries\src\Application\SiteApplication.php(746): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
#1 [ROOT]\libraries\src\Application\SiteApplication.php(232): Joomla\CMS\Application\SiteApplication->route()
#2 [ROOT]\libraries\src\Application\CMSApplication.php(293): Joomla\CMS\Application\SiteApplication->doExecute()
#3 [ROOT]\includes\app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#4 [ROOT]\index.php(32): require_once('D:\\wamp64\\www\\c...')
#5 {main}
2024-04-19T08:54:35+00:00 CRITICAL 163.116.163.121 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Page introuvable". Stack trace: #0 [ROOT]\libraries\src\Application\SiteApplication.php(746): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
#1 [ROOT]\libraries\src\Application\SiteApplication.php(232): Joomla\CMS\Application\SiteApplication->route()
#2 [ROOT]\libraries\src\Application\CMSApplication.php(293): Joomla\CMS\Application\SiteApplication->doExecute()
#3 [ROOT]\includes\app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#4 [ROOT]\index.php(32): require_once('D:\\wamp64\\www\\c...')
#5 {main}
2024-04-19T08:54:35+00:00 CRITICAL 163.116.163.121 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Page introuvable". Stack trace: #0 [ROOT]\libraries\src\Application\SiteApplication.php(746): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
#1 [ROOT]\libraries\src\Application\SiteApplication.php(232): Joomla\CMS\Application\SiteApplication->route()
#2 [ROOT]\libraries\src\Application\CMSApplication.php(293): Joomla\CMS\Application\SiteApplication->doExecute()
#3 [ROOT]\includes\app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#4 [ROOT]\index.php(32): require_once('D:\\wamp64\\www\\c...')
#5 {main}
2024-04-19T08:54:36+00:00 CRITICAL 163.116.163.121 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Page introuvable". Stack trace: #0 [ROOT]\libraries\src\Application\SiteApplication.php(746): Joomla\CMS\Router\Router->parse(Object(Joomla\CMS\Uri\Uri), true)
#1 [ROOT]\libraries\src\Application\SiteApplication.php(232): Joomla\CMS\Application\SiteApplication->route()
#2 [ROOT]\libraries\src\Application\CMSApplication.php(293): Joomla\CMS\Application\SiteApplication->doExecute()
#3 [ROOT]\includes\app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#4 [ROOT]\index.php(32): require_once('D:\\wamp64\\www\\c...')
#5 {main}
2024-04-19T08:54:36+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T08:54:36+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T08:54:36+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T08:54:36+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T08:54:51+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T08:54:51+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T08:54:51+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T08:54:51+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T09:01:36+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T09:01:36+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T09:01:38+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T09:01:38+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T09:01:38+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T09:01:38+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T09:01:39+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T09:01:39+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T09:01:39+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T09:01:39+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T09:01:39+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T09:01:39+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T09:01:39+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T09:01:39+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T09:01:40+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T09:01:40+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T09:01:54+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T09:01:54+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T09:01:55+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T09:01:55+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T09:02:06+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T09:02:06+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
2024-04-19T09:02:07+00:00 INFO 163.116.163.121 - AttachmentsPluginManager loading language...
2024-04-19T09:02:07+00:00 INFO 163.116.163.121 - AttachmentsPluginManager language loaded: no
I Uploaded first file at 9:01, and second file (with blank page) just after
Nothing in the error.php
Thanks a lot
When you add "log_errors = On" you will get possible errors in "D:/wamp64/logs/php_error.log". I will try to see if I can detect the problem but it would be helpful if we could get an error message to pinpoint the specific part of the code that is at fault.
Can you provide your browser and your joomla version Thks
Joomla : 4.4.3 Chrome : Version 123.0.6312.122 (Build officiel) (64 bits) Firefox : 115.7.0esr (32 bits) If you want, we can do a teams visio and you can take control to see in more details Thks
Hello I reproduced it with firefox and joomla 4 I will try to debug it with Xdebug
TOP! Thank you very much!
@fredlang7680 can you try it
Perfect! thank you very much! I didnt know how to pull the new files, then in my dev server I updated lines in each file with your commit. Just a little thing: when I close the popup, the new files are not shown. I have to do F5 to show the files. anyway, if you can't change this, my coworkers are going to gain time. You will update the extension with the new updates, or I have to update the lines in production server? Thank you again!
@fredlang7680 fixed in #48 which is now merged to master.
@fredlang7680 I provided a new release https://github.com/jmcameron/attachments/releases/tag/v4.0.1 with the correction inside
Hello,
We have a bug when we add a file in an article. We click on the button to add file, we choose file, et we click to upload the file. The file is added, no problem. But when we re-click on he button to add file, we have a blank page in popup:
Can you help us please? Thank you a lot