I get this message on the top of every NorrCompetition page on my Joomla backend. I would assume this is the reason that my test entry photos do not display.
#57 Error right after installation: "Uploads directory does not exist"
This is a public ticket
Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Environment Information (available for public)
Latest post by b2z on Wednesday, 19 July 2023 11:08 EEST
Thursday, 01 June 2023 17:47 EEST
I get this message on the top of every NorrCompetition page on my Joomla backend. I would assume this is the reason that my test entry photos do not display.
Thursday, 01 June 2023 20:46 EEST
Please make sure that Joomla has enough permissions to create folders. For instance the component by default is trying to create a folder named "ncuploads" under your Joomla root installation folder.
Kind regards,
Dmitrijs
Friday, 02 June 2023 15:43 EEST
Friday, 02 June 2023 16:38 EEST
In the admin area of the component the photos are also not visible?
Kind regards,
Dmitrijs
Friday, 02 June 2023 16:46 EEST
Friday, 02 June 2023 17:04 EEST
What is the link to photo that the component cannot display (it should be visible in the source code of the page and looks like yoursite.com/ncuploads/photos/1/1/blablabla_11111111.jpg
Friday, 02 June 2023 17:07 EEST
Friday, 02 June 2023 17:18 EEST
Error 403 - Forbidden
You don't have permission to access the requested resource. Please contact the web site owner for further assistance.
Friday, 02 June 2023 17:37 EEST
Friday, 02 June 2023 17:43 EEST
The component itself does not restrict access to files. It creates photos as it should and the link to photos is there in the source code of the page, but it cannot be displayed in the browser. So you have a broken image link instead.
Monday, 19 June 2023 17:48 EEST
Monday, 19 June 2023 17:51 EEST
Tuesday, 20 June 2023 15:22 EEST
There is no configuration option. The component is doing it's job as it should - uploads images and then displays the img link correctly. But then the browser cannot display it.
403 Forbidden – you don’t have permission to access this resource is an HTTP status code that occurs when the web server understands the request but can’t provide additional access.
Often, HTTP 403 forbidden errors are caused by an access misconfiguration on the client-side, and could be caused by a malfunctioning security plugin, incorrect file permissions or a corrupt .htaccess file.
You mention in the start of this topic, that the component was not able to create "ncuploads" directory. So it was a permission issue. Probably now it is the same issue and sub-directories inside "ncuploads" directory has incorrect permissions.
Overall what I try to tell is that 403 is clearly a server issue.
My personal guess is that something is blocking media resources that are not inside the "images" directory. You can try to copy the overall "ncuploads" directory to your "images" directory and after that set the "Uploads Folder" option inside the component configuration to "images/ncuploads". Probably images will be displayed correctly.
Kind regards,
Dmitrijs
Tuesday, 18 July 2023 13:44 EEST
I will try to make a new install again after 3 trials before and I have been working with Joomla with hundreds of components but never had this problem before..
thks
Wednesday, 19 July 2023 11:06 EEST
-- Quote:
"The 403 Forbidden error indicates that the server understands the request but can't provide additional access. This means that the web page you're trying to open in your browser is a resource that you're not allowed to access."
End of quote ---
I have an assumption that there might be the following scenario: the site has a modified .htaccess file which blocks access to all folders which are not allowed. E.g. such a file could be generated by Admin Tools.
Try to temporary replace .htaccess with the core file taken from Joomla. E.g. rename existing .htaccess to .htaccess and take default file htaccess.txt and rename it to .htaccess to take action and check out the front-end. If it will help, then it means the /ncuploads/ folder which is placed in the root of the site is blocked by .htaccess and you have to add exceptions.
Wednesday, 19 July 2023 11:08 EEST
You have a completely different issue, so no need to be confused here. If you changing the /upload folder to a customised one, you need to move all the contents from this /upload folder to a new one and change "Uploads Folder" option in settings pointing to your new upload folder location.
Kind regards,
Dmitrijs