-
- 372 Posts
Quote from: Mark at Nov 27, 2005, 10:23 PM
Are you calling the snippet uncahced?
[!MiniGallery!]
Yea, both uncached snippet as above and uncached page.
[EDIT] The ptoblem is with the URL’s. Not sure why it only came about when I added a second gallery or if soemthing else happened at the same time.
When I click on the gallery page, I have two links, one for each album (gallery). If I click on them they now add an extra directory to the path:
www.mysite.com/gallery/command-tactics-gallery.html
where it should say
www.mysite.com/command-tactics-gallery.html
If I go to the correct URL directly it works fine, which is why it works in the backend.
Any ideas?
-
- 372 Posts
I deleted the pages, flushed the cache, dropped the table modx_etogal and renamed the directories in the galleries folder on the server.
I created the pages again and now when it goes to the page the first time it shows manage button, but after that I get the following error. If I drop the table again nd go to one of the two galleries, i get the manage button again but then if I go to the page a 2nd time or the other gallery I get the error again.
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« Execution of a query to the database failed - Table ’modx_etogal’ already exists »
SQL: CREATE TABLE modx_etogal ( `id` int(10) unsigned NOT NULL auto_increment, `gal_alias` varchar(50) NOT NULL, `filename` varchar(50) NOT NULL, `title` text NOT NULL, `date` datetime NOT NULL, PRIMARY KEY (`id`) ) TYPE=MyISAM AUTO_INCREMENT=1 ;
[Copy SQL to ClipBoard]
Parser timing
MySQL: 0.0000 s s (0 Requests)
PHP: 0.0272 s s
Total: 0.0272 s s
-
- 3,250 Posts
Ahhh. You have friendly alias path on.....
MiniGallery does NOT support that...
-
- 372 Posts
Bugger, although it did support it when there is only one gallery as I used it quite succesfully for that. I guess multipul galleries and friendly URL’s is the issue.
Well, guess I’m off to look for a replacement, hope Gallery 2 intergration is out soon.
Thanks anyway