So I thought I got the gallery integrated, but now I'm getting the message "A serious error has occured. This can happen due to an incorrect configuration or a bug in the gallery module. If you plan to submit a bug report to the issue queue at drupal.org consider to include the pre-generated report file."
Durpal Version: 5.6
Gallery2 Version: 2.1
Gallery Module Version: 5.x-2.0
PHP Version: 5.2.5
See attached for the error output.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | gallery_report2.html_.zip | 2.17 KB | julianna |
| gallery_report.html_.zip | 1.93 KB | julianna |
Comments
Comment #1
julianna commentedNote that this happens only when using the Menu Item link, and not when trying to access the album from the gallery itself. The URL giving errors is http://sculpture.juliannayau.com/v/Before+and+After
Comment #2
profix898 commentedFrom a first visual inspection of your bug report, the above url to your album is invalid and is missing the 'gallery/' part. Make sure your 'Show Item' rule is set to start with 'gallery/v/...'. Other rules accordingly.
If this still doesnt help, please report back and I will take a look at the issue.
Comment #3
profix898 commentedComment #4
julianna commentedThere isn't a problem with the other album links, all of which use the v/%path% format instead of the gallery/v/%path% format.
I did try changing the format to gallery/v/%path%, but am still getting errors with the .../whatever/Before+and+After URL and not the others. I have attached the errors from the gallery/v/%path% format for comparison.
Comment #5
julianna commentedComment #6
julianna commentedComment #7
dsp1 commentedi don't see any error going to your url. not errors when clicking around. only getting an error in your site admin account? did you logout and see if anonymous users see any errors?
Comment #8
julianna commentedI have reactivated the menu item (I deactivated it so that I wouldn't irritate visitors trying to get to that album).
There isn't much to see for anonymous users, though. Just a message saying "Embedded Gallery2 is not available or requested Gallery URL does not exist."
To test this, please go to the URL (in the first post above) directly, then try it through the menu item. The result I get is a successful loading of the album if I go directly to the URL (or through the post above, or through the main gallery), but an error if I try to go to the album through the menu item. When I hover over the menu item link, I can validate that it's the same address as the others.
Note that I built the menu items manually, rather than using the Gallery module's menu addon. However, the other menu items I created manually for other albums are working perfectly.
Comment #9
dsp1 commentedthat link is not the same. Before+and+After on here but Before%2Band%2BAfter on your site.
looks like the + is replaced with a %2B. that is where the problem is.
why are you using pluses in the url? not good for search engines.
hyphen would be better.
Comment #10
julianna commented"Before+and+After" is how the URL Rewrite module automatically changed to "Before and After". "Before+and+After" is what I typed as the URL...not sure why Drupal changed that to "Before%2Band%2BAfter".
I ended up going into the album and manually changing the name of the path to "beforeandafter", and now everything's working.
Comment #11
profix898 commentedSpaces are encoded as
+and plus signs are encoded as%2Bin urls. What means you should try to provide the url with spaces instead of + to Drupal. Otherwise the characters are encoded twice.Edit: You should still include 'gallery/' in your urls. The missing prefix will turn back on you sooner than later.
Comment #12
julianna commentedThanks!
I've also added the "gallery" prefix to the URLs as suggested.