Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Help
Search
Login
Register
News
:
November 20, 2008, 11:40:04 pm
RSGallery2 Support Forums
Developers corner
Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened!
(Moderators:
Daniel Tulp
,
Chef Groovy
)
[SVN-583] - Delete all Images doesn't delete pics from FTP
« previous
next »
Topic Tools
Search this topic
Pages
1
Author
Topic: [SVN-583] - Delete all Images doesn't delete pics from FTP (Read 12442 times)
«
on:
February 11, 2007, 10:36:20 am »
Benny Neugebauer
Newbie
Posts: 17
[SVN-583] - Delete all Images doesn't delete pics from FTP
If I go to "
Manage Images
" and delete all images there I get a message that the deletion was successful and the pictures aren't shown in the Gallery anymore.
Everything right here but when I look into the directories (display, original, thumb) of my ftp the image files are still there.
«
Last Edit: February 11, 2007, 10:39:51 am by Benny Neugebauer
»
Logged
Reply #1
«
on:
February 11, 2007, 10:52:18 am »
Ronald Smit
Administrator
Hero Member
Posts: 1213
Re: [SVN-583] - Delete all Images doesn't delete pics from FTP
Benny,
I am confused.
What do you mean with:
Quote
...........the directories (display, original, thumb) of my ftp.............
Do you mean you FTP-ed images into these directories???
If so, the would not show up in the Manage Images screen, therefor they would not be deleted from the backend.
The only images that are deleted are the ones properly uploaded though RSGallery2.
So please explain in more detail what you were trying and what went wrong.
Also it would be nice to know what version you are using (1.12.1 or a more recent Nightly Build).
Cheers,
Logged
Ronald Smit
RSGallery2 Developer
FAQ
|
Known issues
Reply #2
«
on:
February 11, 2007, 11:23:23 am »
Benny Neugebauer
Newbie
Posts: 17
Re: [SVN-583] - Delete all Images doesn't delete pics from FTP
Hi Ronald,
thanks for your fast reply and sorry for my bad english
.
So, once more...
I made a Batch-Upload to a gallery and then I deleted these images from the backend.
Afterwards these images were not shown in the gallery anymore but the imagefiles are still existing on my ftp.
Do you understand what I want to say?!
I'm using your latest nightly build (
Version: 1.12.1, SVN: 583
).
Logged
Reply #3
«
on:
February 12, 2007, 08:21:53 pm »
Jonah
Administrator
Hero Member
Posts: 1411
Re: [SVN-583] - Delete all Images doesn't delete pics from FTP
HI Benny,
So you deleted some images from Manage Images, but when you looked at /images/rsgallery/thumb/ the image was still there?
I am unable to reproduce the bug. Perhaps your ftp client was showing you a cached list of files and not the actual list of files that were on the server?
Was there any error message when you deleted the image? Turn debug on in the RSG2 Configuration and try again.
Logged
Due to time constraints, I have taken a step back from RSGallery2. In the event of an emergency, you will need to PM me.
Reply #4
«
on:
February 12, 2007, 08:32:33 pm »
Alex Boone
Newbie
Posts: 14
Re: [SVN-583] - Delete all Images doesn't delete pics from FTP
I think I understand your problem. It sounds like you use a ftp directory that in locally on your server to do batch uploads. If this is true you have to delete the files in the ftp directory manualy. The ftp directory is only used as a temporary place to put the files for the batch upload. Once the upload is complete you then need to go back and delete the files in the ftp directory since they are not used after the files have been copied into the directories (display, original, thumb). You can only manage (delete etc.) files in the (display, original, thumb) directories from the back-end. However it would be nice if there was an option that you could select to automaticly delete the files in ftp after the batch upload.
Logged
Reply #5
«
on:
February 12, 2007, 08:41:12 pm »
Jonah
Administrator
Hero Member
Posts: 1411
Re: [SVN-583] - Delete all Images doesn't delete pics from FTP
I thought he was just using terms improperly, saying "still exist on my ftp" when it should be "still exist in the image directory". but I guess we'll find out when he replies back!
Logged
Due to time constraints, I have taken a step back from RSGallery2. In the event of an emergency, you will need to PM me.
Reply #6
«
on:
February 13, 2007, 01:20:27 pm »
Benny Neugebauer
Newbie
Posts: 17
Re: [SVN-583] - Delete all Images doesn't delete pics from FTP
Quote from: Jonah on February 12, 2007, 08:21:53 pm
HI Benny,
So you deleted some images from Manage Images, but when you looked at /images/rsgallery/thumb/ the image was still there?
100 Points!
That's the fact.
Logged
Reply #7
«
on:
February 13, 2007, 01:26:11 pm »
Jonah
Administrator
Hero Member
Posts: 1411
Re: [SVN-583] - Delete all Images doesn't delete pics from FTP
Ok, try it one more time for us then. First make sure that there are no images /images/rsgallery/ you can do this by activating debug in the configuration and clicking REALLY Uninstall from the control panel, or just delete all the images with your ftp client. If you choose the really uninstall, you then have to uninstall and reinstall RSG2. Please install the latest SVN from the nightly builds.
Ok, next, turn on debug in the RSG2 configuration. Upload your files, then delete them. Please report any error messages. Check with your ftp client to see if the files are still there. Make sure to refresh the view in your ftp client or actually close it and open it again to be sure you are seeing what is actually on the server.
Finally, run the Consolidate Database feature. Let us know what that tells you.
Also, tell use your setup, what operating system, versions of php and mysql, etc.
Thanks!
Logged
Due to time constraints, I have taken a step back from RSGallery2. In the event of an emergency, you will need to PM me.
Reply #8
«
on:
February 13, 2007, 02:10:59 pm »
Benny Neugebauer
Newbie
Posts: 17
Re: [SVN-583] - Delete all Images doesn't delete pics from FTP
Quote from: Jonah on February 13, 2007, 01:26:11 pm
Make sure to refresh the view in your ftp client or actually close it and open it again to be sure you are seeing what is actually on the server.
I DAMN MYSELF!
I think this was the problem... because I tried again and it worked
But I got another problem by turning on the Debug Mode.
If I turn on the Debug Mode I always get this message:
Notice: Only variable references should be returned by reference in /joomla/includes/joomla.php on line 364
I looked into my
joomla.php
and found line 364 (
pointed out in blue
):
Quote
function &getCache( $group='' ) {
global $mosConfig_absolute_path, $mosConfig_caching, $mosConfig_cachepath, $mosConfig_cachetime;
require_once( $mosConfig_absolute_path . '/includes/joomla.cache.php' );
$options = array(
'cacheDir' => $mosConfig_cachepath . '/',
'caching' => $mosConfig_caching,
'defaultGroup' => $group,
'lifeTime' => $mosConfig_cachetime
);
$cache = new JCache_Lite_Function( $options );
return $cache;
}
Is this usual?
Logged
Reply #9
«
on:
February 13, 2007, 02:27:23 pm »
Jonah
Administrator
Hero Member
Posts: 1411
Re: [SVN-583] - Delete all Images doesn't delete pics from FTP
well, you have just discovered a coding error with Joomla! itself.
This does not have anything to do with RSG2. This is why we always code with debug on to discover these things.
It is probably benign, but out of our hands regardless. If you feel up to it, you should post in the appropriate Joomla forum.
Logged
Due to time constraints, I have taken a step back from RSGallery2. In the event of an emergency, you will need to PM me.
Reply #10
«
on:
February 14, 2007, 02:46:41 am »
Benny Neugebauer
Newbie
Posts: 17
Re: [SVN-583] - Delete all Images doesn't delete pics from FTP
Quote from: Jonah on February 13, 2007, 02:27:23 pm
well, you have just discovered a coding error with Joomla! itself.
This does not have anything to do with RSG2.
Alright!
I thought I could be a failure of RSG2
becaue I only get this message when changing to "Debug Mode".
Maybe I will report it to the Joomla forums!
Logged
Pages
1
« previous
next »
Jump to:
Please select a destination:
-----------------------------
RSgallery2 support forums
-----------------------------
=> RSgallery2 bugs & problems
===> Resolved Issues
===> Known Issues
=> Features
=> Display and Templates
=> RSgallery2 modules and plugins (mambots)
-----------------------------
RSGallery2
-----------------------------
=> General discussion
=> Gallery Showcase
=> Template directory
=> Meta Forum
=> Duplicate Threads
-----------------------------
Language translations
-----------------------------
=> General language and translation questions
=> Chinese
=> Danish
=> Dutch
=> English
=> French
=> German
=> Greek
=> Polish
=> Spanish
=> Other languages
-----------------------------
Developers corner
-----------------------------
=> Developer Lobby
=> Nightly Builds for RSGallery2 in Joomla 1.5
=> J15Backport [Closed]
=> Nightly Builds for RSGallery2 Legacy, J1.5 or J1.0 - Now Reopened!
Print
Advanced search
Powered by SMF 1.1 RC3
|
SMF © 2001-2006, Lewis Media
Pn-Pn Theme by koni.
Loading...