Page 1 of 1

Images Link in Joomla Administrator Not Working After Upgrad

Posted: 02 Dec 2009, 23:36
by cwalters
I recently upgraded to Phoca Gallery 2.5.8 from 2.5.5 and am having a few problems. The problem that is most significant right now is that if I click the "Images" link in the Joomla Administrator to access all of my images or upload new ones, the software waits for awhile (with the busy cursor) and then shows a completely blank page. As a result, I can't upload any new images.

Things worked fine while I was using version 2.5.5 but since my upgrade a couple days, I am getting some weird behavior. Another issue that is related to this is that when I upload images, the process adds an "index.html" file to the home directory of my website with the contents "<html><body bgcolor="#FFFFFF"></body></html>" . As a result of putting this empty index.html file in my home directory, all visitors to my website get a blank page. This is clearly a bug and may or may not be related to the other problem I am having with accessing the "images" link. Would really appreciate your help because this is causing me major problems right now.

I can provide Joomla admin access to my site if needed in order to help troubleshoot. Thanks.

Re: Images Link in Joomla Administrator Not Working After Upgrad

Posted: 03 Dec 2009, 15:45
by Jan
Hi, please let me know what you mean with upload file:

- upload in administration?
- upload in frontend?
- upload or add image into category?

There is no code to add index.html while uploading. Only while folder creating and this index.html is created in the folder :idea:

Re: Images Link in Joomla Administrator Not Working After Upgrad

Posted: 06 Dec 2009, 15:13
by cwalters
I'm referring to the upload in the Joomla Administrator back-end. Whenever I choose the option to add multiple images to a category in the Joomla Administrator, it creates an "index.html" file in the home directory of the website.

Following are a few lines from our server FTP log while uploading a batch of images:

[06/Dec/2009:07:32:10 -0500] "STOR /index.html" 226 47
...
[06/Dec/2009:07:47:09 -0500] "STOR /Portal/images/phocagallery/1stFriday-December-2009/thumbs/index.html" 226 47


The first line above is the one that causes a problem. The "index.html" file is a blank HTML file so when someone visits our homepage http://www.soulrebelproductions.com they see a blank page. Therefore, after I run this image upload process, I then have to go and delete this "index.html" so our site is usable.

Re: Images Link in Joomla Administrator Not Working After Upgrad

Posted: 06 Dec 2009, 22:49
by Jan
Hi, did you upload the Phoca Gallery on this site. I cannot find any code which will add index.html into root of the site and see no reason why to do it?

Re: Images Link in Joomla Administrator Not Working After Upgrad

Posted: 06 Dec 2009, 23:49
by cwalters
Yes I downloaded Phoca Gallery from this site. I previously had version 2.5.5 installed then downloaded version 2.5.8 and selected the "Upgrade" option during the install. I have NO IDEA why it is adding the blank "index.html" file to the server but it happens every time I add images to the site. Very frustrating. Would love to hear your suggestions on what we can do to resolve this. Thanks.

Re: Images Link in Joomla Administrator Not Working After Upgrad

Posted: 07 Dec 2009, 19:51
by Jan
I didn't hear such problem yet, so my ideas are limited :idea: :( Maybe there is some problem with folder path creating. Maybe the path to paste the index.html into phoca gallery folder is not correctly created in the script and it is pasted into root. Did you try to reinstall the gallery? :idea:

Re: Images Link in Joomla Administrator Not Working After Upgrad

Posted: 08 Dec 2009, 16:02
by Jan
Hi, I have added some if clause into the code (everywhere the new folder is created) so now the index.html should not be created on place where it is not belong to.

Try to upgrade to 2.6.1 and please let me know.

Jan