http://translate.google.com/translate?s … 3Fid%3D184

I feel sheepish..

I rebooted the server and the attachment mod now works awesome..


Great job frank smile

I double checked that I had made the appropriate changes.. but yeah they are all correct.. I even tried your files that worked for you, just copied them over and I got the same result.. Is it something w/ the DB or is the folder that im choosing to upload to? I just put the .htaccess file in the root as well as index.html.

I noticed there are 2 folders in that directory, with random names "1918c6b37c601f6bdbcf91fc784ac134" and they each have the same files in it as well (.htaccess and index.html)

anythoughts???

Frank H wrote:

check so that the post and edit scritps has the correct form encoding (easy to forget adding those steps, and sounds like a classic (I've done it a few times wink))

Edit: if you check the source for the post/edit page, the form should have this enctype

<form id="post" method="post" enctype="multipart/form-data"

Hrmm.. no luck I checked the form id's and they were all correct, I guess I will need to go thru each file and make sure I did everything right..

Now I am using IIS, and the directory should have sufficent privleges, but I remember last time we ran into an issue w/ IIS (only admins could upload files) but people were at least able to upload things.

Hrmm attachment mod seemed to go ok.. I have set rules and everything but when uploading a file it says redirecting.. then comes back to the post and the file is not there, attach plugin also shows no files..

any thoughts??

thank god.. haha

will try it later !

hey frank, just out of curiousity.. hows it coming?

33

(52 replies, posted in PunBB 1.2 modifications, plugins and integrations)

awesome, that fixed it and im able to delete items now...

it should be fairly simple to add the ability for mp3's to be uploaded shouldn't it??

I just added

  $allowed = array(".mp3",".txt",".gif",".jpg",".jpeg",".png");

is there anything else I need to add?

34

(52 replies, posted in PunBB 1.2 modifications, plugins and integrations)

Is there a way to modify this to allow .xxx whatever extension you want? say a .mp3??

35

(1 replies, posted in PunBB 1.2 show off)

I didn't see it before but I think it looks great smile

Good job.

36

(52 replies, posted in PunBB 1.2 modifications, plugins and integrations)

any ideas about the problems with deleting files?

37

(52 replies, posted in PunBB 1.2 modifications, plugins and integrations)

YaY!

Thanks a ton hcblue that fixed it smile


Now my only problem is.. I Cannot delete things, It says its removed but when I go back its still there

38

(52 replies, posted in PunBB 1.2 modifications, plugins and integrations)

yeah when I uploaded common.php.. my forum would no longer load, It would only load a white page.. I had to replace it with the original... so somethings mucked up there.

Any advice on the could not copy file to server? is it a permissions thing?

oh yeah and each time I do upload it will list the file I uploaded @ 0K..
I try to delete it but it stays there, so it sounds like its not removing the entry from the db as well..

39

(52 replies, posted in PunBB 1.2 modifications, plugins and integrations)

Well diff error message now:

An error was encountered
Error: Could not copy file to server.

root/uploaded directory should have proper access... sad dunno whats going on

40

(52 replies, posted in PunBB 1.2 modifications, plugins and integrations)

erissvia.. thanks that at least allowed me to view the page.. but I am also getting the same error

An error was encountered
Error: No file selected for upload.

41

(52 replies, posted in PunBB 1.2 modifications, plugins and integrations)

hrm..

The constant PUN_ROOT must be defined and point to a valid PunBB installation root directory.

$pun_root is defined as

$pun_root = './';

and it is in the root..


I get this when i launch uploads.php.. ? anyone know what im doing wrong?

Nice.. that is a cool script..

for some reason I don't get any thumbnails.. everything else works fine..

Edit
Oh Wait.. I haven't installed gd library yet .. I assume that would be the problem since it resizes them

Yeah.. its pointed to mysite/images/uploads.. and I know the permissions are working correctly because I used an upload script I found on the net and was able to upload a pic.. it was kinda basic and crappy tho.. didn't continue to use it.

But does anyone know what the equiv of chmod 7777 on a windows box would be? I just granted anonymous access and Gave permssions to the IWAM and the IUSR accounts for that directory..

Hrm didn't work for me.. I added what you put gary and changed the $folderroot to the correct location. When I hit upload it just comes back.. doesn't report any errors.. and the directory stays blank.

I did also try turning on register globals.. to no success..

Frank H wrote:

I think it's working 100% on 1.2 now

Feel free to post the 100% working mod wink If you want..

Im just kidding but I am very anxious to try it out smile

PM Works awesome.. thanks connorhd

Yes.. I think im not the only one who is waiting very patiently on an upload mod smile

Im not sure how hard it is to add, but I think it would be awesome if once the file was uploaded if it gave the link for them to copy and paste w/ the [img] tags.

Keep up the good work.

could I see your upload.php widell?

Hrm I can't seem to get it to work .. I keep getting "no file selected" .. does the directory i specified not have the proper rights? Im an IIS User and i granted access for iwam and iusr.. and i change the variable for the url to the target directory that im going to.. anything else I need to do?

Anyone tested it in 1.2?