Author |
Topic |
jeffery
Junior Member
USA
176 Posts |
Posted - 12 November 2002 : 14:08:29
|
Great mod! However I've found a bug at least in my photoalbum which relates to photos with filename containing an apostrophe (') the server somehow renames the file and adds an extra apostrophy but the link in the forum still points to the original filename. I haven't been able to find any mention of this problem here at the snitz forums. Any ideas out there? |
www.thomasforum.com |
Edited by - jeffery on 12 November 2002 17:32:16 |
|
|
webbee
Junior Member
100 Posts |
Posted - 12 November 2002 : 15:46:02
|
quote: Originally posted by bbd786
hi brother im confused now anyway when i try to upload from troublshoter it gives me this message exact path to file: /uploads Write to file failed.No Errors detected, If you are still haveing problems please send me an email to Wesley Brown File has been saved in file system.
View this file:
squirrel-beer.jpg
but when i click on file to view i got message page cannot diplayed and address in address bar is this http://home.1asphost.com/uploads%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20/squirrel-beer.jpg y all these 20% and one more thing do u really think so i can upload pics from my hard drive to my free hosting site folder "uploads" through ur photo album ..coz i have to sighn in to my free hosting site to see my folders and upload files into them..thanks for reply..
I get this to when I try to run the test section of the photo mod. I can upload files fine but the thumbnailer program I guess is giving me problems. |
garnold@teamfatbastard.net
|
|
|
burthold
Junior Member
USA
426 Posts |
Posted - 12 November 2002 : 17:00:26
|
In the troubleshooter its an unhandled spaces error that gives all the %20 If you can't upload files 99.99% of the time its permissions period. I haven't tested with ' in the file names. I'll give it a go.
Wes |
|
|
rabufo
Junior Member
Italy
328 Posts |
Posted - 13 November 2002 : 04:27:18
|
quote: Originally posted by DavidRhodes
Made a little mod so users can preview the image prior to uploading, shows the image under the submit button on the upload page. Code is below if anyone wants it.
Used on photo_album_upload.asp around line 221, need to replace similar section of code with
David, can you please write which lines (from/to) should be replaced from your code? I'm doing something wrong, but dunno what....
Thank you very much..... |
|
|
webbee
Junior Member
100 Posts |
Posted - 13 November 2002 : 10:15:43
|
I'm having problems getting the nconvert program to run on my system. I have it in a dir that has full control and I keep getting a error that I do not have rights to run the app. Anyone see this? thx |
garnold@teamfatbastard.net
|
|
|
alex042
Average Member
USA
631 Posts |
Posted - 13 November 2002 : 13:47:47
|
quote: I'm having problems getting the nconvert program to run on my system. I have it in a dir that has full control and I keep getting a error that I do not have rights to run the app.
You having rights and the server having rights to run it may be two different things. I'm not sure, but this app may require that the server run the app.
|
|
|
webbee
Junior Member
100 Posts |
Posted - 13 November 2002 : 23:01:49
|
quote: Originally posted by alex042
quote: I'm having problems getting the nconvert program to run on my system. I have it in a dir that has full control and I keep getting a error that I do not have rights to run the app.
You having rights and the server having rights to run it may be two different things. I'm not sure, but this app may require that the server run the app.
All rights are correct. I have even run the nconvert program from another asp page and it runs fine. |
garnold@teamfatbastard.net
|
|
|
jeffery
Junior Member
USA
176 Posts |
Posted - 16 November 2002 : 00:22:51
|
Wes, I have been having some real problems with the photo album. Only the admin can edit any of the photos uploaded. There are also some security problems where I have been able to edit other peoples pictues logged in as a normal user by guessing the ID of the photo.
For example: /photo_album_detail.asp?sqled=28&mname=admin
Is that normal?? |
www.thomasforum.com |
|
|
BorisVM
Starting Member
34 Posts |
Posted - 18 November 2002 : 10:57:51
|
quote: Originally posted by webbee
quote: Originally posted by alex042
quote: I'm having problems getting the nconvert program to run on my system. I have it in a dir that has full control and I keep getting a error that I do not have rights to run the app.
You having rights and the server having rights to run it may be two different things. I'm not sure, but this app may require that the server run the app.
All rights are correct. I have even run the nconvert program from another asp page and it runs fine.
Try hardcoding the absolute path to nconvert in ToFileSystem.asp around line 322.It should like this: Executor.Application = "e:\thumbnails\nconvert.exe" (change this to reflect your setting)
It works like a charm. With the relative path from the database, it does not work.
Hope this helps. |
Virtual Macedonia Forums |
|
|
Mikael
Starting Member
36 Posts |
Posted - 20 November 2002 : 14:32:54
|
The files
photo_album_detail.asp photo_album_edit.asp photo_album_upload.asp
does not check if the user requesting to edit/upload the album is in fact the owner of the album or the admin. Any user logged on can by guessing the album sqldtl=id, see below, access and edit any photo album.
photo_album_edit.asp?sqldtl=1
Could someone please suggest a code that verify that the user requesting to edit an album is either the owner of the album or the admin.
Could be more files with this problem, I don't know yet.
Help appreciated |
|
|
andretti
New Member
70 Posts |
Posted - 21 November 2002 : 13:57:15
|
This mod is awesome and it works great!
Only problem I can see is that the only ones that have access to edit or delete any photos they have uploaded are moderators or admins.
General users can upload just fine but when they click to edit any photo or click on the visable button it brings the user right back to the list of user photo albums.
Am I the only one getting this bug?
Thanks David |
|
|
whopperstopper
Starting Member
15 Posts |
Posted - 26 November 2002 : 16:59:00
|
Hey David, I noticed that same thing, but I have not been able to delete any photos or move any pics into other albums at all without going in under admin and deleting the user and readding them fresh. The regular users or the moderators dont have deleting or moving capabilities. |
Surf-Masters, Your online source for Surf Fishing the Gulf Coast! |
Edited by - whopperstopper on 26 November 2002 17:11:53 |
|
|
Jmoore
Starting Member
4 Posts |
Posted - 26 November 2002 : 20:49:50
|
Ok I got the album mod installed to the point where I am going to create album accounts. I select my admin account and click create and it just hangs. Same thing if I click create account for all users. Any Ideas?
Thanks
John |
|
|
Jmoore
Starting Member
4 Posts |
Posted - 27 November 2002 : 11:49:45
|
Never mind, apperently it is a problem with IIS on one of my puters. I unininstalled IIS and reinstalled it. I removed Snitz and the Photo Album mod and reinstalled that and it still did not work. I installed it all on a different machine and it works perfect.
John |
|
|
Jmoore
Starting Member
4 Posts |
Posted - 27 November 2002 : 13:02:48
|
OK the mod seems to work great....Thank You.
Is their any way to have an album account automaticly created when a user registers for the forums?
That way I do not have to manually create accounts for each user.
Thanks Again
John
|
|
|
Topic |
|