1 (edited by xty 2010-07-30 14:29:08)

Topic: Problem on creating/customizing new gallery

I installed svmanager from fresh to /svm/ directory on my website root directory.
Change default login OK.
First time creating a new empty gallery, but wanted to have a dedicated directory /gallery/places/ instead of svmanager's default directory /svm/g1/
It returns error message.

See screenshot:
http://img153.imageshack.us/img153/9084 … 212212.jpg

Tried on local (Windows Vista and latest XAMPP) as well as remote host (Linux), but same result.

Re: Problem on creating/customizing new gallery

There are some restrictions on moving galleries (derived from the restrictions on the php rename function). Here's the relevant extract from the svManager docs:


You can change /svmanager/sporting-shots to /othergalleries/sporting-shots

In order for this to work:

  1. The new gallery folder (sporting-shots) either must not exist or may exist and be empty.
    Any folders above the gallery folder on the new path (othergalleries in the example above) must already exist. It doesn’t matter if they are empty or not.

  2. The path to the new gallery folder should contain only alphabetic characters, numeric characters, hyphen, underscore, tilde and dot (no spaces).

  3. In versions of svManager earlier than v1.4.0, all image and thumbnail files must be inside the gallery folder to be moved and must be named images and thumbs respectively. svManager always creates its galleries like this, so problems are only likely to arise with imported galleries. These restrictions were removed in svManager version 1.4.0.

If none of the above restrictions apply, then it's probably a permissions issue. You can get a more detailed error message which may help to pinpoint the problem by turning debug mode on. Edit svmanager/includes/constants.php and change the debug setting as follows:

// Set DEBUG to true for detailed error messages
define('DEBUG', true);

Or you can just experiment with permissions on the relevant folders.

Incidentally, that looks like an old version of svManager.


Jack Hardie
SimpleViewer Support Team.

Re: Problem on creating/customizing new gallery

Thanks for the info. I tried creating empty /gallery/ directory first prior to creation of the new gallery. It works! :)