| Joomla! http://forum.joomla.org/ |
|
| [LOW:FIXED: 1.0.11] Bannerupload broken http://forum.joomla.org/viewtopic.php?f=376&t=90020 |
Page 1 of 1 |
| Author: | nico haase [ Tue Aug 29, 2006 12:44 pm ] |
| Post subject: | [LOW:FIXED: 1.0.11] Bannerupload broken |
Description: Bannerupload broken in Joomla 1.0.11. A direct upload through the button "upload" in the components toolbar is not possible because the popup re-sets the directory to ''. Reported on: 1.0.11 Affected functions: Bannerupload of com_banner Related files: administrator/popups/uploadimage.php Steps to replicate: Adminpanel, click components, banners, manage banners, upload. Try to upload an image and open it with the banner-management. Proposed fix(es): administrator/popup/uploadimage.php, line 75 following, change Code: if ( $directory != '' && !is_dir($mosConfig_absolute_path .'/images/stories/'. $directory)) { to$directory = ''; } Code: if ( $directory != 'banners' && $directory != '' && !is_dir($mosConfig_absolute_path .'/images/stories/'. $directory)) { $directory = ''; } System info: Joomla! 1.0.11 Stable [ Sunbow ] 28 August 2006 20:00 UTC |
|
| Author: | Robin [ Tue Aug 29, 2006 12:49 pm ] |
| Post subject: | Re: Bannerupload broken |
[TAGGED: Q&T] Status > Under Review |
|
| Author: | infograf768 [ Tue Aug 29, 2006 1:17 pm ] |
| Post subject: | Re: [UNDER REVIEW: 1.0.11] Bannerupload broken |
What I get here is uploading OK, but in images/stories instead of images/banners, although there is a check for images/banners in uploadimage.php |
|
| Author: | nico haase [ Tue Aug 29, 2006 1:24 pm ] |
| Post subject: | Re: [UNDER REVIEW: 1.0.11] Bannerupload broken |
infograf768 wrote: What I get here is uploading OK, but in images/stories instead of images/banners, although there is a check for images/banners in uploadimage.php Yes, thats alright, I also get this. The check for directories is done before banners is described as a special case. So this second check always falses.
|
|
| Author: | infograf768 [ Tue Aug 29, 2006 1:36 pm ] |
| Post subject: | Re: [UNDER REVIEW: 1.0.11] Bannerupload broken |
@nico I confirm your hack works. I don't know if it is asecurity problem though |
|
| Author: | Robin [ Tue Aug 29, 2006 1:49 pm ] |
| Post subject: | Re: [UNDER REVIEW: 1.0.11] Bannerupload broken |
Bug tracker artifact added: http://forge.joomla.org/sf/go/artf5756?nav=1 |
|
| Author: | Predator [ Thu Aug 31, 2006 2:41 pm ] |
| Post subject: | Re: [ADDED TRACKER: 1.0.11] Bannerupload broken |
Fixed in SVN |
|
| Author: | Robin [ Thu Aug 31, 2006 8:23 pm ] |
| Post subject: | Re: [ADDED TRACKER: 1.0.11] Bannerupload broken |
Hi, I will be updating all Q&T topics tomorrow. I will add fixes to the known issue list as well. Regards Robin |
|
| Author: | Robin [ Mon Oct 16, 2006 12:55 pm ] |
| Post subject: | Re: [LOW:FIXED: 1.0.11] Bannerupload broken |
Artifact (http://forge.joomla.org/sf/go/artf5756?nav=1) has been fixed for next release, closing topic as FIXED, moving to Resolved. |
|
| Author: | Jellocat [ Sun Aug 19, 2007 10:39 pm ] |
| Post subject: | Re: [LOW:FIXED: 1.0.11] Bannerupload broken |
I'm using 1.0.13 and the fix reported here above is in place in the uploadimage.php but it's still broken. When I try to upload a new image for a banner I get the following error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@pizzaanyone.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. I've chmoded the directories to 777 but that didn't help. Any ideas?? |
|
| Author: | Robin [ Sun Aug 26, 2007 6:54 pm ] |
| Post subject: | Re: [LOW:FIXED: 1.0.11] Bannerupload broken |
Internal errors could also mean you are running out of memory. I'ust up the php memory a bit and see if that solves it. |
|
| Author: | Jellocat [ Sun Aug 26, 2007 11:09 pm ] |
| Post subject: | Re: [LOW:FIXED: 1.0.11] Bannerupload broken |
RobInk wrote: Internal errors could also mean you are running out of memory. I'ust up the php memory a bit and see if that solves it. Newbie here - how do I adjust the php memory? |
|
| Author: | infograf768 [ Mon Aug 27, 2007 6:24 am ] |
| Post subject: | Re: [LOW:FIXED: 1.0.11] Bannerupload broken |
Jellocat wrote: RobInk wrote: Internal errors could also mean you are running out of memory. I'ust up the php memory a bit and see if that solves it. Newbie here - how do I adjust the php memory? Is'nt it through php.ini ? |
|
| Author: | cordelia [ Fri Oct 05, 2007 7:44 pm ] |
| Post subject: | Re: [LOW:FIXED: 1.0.11] Bannerupload broken |
php.ini: In this section the runtime configuration parameters are examined in depth as far as phpWebSite is concerned. Caution Note that setting the configuration parameters in the php.ini file will affect all the other php applications on the same server. A missconfiguration in one of these values will torpedo your whole site not to mention phpWebSite. Warning As noted with the other two ways of making these changes you should only pick one of these and use it alone. |
|
| Page 1 of 1 | All times are UTC |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|