Can't upload images in Joomla 1.5.22 - joomla

Joomla 1.5.22 new installation, no extensions added. I've only configured the Global Configuration pages. For some reason, I can't upload any pictures, either in articles or in the media manager. "Start Upload" does nothing, it just sits there.
The only thing I could find on this was a folder permissions issue and and so I set Images and all sub-folders to 777, but that still didn't help.
Any thoughts on what could be causing this and how to get it to allow for pictures to be uploaded?

First off change your folder settings back from 777 to something more secure (664 or 775). Then Prakash could be correct in that the flash uploader is not working on your system and you can disable it and use the normal file view uploader. Try that and let us know.

On global configuration, in media settings you've enabled the flash uploader which disallows to upload the files for some reason. Disable it, now you'll be allowed to upload files again

Related

Simple image gallery cannot write to cache folder even with permission set to 777

I am using a joomla plugin that shows multiple images inside a gallery. But whenever I add the code for the plugin inside an article I get this error:
Simple Image Gallery Notice: Joomla!'s /cache folder is not writable. Please correct this folder's permissions, clear your site's cache and retry.
So I connected to my website with FTP and changed the permissions of the cache folder located at administrator/cache to 777 (Permission for everything), but I keep getting this message.
What could be the cause of this? And is there a work-around?
Joomla has a cache folder directly in the joomla root. You have to set the permissions of this folder (e.g. /var/www/joomla/cache), but it looks like you set them of /var/www/joomla/administrator/cache.
If you are using centos, you can change selinux to permissive mode. It works.

Magento wysiwyg image uploader not working

I get the message "directory not writable" when trying to upload images into a normal cms page.
I have seen this before so I created a wysiwyg folder inside the media folder and chmod it to 777.
The images now upload but they dont appear in the wysiwyg folder on the backend. So I cant pick any images to inset into a page.
I tried copying the js folder from the original install folder, and it still doesn't work.
Any ideas?
Thanks
Check whether there is a folder named wysiwyg in media folder.
If no, then create /media/wysiwyg folder in magento installation folder and chmod 777.
If the problem still persists, then open the site in Firefox browser and activate firebug while opening the site.
Click on console and reload the page.
Now try to upload image. If there is some js error in console of browser, then download same version of magento you have, and replace the js folder from the download into your Magento installation and come back to minification later on.
Note: create a backup of your current js folder, just in case. Delete it once you have confirmed the fix works.

Magento Image upload missing?

I'm having some issues with a Magento install 1.7.0.2. We recently moved servers and now the image upload option on newsletters and CMS pages are not working. (Product images are working fine).
Media folder is set for 777 permissions as well as subfolders.
I am getting this when trying to add an image:
http://i.imgur.com/UllpyMI.png
The create folder button also does nothing, has anyone come across this before or know a solution?
Thanks!
Are you sure it is able to read the /media/wysiwyg directory?
Have you set the base URLs correctly under System / Web?
Have you copied over the js-directory?
Seems Javascript compression in Magento was the issue. Disabling compression made this work! Don't know why.

Error changes folder permissions

In using jomsocial 2.8.4 and Joomla 2.5.9 we tried uploading an image to his feed using the "multifunction" status box. Which then crashed the site. After investigating it turns out that my root folder /public_html/ permissions were changed to 777 when this error looped and changed permissions from 755 so by the security set in my cPanel, it threw the 500 error..once fixing the permission issue my site was back online but the status he was trying to upload the picture now displays.
The error from the error log before it crashes is:
Warning: Invalid argument supplied for foreach() in /home/gamer/public_html/components/com_community/libraries/photos.php on line 11
Any fixes for this?
OK so change the image your uploading to .png to see if its not loading because of extention, next how big is your image. this can also cause upload errors, also check to make your exec times are set up higher then 8mb do like 32mb you can change that in php.ini
Also you can uninstall jomsocial and reinstall it also check jomsocial settings in the backend under media to make sure those are set you what you need.
I have the same problem with my own joomla component.
It doesn't depend on image size. The same image file sometimes uploads properly, and sometimes changes permissions of the /public_html/ to 777.
I've tried yet only jpg files.
It looks like it's Joomla bug, not Joomsocial.
UPDATE:
The problem is inside JFile::delete();
// somehow set 777 rights to the /public_html/ directory
JFile::delete(JPATH_SITE.$table->img_orig);
//solution
if (JFile::exists(JPATH_SITE.$table->img_orig))
JFile::delete(JPATH_SITE.$table->img_orig);

Product images not getting displayed both in frontend and backend

I have installed magento version 1.3.2.4. everything works fine except the image upload. Images are getting uploaded successfully and saved in temp folder, but not showing up in both backend and frontend. I cant see anything in small-image folder. Tried renaming htaccess in media folder and tried all the possible changes. flash version am using is 11.1. I would be glad if I can get any help on this.
There are a few thing which are worth a shot.
Is your caching enabled? If your admin -> system -> cache management
Have you cleared your cache? In the same place you can clear it out
Have you checked the image url using Firebug or view source? If your url is wrong then you might need to update it in the database, then clear your cache

Resources