I get the following message every time I try to edit an album (changing description, summary, etc.). The update usually still takes place, but sometimes I get a second error message about out of date results.
Security Violation
The action you attempted is not permitted.
Back to the Gallery
Error Detail -
Error (ERROR_BAD_PARAMETER) : Controller results are missing status, error, (redirect, delegate, return)
* in main.php at line 265 (GalleryCoreApi::error)
* in main.php at line 104
* in main.php at line 88
* in main.php at line 3
System Information
Gallery version 2.3
PHP version 5.2.11-1 apache2handler
Webserver Apache/2.2.14 (Debian)
Database mysqli 5.0.81-1
Toolkits SquareThumb, ImageMagick, Thumbnail, NetPBM, Gd
Operating system Linux bminton.is-a-geek.net 2.6.31.5 #1 SMP Sat Nov 7 21:18:10 EST 2009 i686
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Here's the System Information from Admin->Maintenance:
Gallery URL = http://brian.minton.name/gallery2/main.php
Gallery version = 2.3 core 1.3.0
API = Core 7.54, Module 3.9, Theme 2.6, Embed 1.5
PHP version = 5.2.11-1 apache2handler
Webserver = Apache/2.2.14 (Debian)
Database = mysqli 5.0.81-1, lock.system=database
Toolkits = Exif, Getid3, LinkItemToolkit, Thumbnail, ArchiveUpload, Dcraw, Ffmpeg, ImageMagick, jpegtran, NetPBM, Gd, SquareThumb
Acceleration = none, none
Operating system = Linux bminton.is-a-geek.net 2.6.31.5 #1 SMP Sat Nov 7 21:18:10 EST 2009 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Rows in GalleryAccessMap table = 185
Rows in GalleryAccessSubscriberMap table = 11841
Rows in GalleryUser table = 14
Rows in GalleryItem table = 11840
Rows in GalleryAlbumItem table = 152
Rows in GalleryCacheMap table = 0
Posts: 16503
Check that all files are intact:
FAQ: How can I make sure that my installation files are all intact?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 18
Missing files:
lib/adodb/license.txt
lib/adodb/readme.txt
lib/smarty/COPYING.lib
lib/smarty/README
modules/cmmigrate/test/data/coppermine/include/config.inc.php
modules/cmmigrate/test/phpunit/ChooseCmObjectsControllerTest.class
modules/cmmigrate/test/phpunit/CmDatabaseToolsTest.class
modules/cmmigrate/test/phpunit/SelectCmAlbumControllerTest.class
modules/bulkupload/locale/de/LC_MESSAGES/modules_bulkupload.mo
modules/bulkupload/po/de.po
themes/fluid/locale/af/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/ar/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/cs/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/da/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/de/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/el/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/en_GB/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/es/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/es_AR/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/es_MX/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/eu/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/fi/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/fr/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/ga/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/he/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/hu/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/is/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/it/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/ja/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/lt/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/nl/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/no/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/pl/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/pt/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/pt_BR/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/ru/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/sr/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/sv/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/tr/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/vi/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/zh_CN/LC_MESSAGES/themes_fluid.mo
themes/fluid/locale/zh_TW/LC_MESSAGES/themes_fluid.mo
themes/fluid/po/af.po
themes/fluid/po/ar.po
themes/fluid/po/cs.po
themes/fluid/po/da.po
themes/fluid/po/de.po
themes/fluid/po/el.po
themes/fluid/po/en_GB.po
themes/fluid/po/es.po
themes/fluid/po/es_AR.po
themes/fluid/po/es_MX.po
themes/fluid/po/eu.po
themes/fluid/po/fi.po
themes/fluid/po/fr.po
themes/fluid/po/ga.po
themes/fluid/po/he.po
themes/fluid/po/hu.po
themes/fluid/po/is.po
themes/fluid/po/it.po
themes/fluid/po/ja.po
themes/fluid/po/lt.po
themes/fluid/po/nl.po
themes/fluid/po/no.po
themes/fluid/po/pl.po
themes/fluid/po/pt.po
themes/fluid/po/pt_BR.po
themes/fluid/po/ru.po
themes/fluid/po/sr.po
themes/fluid/po/sv.po
themes/fluid/po/tr.po
themes/fluid/po/vi.po
themes/fluid/po/zh_CN.po
themes/fluid/po/zh_TW.po
Modified files:
install/steps/StorageSetupStep.class
install/templates/StorageSetupRequest.html
lib/adodb/adodb-error.inc.php
lib/adodb/adodb-iterator.inc.php
lib/adodb/adodb-lib.inc.php
lib/adodb/adodb-perf.inc.php
lib/adodb/adodb-php4.inc.php
lib/adodb/adodb-time.inc.php
lib/adodb/adodb.inc.php
lib/adodb/drivers/adodb-ado.inc.php
lib/adodb/drivers/adodb-ado5.inc.php
lib/adodb/drivers/adodb-ado_mssql.inc.php
lib/adodb/drivers/adodb-db2.inc.php
lib/adodb/drivers/adodb-mysql.inc.php
lib/adodb/drivers/adodb-mysqli.inc.php
lib/adodb/drivers/adodb-mysqlt.inc.php
lib/adodb/drivers/adodb-oci8.inc.php
lib/adodb/drivers/adodb-oci805.inc.php
lib/adodb/drivers/adodb-oci8po.inc.php
lib/adodb/drivers/adodb-oracle.inc.php
lib/adodb/drivers/adodb-pdo.inc.php
lib/adodb/drivers/adodb-pdo_sqlite.inc.php
lib/adodb/drivers/adodb-postgres64.inc.php
lib/adodb/drivers/adodb-postgres7.inc.php
lib/adodb/perf/perf-db2.inc.php
lib/adodb/perf/perf-mssql.inc.php
lib/adodb/perf/perf-mysql.inc.php
lib/adodb/perf/perf-oci8.inc.php
lib/adodb/perf/perf-postgres.inc.php
lib/adodb/tohtml.inc.php
lib/smarty/Config_File.class.php
lib/smarty/Smarty.class.php
lib/smarty/Smarty_Compiler.class.php
lib/smarty/internals/core.write_cache_file.php
lib/smarty/plugins/function.math.php
lib/smarty/plugins/modifier.debug_print_var.php
upgrade/steps/SystemChecksStep.class
Old Files
lib/adodb/drivers/adodb-sqlite.inc.php
lib/adodb/drivers/adodb-sqlitepo.inc.php
lib/adodb/drivers/adodb-mssql.inc.php
lib/adodb/drivers/adodb-mssqlpo.inc.php
lib/adodb/drivers/adodb-odbc.inc.php
lib/adodb/drivers/adodb-postgres.inc.php
modules/notification/NotificationItem.inc
modules/notification/NotificationItemOption.inc
modules/notification/classes/NotificationEventInterface_1_0.class
modules/notification/classes/NotificationEventItemAdd.class
modules/notification/classes/NotificationMethodInterface_1_0.class
modules/notification/classes/NotificationSystem.class
modules/notification/classes/NotificationSystemInterface_1_0.class
modules/notification/templates/NotificationItem.tpl
Posts: 16503
I might question some of the missing filed depending on what you're doing, but I'd definetly question every single one of those modified files. They shouldn't need to be touched for any reason unless you're trying to do something way out of "normal" or get Gallery running on a totally unsupported setup.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 18
I wonder if there's a way I can see the diff between what I have and what it should be.
Posts: 16503
Well you can use linux command line commands, like wget (to get a fresh zip of gallery) and diff (search google on how to use those) or if you like a gui
Download your site
Download a fresh zip of Gallery from here:
http://codex.gallery2.org/Downloads
Grab a trial of Beyond Compare:
http://scootersoftware.com/
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 18
I have no problem using linux command line tools. I wonder if those files (especially the changed ones) might be changed by debian. The missing ones are more of a concern. I suppose it should be fine to get them from the source and put them in place.
Posts: 18
Another possibility, before I place any files: I have two gallery installations on the same server. Could that be a source of the missing/modified files?
Posts: 16503
I think only if you did apt-get install gallery2, which at this point of seeing so many of those not work right after upgrading your Debian install. I'm not willing to do any support on
Yes, I run Gallery 2 and 3 just fine in an unmolested state on Debian 5.0 (meaning no package maintainer edited the files to abide by what ever standard that distribution has decided to take)
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 16503
I doubt it. Each gallery instance would have to know about the other, which is unlikely if not impossible unless you've made big changes to Gallery
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 18
no, I didn't make any changes. All I did was use the normal install script to add a second instance to my gallery installation, as per http://codex.gallery2.org/Gallery2:Multisite
Posts: 16503
Ah, first mention of a multisite install....
You are using totally different databases or at least totally different DB tables for these right?
You say "use the normal install script to add a second instance"
___________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 18
yes, different tables in a different db. I should have mentioned the multisite aspect sooner, but I forgot what it was called :-D
Posts: 16503
(should have tried some of this earlier but I started down a different path....)
Reading over this thread. I just noticed that you are using database locking. Have you tried file locking?
I don't think that'll fix it, but it's worth a shot....
Do you happen to have the "timestamp" plugin installed? If so, uninstall it.
Also, let's try and get some more debug info. But Gallery into debug and try to edit an album where you get this error message. Copy and paste the debug output (NOT the Smarty Debug popup window) into a text file, zip it and attach.
FAQ: How to set/use Gallery in debug mode?
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here
Posts: 16503
If you happen to have the Puzzle module installed, uninstall it:
http://gallery.menalto.com/node/92556#comment-327623
I'm betting it's some 3rd party, un-supported plugin you have installed
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here