- Posts: 25
- Home
- Forum
- Community Forum
- Report bugs
- [3.0.0 Bugs] Experience URL SEF Canonical - critical
Upload Media http error
- fabrikastyle
- Topic Author
- Offline
Less
More
8 years 5 months ago - 8 years 5 months ago #5479
by fabrikastyle
Upload Media http error was created by fabrikastyle
I would like to tell you how I solved the problem with upload media error.
When I tried to upload the images via the media manager, I get an http error
. I found that it was occured with folder and files rights. But if your ftp user account is different from the main ftp account of the server (for example "apache"), it is not enough to open the rights for folders:
/media/com_solidres/assets/images/system/
/media/com_solidres/assets/images/system/thumbnails/1
/media/com_solidres/assets/images/system/thumbnails/2
Because when uploading media files, server creates another folder "log" in the root directory and create there file media.php. So either this folder need to change the owner to "apache" or open full access (777) to it.
Please tell me if there is another solution to this problem. Thank you!
-- RUSIAN --
Я хотел бы рассказать как я решил проблему http error с загрузкой изображений.
Когда я пытался загрузить изображения через менеджер у меня появлялась ошибка. Я выяснил, что это возникало из-за права на папки. Но если у вас фтп аккаунт пользователя отличается от главного аккаунта сервера (к примеру у меня самый главный владелец apache), как оказалось, не достаточны было открыть права на папки. Т.к. при загрузке медиа на сервере создавалась еще одна папка 'log' в корне, в которой создавался файл media.php. Так вот либо для этой папки надо сменить владельца на апаче либо открыть полный доступ к ней.
When I tried to upload the images via the media manager, I get an http error
. I found that it was occured with folder and files rights. But if your ftp user account is different from the main ftp account of the server (for example "apache"), it is not enough to open the rights for folders:
/media/com_solidres/assets/images/system/
/media/com_solidres/assets/images/system/thumbnails/1
/media/com_solidres/assets/images/system/thumbnails/2
Because when uploading media files, server creates another folder "log" in the root directory and create there file media.php. So either this folder need to change the owner to "apache" or open full access (777) to it.
Please tell me if there is another solution to this problem. Thank you!
-- RUSIAN --
Я хотел бы рассказать как я решил проблему http error с загрузкой изображений.
Когда я пытался загрузить изображения через менеджер у меня появлялась ошибка. Я выяснил, что это возникало из-за права на папки. Но если у вас фтп аккаунт пользователя отличается от главного аккаунта сервера (к примеру у меня самый главный владелец apache), как оказалось, не достаточны было открыть права на папки. Т.к. при загрузке медиа на сервере создавалась еще одна папка 'log' в корне, в которой создавался файл media.php. Так вот либо для этой папки надо сменить владельца на апаче либо открыть полный доступ к ней.
Last edit: 8 years 5 months ago by fabrikastyle.
Please Log in or Create an account to join the conversation.
- vietvh
-
- Offline
Less
More
- Posts: 1553
8 years 5 months ago #5484
by vietvh
Replied by vietvh on topic Upload Media http error
Hi,
It depends on your hosting providers, for some hosting I know, each domain has its own username and usergroup. Did you try to talk with your hosting provider?
Regards,
It depends on your hosting providers, for some hosting I know, each domain has its own username and usergroup. Did you try to talk with your hosting provider?
Regards,
Please Log in or Create an account to join the conversation.
- skillfulken
- Offline
Less
More
- Posts: 3
8 years 4 months ago #5717
by skillfulken
Replied by skillfulken on topic Upload Media http error
Hi fabrikastyle,
I get same issue: "http error". And i found the solution to fix it.
---
Need to fill correct two things: "Path to Temp Folder" and "Path to Log Folder" on Global config of Joomla.
How to know that info on your hosting, please download attach file(path.php) and upload to root of your site, and run(let delete that file when you have correct path):
your-site.com/path.php
So you can see correct path
Example: Your Absoluthe Path is: /home6/abcde/public_html/
"Path to Temp Folder" => /home6/abcde/public_html/tmp
"Path to Log Folder" => /home6/abcde/public_html/logs
--
Final step, "Save" your config.
--
I have tried with my site, and fixed that issue!
Goodluck!
---
I get same issue: "http error". And i found the solution to fix it.
---
Need to fill correct two things: "Path to Temp Folder" and "Path to Log Folder" on Global config of Joomla.
How to know that info on your hosting, please download attach file(path.php) and upload to root of your site, and run(let delete that file when you have correct path):
your-site.com/path.php
So you can see correct path
Example: Your Absoluthe Path is: /home6/abcde/public_html/
"Path to Temp Folder" => /home6/abcde/public_html/tmp
"Path to Log Folder" => /home6/abcde/public_html/logs
--
Final step, "Save" your config.
--
I have tried with my site, and fixed that issue!
Goodluck!
---
The following user(s) said Thank You: fabrikastyle
Please Log in or Create an account to join the conversation.
- skillfulken
- Offline
Less
More
- Posts: 3
8 years 4 months ago #5718
by skillfulken
Replied by skillfulken on topic Upload Media http error
Because the forum disallow upload .php file, so anybody need to download path.php please review in here
docs.joomla.org/How_to_find_your_absolute_path
make a path.php file with your notepad and put:
<?php
$path = getcwd();
echo "Your Absoluthe Path is: ";
echo $path;
?>
docs.joomla.org/How_to_find_your_absolute_path
make a path.php file with your notepad and put:
<?php
$path = getcwd();
echo "Your Absoluthe Path is: ";
echo $path;
?>
Please Log in or Create an account to join the conversation.
- vietvh
-
- Offline
Less
More
- Posts: 1553
8 years 4 months ago #5725
by vietvh
Replied by vietvh on topic Upload Media http error
Hi skillfulken,
Thank you very much for sharing your solution. This is the most common cause for this type of issue, we can see many users worked on their site in local host and uploaded to live server later but they simply forgot to edit the configuration.php file to change the path for $log and $tmp folder.
We will update our FAQ page to include this useful info.
Regards,
Thank you very much for sharing your solution. This is the most common cause for this type of issue, we can see many users worked on their site in local host and uploaded to live server later but they simply forgot to edit the configuration.php file to change the path for $log and $tmp folder.
We will update our FAQ page to include this useful info.
Regards,
Please Log in or Create an account to join the conversation.
- KUTLUSAN
- Offline
Less
More
- Posts: 2
8 years 3 months ago - 8 years 3 months ago #5866
by KUTLUSAN
Replied by KUTLUSAN on topic Upload Media http error
Hi,
I've done all of your instructions in this regard. Continues "http error.". I want to give way and password of the admin panel. But I do not know how I give.
also; I have translated your program to the Turkish language. I do not know Turkish language files can be added to the download link?
I thank you for your help now.
Regards.
I've done all of your instructions in this regard. Continues "http error.". I want to give way and password of the admin panel. But I do not know how I give.
also; I have translated your program to the Turkish language. I do not know Turkish language files can be added to the download link?
I thank you for your help now.
Regards.
Last edit: 8 years 3 months ago by KUTLUSAN.
Please Log in or Create an account to join the conversation.
Moderators: solidres