When i try to create a gallerie from directory i have this error:
An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /galerie/ajax/type_form
StatusText: Internal Server Error
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | galerie error.jpg | 29.21 KB | bashirqaasim |
Comments
Comment #1
sanjayfernando commentedYes i get the same error. I believe its got something to do with setting the default dir to load images
Comment #2
fomichoff commentedCan you please tell the solution to this problem. Thank you!
Подскажите, пожалуйста, решение данной проблемы. Спасибо!
Comment #3
clauded commentedsubscribe
Comment #4
achalak commentedthe same issue,
subscribe.
Comment #5
gphilippe commentedsame problem
Comment #6
Sammichman commentedI have the same problem. Any news on this?
Comment #7
cr51gtr commentedI have the same problem. Anyone with a fix?
Comment #8
bashirqaasim commentedSame error
Comment #9
eustace commentedProblem is caused by use of function file_directory_path() discontinued in Drupal 7. Use file_default_scheme() instead. Open galerie_directory.module and replace all four instances of file_directory_path() with file_default_scheme() and this should solve the problem. I hope the module authors make a permanent fix for all. Good module.
Comment #10
gphilippe commentedThanks but how to make that ?
Comment #11
eustace commentedNavigate to the folder where you installed galerie e.g. /your-drupal-root-dir/sites/default/modules/. Locate the folder 'galerie'. Go into it and you should find other folders like 'galerie', 'galerie_directory', 'galerie_flickr', etc. Go into 'galerie_directory' and you should find a file named 'galerie_directory.module'. Open this file in an editor, search for "file_directory_path()" (no quotation marks) and replace with "file_default_scheme()" (no quotation marks). Safe and try to recreate the galerie content type. The error should go away. I hope it works for you.
Comment #12
pimentoski commentedthanks eustace, it works perfect for me
Comment #13
jorgecardenas commentedThe solutions worked, using file_default_scheme() instead of file_directory_path() it just a matter of update the file next release, unfortunately I do not know how to do it otherwise I would have it done.
Comment #14
hbblogger commentedThank you for this solution. How did this get past the testing stage?? I now get a gallery, but it is impossible to see that thumbnails (they are small black marks) and there seems to be no way to set thumbnail size or type in Galerie. (possibly this should be a new bug report?)
Comment #15
jasp255 commentedMy problem is this:
-See the black squares
-See multiple lines: Warning: mkdir(): Permission denied en drupal_mkdir() (línea 2244 de /var/www/includes/file.inc).
I don't know what is the directory that haven't permisions.
Comment #16
SeeSchloss commentedThe file_directory_path() is fixed in git, I'll make a release one of these days (the function was removed after my release of 7.x-1.0).
The black squares thing might have been related, I suppose. A lot of things did not work anymore and now that I am back I am fixing them. When I make sure the update process works, I'll release a new version, that should happen soon.
And there is no way to set thumbnail size, and there will be none (unless someone else submits a good enough patch).