Heya,
I tested piwigo's "synchronize files structure with database", uploaded a folder named "2012-07-15" with 33 photos in it. All went perfect.
So I've uploaded 4 more folders and now I'm getting the following message when I try to synchronise:
[./galleries/2012-07-23 Balchik and Varna Mall] PWG-UPDATE-1 (wrong filename)
[./galleries/2012-07-26 Dolphinarium] PWG-UPDATE-1 (wrong filename)
[./galleries/2012-07-24 Cape Kaliakra] PWG-UPDATE-1 (wrong filename)
[./galleries/2012-07-25 Botanical Garden] PWG-UPDATE-1 (wrong filename)
Piwigo version
Piwigo 2.4.3
Environment
Operating system: Linux
PHP: 5.2.17 (Show info) [2012-09-10 03:02:08]
mysql: 5.1.65-community-log [2012-09-10 03:02:08]
Graphics Library: External ImageMagick 6.7.7-7
Database
33 photos (first photo added on Monday 10 September 2012)
1 album including 1 physical and 0 virtual (33 associations)
0 tags (0 associations)
2 users
0 groups
0 comments
no rate
When I try to synchronise, I tick the following options:
Directories and files
display max info
synchronise metadata
only perform a simulation
Search in sub-albums
Any help would be appreciated.
Thx!
there are spaces in you filenames
with the Plugin LocalFilesEditor add this to you local configuration (first tab)
$conf['sync_chars_regex'] = '/^[a-zA-Z0-9-_. ]+$/';
(I added a space at the end from the default configuration)
Offline
Thanks for your quick response. I never realised a space would not be allowed even when I 'studied' the allowed characters several times.
Can I add the '&' sign to that line?
it can be buggued an some system, but try it! there is no consequences but fail the sync
Offline
Cool, thanks again!
Hi,
I can´t find the localfiles Editor in Piwigo Plugins.
I downloaded from piwigo.org but I don´t know how to get it in Piwigo!
please help!
Offline
this plugin is one of the three plugins provided with all Piwigo installations
perhaps you deleted it
to manually install a plugin, extract the ZIP inside your "plugins" directory
you must have a folder named "plugins/LocalFilesEditor" directly containing main.inc.php and other files
Offline
thanks! I have it.
I don´t know If I did it right? and still wrongfile list for 600 files :-(
With the last sycnorisation I deledet already over 2000 Pic? I can´t get them back, right?
thanks in advance
Mehmet
Last edited by memager (2013-08-21 11:39:48)
Offline
in your filenames I see
-
+
(
)
;
À
ä
!
and perhaps some more
you must add ALL of them to the configuration
important : brackets must be escaped with an antislash \ or it will fail
Offline
thanks for quick replay!
I have no expreince with coding :-(
I have copied the code from
mistic100
2012-09-10 10:14:33
I thought it´s for all special signs?
I have no Idea which brackets and what antislash you mean. Can you show me the code I can copy it?
that would be great!
thanks a lot!
Offline
the parameter is a list of allowed chars, just add the ones you need (it's not coding)
$conf['sync_chars_regex'] = '/^[a-zA-Z0-9-_. +!;äÀ\(\)]+$/';
Offline
hi mistic100,
after 6 tryes and adds! It worked out!
thanks a lot. one problem less :-)
Offline
Hi mistic100
I have managed to resolve my sync errors with getting the allowed characters correct (I also missed the space!) but I face one problem and wondered if you could help?
The folder format that I use is like the following :
[./galleries/photos/2013_08_04 - Ickworth National Trust] PWG-UPDATE-1 (wrong filename)
[./galleries/photos/2013_08_04 - Ickworth National Trust/@eaDir] PWG-UPDATE-1 (wrong filename)
[./galleries/photos/2013_06_23 - Wicken Fen] PWG-UPDATE-1 (wrong filename)
[./galleries/photos/2013_06_23 - Wicken Fen/@eaDir] PWG-UPDATE-1 (wrong filename)
[./galleries/photos/2013_04_23 - Counting Crows] PWG-UPDATE-1 (wrong filename)
[./galleries/photos/2013_04_23 - Counting Crows/@eaDir] PWG-UPDATE-1 (wrong filename)
[./galleries/photos/2013_07_05 - Alton Towers] PWG-UPDATE-1 (wrong filename)
[./galleries/photos/2013_07_05 - Alton Towers/@eaDir] PWG-UPDATE-1 (wrong filename)
As you can see in this structure which is via a symlink from my Synology NAS it includes a default NAS system folder in each folder called "@eaDir", Is there a way to exclude this folder from each sync?
Thanks XTed
Last edited by XTed (2013-08-22 00:38:30)
Offline
please open a new thread, it's not related to the original question (forum rules)
Offline