Piwigo Bugtracker

Piwigo bug tracker has moved to Github

This bugtracker is kept to provide history on old issues.


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002915Piwigosynchronizationpublic2013.05.31 10:362013.06.14 23:33
Reporterhoedlmoser 
Assigned Toplg 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSLinuxOS Version3.2.41-2+deb7u2
Product Version2.5.1 
Target Version2.5.2Fixed in Version2.5.2 
Summary0002915: synchronization not really disabled
Descriptionas I described in http://piwigo.org/forum/viewtopic.php?id=22178 [^] synchronization is, even disabled with $conf['enable_synchronization'] = false;, still available with a direct link eg http://piwigo.kmplabs.org/admin.php?page=site_update&site=1. [^]

something like the following should do the job:
--- admin/site_update.php 2013-01-01 13:35:02.000000000 +0100
+++ admin/site_update.php 2013-05-31 10:31:47.000000000 +0200
@@ -33,6 +33,11 @@
 // +-----------------------------------------------------------------------+
 check_status(ACCESS_ADMINISTRATOR);
 
+if (!$conf['enable_synchronization'])
+{
+ die ('synchronization is disabled');
+}
+
 if (!is_numeric($_GET['site']))
 {
   die ('site param missing or invalid');
Steps To Reproduce1. set $conf['enable_synchronization'] = false; in local/config/config.inc.php
2. browse to http://<your [^] piwigo site>/admin.php?page=site_update&site=1
Tagssynchronization
browserany
Database engine and versionMySQL: 5.5.31-0+wheezy1
PHP versionPHP: 5.4.4-14+deb7u1
Web serverApache/2.2.22 (Debian)
Attached Files

- Relationships

-  Notes
(0007013)
svn (reporter)
2013.05.31 14:22

[Subversion] r22978 by plg on branch 2.5

-----[Subversion commit log]----------------------------------------------------
bug 2915 fixed: really disable synchronization on synchronization and site (directories) manager screens.
(0007014)
svn (reporter)
2013.05.31 14:23

[Subversion] r22979 by plg on trunk

-----[Subversion commit log]----------------------------------------------------
merge r22978 from branch 2.5 to trunk

bug 2915 fixed: really disable synchronization on synchronization and site (directories) manager screens.


- Issue History
Date Modified Username Field Change
2013.05.31 10:36 hoedlmoser New Issue
2013.05.31 10:36 hoedlmoser browser => any
2013.05.31 10:36 hoedlmoser Database engine and version => MySQL: 5.5.31-0+wheezy1
2013.05.31 10:36 hoedlmoser PHP version => PHP: 5.4.4-14+deb7u1
2013.05.31 10:36 hoedlmoser Web server => Apache/2.2.22 (Debian)
2013.05.31 10:42 hoedlmoser Tag Attached: synchronization
2013.05.31 14:22 svn Checkin
2013.05.31 14:22 svn Note Added: 0007013
2013.05.31 14:23 svn Checkin
2013.05.31 14:23 svn Note Added: 0007014
2013.06.14 23:33 plg Assigned To => plg
2013.06.14 23:33 plg Status new => closed
2013.06.14 23:33 plg Resolution open => fixed
2013.06.14 23:33 plg Fixed in Version => 2.5.2
2013.06.14 23:33 plg Target Version => 2.5.2


Copyright © 2000 - 2018 MantisBT Team
Contact
Powered by Mantis Bugtracker