Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 06:55 am EST
Geeklog Forums
Inmemoriam bug report
Page navigation
Status: offline
Robin
Forum User
Full Member
Registered: 02/15/02
Posts: 725
mach
Anonymous
Robin, ...upgrade
38
30
Quote
Status: offline
Robin
Forum User
Full Member
Registered: 02/15/02
Posts: 725
Quote by mach: Robin, ...upgrade
Done boss
What do we do next
I'm on 0.9.0 now and watermarks still don't work Neither text nor images, default ones, none.
I installed locally Geeklog using this
DeveloperSide.NET Web-Server NON-SSL Package, version 1.10
It's basically Apache, Php, Mysql running on W2K, SP4.
Geeklog Polish Support Team
29
35
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
did you copy over the watermarks directory? the script seems not to be able to find the image. Also, remember to overwrite your pear files with the included ones as they have changes made to them relevant to watermarking.
37
30
Quote
Status: offline
Robin
Forum User
Full Member
Registered: 02/15/02
Posts: 725
Quote by machinari: did you copy over the watermarks directory?
Yes but I didn't update it
So now the image watermarks work thanks machinary however text watermarks don't.
I checked the remaining files and dirs and I'm 100% sur the pear files are up to date.
Geeklog Polish Support Team
37
35
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Robin, here's a hint when you want to find out why an image won't show: click on the "full view" link and if there is a problem with the image or the font, as in this case, you should have an error come up that will at least give you a starting place.
So, having clicked on your text watermarked image, I see that the script cannot find the font. Check the font path in Inmemoriam's config file and then check that the font physically exists in that path. We'll go from there.
So, having clicked on your text watermarked image, I see that the script cannot find the font. Check the font path in Inmemoriam's config file and then check that the font physically exists in that path. We'll go from there.
38
34
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
/me is significantly annoyed today
34
34
Quote
Status: offline
Bloggins
Forum User
Newbie
Registered: 08/13/05
Posts: 11
Quote by machinari: I probably should have thought of this, but let's limit the call to pear to the script that will actually use it rather than having the path included every time any page is loaded. Take the pear include stuff from the functions.inc file and place it just above the require_once ('Image/Transform.php'); in the image-functions.inc file.
That will fix your problem, and it just might fix Trinity's problem also. As I was debugging this, I was finally able to reproduce Trinity's issue on my own box and fixed it by doing the above.
I've only been able to reproduce the issue on a windows box however, *nix just seems to always work.
That will fix your problem, and it just might fix Trinity's problem also. As I was debugging this, I was finally able to reproduce Trinity's issue on my own box and fixed it by doing the above.
I've only been able to reproduce the issue on a windows box however, *nix just seems to always work.
I had same issue as these two but running on Linux (core 4). I ran dos2unix on image-functions.inc after discovering it was dos file while about to add fix suggested to it
works like a charm now
38
34
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Quote by Bloggins:I ran dos2unix on image-functions.inc after discovering it was dos file while about to add fix suggested to it
works like a charm now
so what was the issue? the file format or the lack of that particular bit of code? works like a charm now
31
37
Quote
Status: offline
Bloggins
Forum User
Newbie
Registered: 08/13/05
Posts: 11
Quote by machinari:
Quote by Bloggins:I ran dos2unix on image-functions.inc after discovering it was dos file while about to add fix suggested to it
works like a charm now
so what was the issue? the file format or the lack of that particular bit of code?works like a charm now
Sorry, I never entered the fix, only dos2unix
34
32
Quote
Status: offline
Robin
Forum User
Full Member
Registered: 02/15/02
Posts: 725
OK here's the thing.
Random image in the block should show the alt description of an image, that is currently it's title. And this works under IE and in Firefox 1.0.7 it doesn't.
You need to add
to the function inm_getRandomMedia, located in functions.inc
Geeklog Polish Support Team
Random image in the block should show the alt description of an image, that is currently it's title. And this works under IE and in Firefox 1.0.7 it doesn't.
You need to add
Text Formatted Code
title="' . $alt . '"to the function inm_getRandomMedia, located in functions.inc
Geeklog Polish Support Team
32
33
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
what version are you using Robin? Both the alt and title attributes are set in the cvs version of inm_getRandomMedia().
42
37
Quote
Status: offline
Robin
Forum User
Full Member
Registered: 02/15/02
Posts: 725
Quote by machinari: what version are you using Robin?
0.9.0
I meant this bit from functions.inc
Text Formatted Code
$retval = '<a href="' . $INM_CONF['url_html'] . '/browse.php?mid=' . $A['mid'] . '"><img src="' . $src . '" alt="' . $alt . '" /></a>';Geeklog Polish Support Team
31
41
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Quote by Robin:
I meant this bit from functions.inc
yup, I've changed all that (since v0.9.0)... People wanted to have the block look this way and that way so I just put it all into a template file, which I should have done in the first place. The title attribute is there as well. I meant this bit from functions.inc
47
35
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Just so you are all informed, assuming you are still subscribed to this ridiculously long thread, both Inmemoriam 1.0.1 for GL 1.3.11, and 1.0.1 for GL 1.4 have been public for a short while and no issues have been reported to me..
See this list of features.
See this list of features.
33
27
Quote
Status: offline
trinity
Forum User
Regular Poster
Registered: 01/30/05
Posts: 80
would be nice if you could set an image for non image media items and select a image from those avalable for the catagory image and if no item is set foe a media item have a default image based on type
glFusion - Technology Fused with Style - www.gllabs.org
glFusion - Technology Fused with Style - www.gllabs.org
33
40
Quote
Status: Banned
machinari
Forum User
Full Member
Registered: 03/22/04
Posts: 1512
Quote by trinity: ... ... ... have a default image based on type
default images per media type shipped with the archive. check your public_html/gallery_name/images/ directory for video, code and audio jpg's.
33
34
Quote
Status: offline
KellyK
Forum User
Newbie
Registered: 12/07/05
Posts: 8
Hi my install works wonderfully.
until i try to FTP files.
I can not FTP into the /albums/top_level_album directory. I am sure this is becuase the album directory is owned by nobody:nobody
so i created a directory inside /albums/ and called it "test". I then added an created and album using inmemoriam and put "test" for the album ID.
I then uploaded all my files to the /albums/test directory.
After that i did a directory scan. nothing.
So i changed all the permissions & ownerships to what the other albums are and redid a scan. nothing.
How do i FTP files up??
What should the permissions & ownership be?
Thanks,
Kelly
until i try to FTP files.
I can not FTP into the /albums/top_level_album directory. I am sure this is becuase the album directory is owned by nobody:nobody
so i created a directory inside /albums/ and called it "test". I then added an created and album using inmemoriam and put "test" for the album ID.
I then uploaded all my files to the /albums/test directory.
After that i did a directory scan. nothing.
So i changed all the permissions & ownerships to what the other albums are and redid a scan. nothing.
How do i FTP files up??
What should the permissions & ownership be?
Thanks,
Kelly
43
39
Quote
Status: offline
KellyK
Forum User
Newbie
Registered: 12/07/05
Posts: 8
Quote by KellyK: Hi my install works wonderfully.
until i try to FTP files.
I can not FTP into the /albums/top_level_album directory. I am sure this is becuase the album directory is owned by nobody:nobody
so i created a directory inside /albums/ and called it "test". I then added an created and album using inmemoriam and put "test" for the album ID.
I then uploaded all my files to the /albums/test directory.
After that i did a directory scan. nothing.
So i changed all the permissions & ownerships to what the other albums are and redid a scan. nothing.
How do i FTP files up??
What should the permissions & ownership be?
Thanks,
Kelly
until i try to FTP files.
I can not FTP into the /albums/top_level_album directory. I am sure this is becuase the album directory is owned by nobody:nobody
so i created a directory inside /albums/ and called it "test". I then added an created and album using inmemoriam and put "test" for the album ID.
I then uploaded all my files to the /albums/test directory.
After that i did a directory scan. nothing.
So i changed all the permissions & ownerships to what the other albums are and redid a scan. nothing.
How do i FTP files up??
What should the permissions & ownership be?
Thanks,
Kelly
---- This was an email from Alford ----
You should not add any images to the albums/ directory itself as this is just an organizing container for all created albums. Your usage document should make this clear.
Beyond that, this seems to be clearly a permissions issue.
Things to consider:
First: ensure that your albums directory has its permissions set according to the install instructions.
Second: having created a "test" album via FTP, and then creating an album using "test" as the ID should have returned an "album already exists" error due to the fact that an album's ID corresponds to its directory name on the server.
Third: It seems that in some cases, for reasons to boring to get into, an album directory as well as any items contained in that directory need to have permissions adjusted when that directory and/or media belonging to that directory has been created via FTP. Some servers are setup in such a way that anything accomplished via FTP is not readable via PHP and, less often, vice versa.
One other unlikely possibility: ensure that your $INM_CONF['path_albums'] is equal to that path wherein you are placing your media.
36
36
Quote
Page navigation
All times are EST. The time is now 06:55 am.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content