Patrick

[Solved 13r] Uploaded pics wont save and Joomla folder not working

24 posts in this topic

When I try to upload pics within the module using the upload tool it looks like upload functions fine but when saving it strips the pic giving me the error on frontend

"There isn't any images, Please upload via modules management in admin section"

The same thing happens when I try to use Joomla folder as source. Has images inside of it and shows them uploading but just spins forever...any suggestions or feedback. I can offer Admin login/pw as well as server side access if its something screwy with PHP or HTaccess.....

"

Share this post


Link to post
Share on other sites

Hi,

I have a similar problem, same error message but I can't upload the pictures nor use an existing joomla directory as well. I'll send you my account details as well so you can have a look.

Share this post


Link to post
Share on other sites

HI

Is there any warning error when you upload image?

Did you try to check permission of folder /mod_bt_backgroundslideshow/images

It and sub folder must be 755.

Share this post


Link to post
Share on other sites

So,

In this case, i need your admin account and url to check problem

Please send them to me via private message.

I will check it and published reason and solution here

Share this post


Link to post
Share on other sites

Hi Guys.

After checked Charalabos's website. I detected problem is his server block request URL that contain a HTTP as query string.

Example, BT Background Slideshow build this request URL to upload image

http://yourdomain?view=modules&btfile=http://flickr.com/abc.jpg

With http:// in file name, your server deny this request. So you can't upload image

We fix it by edit file /mod_bt_backgroundslideshow/admin/formfields/ajax.php

Change this line ( x 5 time for different sources)

$objFile->file = $file

to

$objFile->file = str_replace('http://', '', $file);

That is remove http:// to make server accept the request

Change this line for get video

$videoObj->file = 'http://img.youtube.com/vi/' . $videoid . '/0.jpg';

to

$videoObj->file = 'img.youtube.com/vi/' . $videoid . '/0.jpg';

then change this line to concat http:// again to load image from source

$file = JRequest::getString('btfile');

to

$file = 'http://' . JRequest::getString('btfile');

With Charalabos's case there is still a problem. It may be his server's configuration, so this line

$ftp = JFTP::getInstance($FTPOptions['host'], $FTPOptions['port'], null, $FTPOptions['user'], $FTPOptions['pass']);    

In file mod_bt_backgroundslideshow/helpers/images.php warns a error with null parameter.

So i chang it to array()

$ftp = JFTP::getInstance($FTPOptions['host'], $FTPOptions['port'], array(), $FTPOptions['user'], $FTPOptions['pass']);    

Finally, problem's solved you can upload images, Charalabos

Enjoy it!

Share this post


Link to post
Share on other sites

Thank you i now see you have uploaded images. But i go to the module and i see that tries to upload from picasa and flickr even if i say to use uploader and save and get in the module again to check. It goes the same over and over. also i press delete all and the photo are still there. Tryed to upload but still the problem remains. I see the photo gets upload but then it doesnt show as a thump even if i save. In addition the ajax.php in the folder is empty with 0kb.

Thanks in advance for your help!

Share this post


Link to post
Share on other sites

Hi Guys,

I have a similar problem... But even if I try the Charalabos fix I dont get it working properly... Perhaps I have not applied the fix the right way or I have a different issue... Please help me

Share this post


Link to post
Share on other sites

Hi I have downloaded this file and replaced it on joomla 3 but i am still getting the error 'files cannot be saved' I have also changed the permissions on the folders to 755?

Share this post


Link to post
Share on other sites

Hi.

I'm having exactly the same problem.

I tried all the solutions in this post but the problem remains the same:

1 - if i try the UPLOADER option, i get the message "HTTP Error"

2 - if i try the JOOMLA FOLDER option i get the message "Image can not be saved"

but...

if i enable the "REMOTE IMAGE" option the problem goes away.

The thumbnails are not created.

Share this post


Link to post
Share on other sites

Hi Nuno.

Please check your server's configuration for allow_url_fopen, this maybe reason of the problem. You don't see the problem with Remoate Image, because it doesn't get images from source to save them to your server, the module only save images' url.

Thanks

Share this post


Link to post
Share on other sites

Hello there,

I am having kind of same problem here.. I have uploaded two images from Media Manager, and through the BT slideshow module, grab my images! I saw these two images on my website, but there is this an error message in front of the image slide show: "There isn't any images, Please upload via modules management in admin section", too!

I have created more than 3 modules like this, and worked perfect in the past.. I did not change anything or did something different than before! Any suggestions, or help? thanks in advance

*website: http://jasmine-shops.gr/

Share this post


Link to post
Share on other sites

Hi Kiriakos.

Thanks so much for using our extension.

And i'm also sorry, i suspect you are publishing 2 BT Background Slideshow modules on a same page.

This module doesn't support multiple instances.

Please help me check it.

Share this post


Link to post
Share on other sites

Yes you are right! I was not see that I had two at the same time! I was set a date to end the old one..and somehow I active it again! Anyway problem solved :) thanks a lot

Share this post


Link to post
Share on other sites