Page 1 of 1
Nuffload/Album error

Posted:
Thu Feb 01, 2007 2:47 pm
Author: atomhead
Your phpBB Version: IM141
phpBB Type: Integramod 141
MODs: No
Your knowledge: Beginner
Board URL: http://naiad.darkstarllc.com/~discordi/forums/ PHP Version: MySQL Version: What was done before the problem appeared?Tried uploading a pic What was done to try to solve the problem?Disabled nuffload in the ACP, checked CHMOD permissions De.scription and MessageYou don't have permission to access /~discordi/forums/cgi-bin/nuffload.cgi on this server.
Any ideas? Disabling it and it's still trying to use it for some reason.
Tried switching to default template to check if it was a tpl issue.
Re: Nuffload/Album error

Posted:
Thu Feb 01, 2007 3:29 pm
Author: Teelk
Try removing the cgi-bin folder altogether.

Posted:
Thu Feb 01, 2007 5:16 pm
Author: richiebgood
I have a similar problem.
If you remove the cgi-bin folder, what do you put in the configuration where it asks you for the address of your cgi-bin.
Re: Nuffload/Album error

Posted:
Sat Feb 03, 2007 5:04 am
Author: Teelk
I assumed atomhead didn't want to use it, that's why I gave him that suggestion.
Most servers will have a cgi-bin folder already made in your web root. Try placing the contents of the cgi-bin folder(forum root) into the one in your web root. Make sure that cgi-bin/ and cgi-bin/tmp/ are CHMODed to 777 and that cgi-bin/nuffload.cgi is CHMODed to 666. Go to ACP>Photo Album>Configuration, click the upload tab. Now, the "Path from phpBB root to cgi-bin" will be different depending on whether your forum is in a subfolder or not. If it is in a subfolder, you can leave it as is(should be ./cgi-bin/), if your forum root isn't in a subfolder it'll be cgi-bin/
I don't actually like this feature, and not because it's not a good one. But, because it's coded using perl and I don't know perl. Also, many servers don't have perl installed so it won't work at all.

Posted:
Sat Feb 03, 2007 7:55 am
Author: atomhead
Ok, the install doc doesn't say to enable cgi-bin, just /tmp/
I no longer get the cgi bin error, now it says
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, <a>webmaster@discordiaguild.org</a> and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
So I assume the server doesn't have PERL or something.
Uploading a pic when nuffload is disabled is working, the page is blank after upload (no redirect) but it may be a template issue.
Re: Nuffload/Album error

Posted:
Sun Feb 04, 2007 11:21 am
Author: atomhead
Just confirmed with the webhost that it has perl.
I'm a bit confused by your explanation of root and path.. my forums are at discordiaguild.org/forums.. the cgi bin isd in discordiaguild.org/cgi-bin
Regardless I changed the path to cgi-bin/ and ./cgi-bin/ and both times it is pointing to the file I have in forums/cgi-bin , not root/cgi-bin
I don't know how to get it to point to the directory in the site root, if there is indeed a problem with it being in forums/cgi-bin
Re: Nuffload/Album error

Posted:
Sun Feb 04, 2007 12:08 pm
Author: Teelk
If your forum is in a subfolder the setting should be ./cgi-bin/
Try these permissions...
CHMOD 777 cgi-bin/tmp/
CHMOD 755 cgi-bin/nuffload.cgi

Posted:
Sun Feb 04, 2007 3:27 pm
Author: atomhead
"Teelk" wrote:If your forum is in a subfolder the setting should be ./cgi-bin/
Try these permissions...
CHMOD 777 cgi-bin/tmp/
CHMOD 755 cgi-bin/nuffload.cgi
Tried that, no luck.
Even with ./cgi-bin/ set it's pointing to:
http://discordiaguild.org/forums/cgi-bin/nuffload.cgi?psid=a60a9358f3ab34d47e7d8ca0210cdca6&cat_id=4&redirect=http://discordiaguild.org/forums/album_upload.php
this seems wrong.. since it doesn't exist there based on the change requested. And if when it is there, it's giving that message. Assuming because the cgi bin stuff only works in the directory setup by the host, but that's a stab in the dark and I have no idea how that stuff works.
Re: Nuffload/Album error

Posted:
Sun Feb 04, 2007 5:06 pm
Author: Teelk
Yeah, it'll only work with the cgi-bin folder your host has set up. Come to think of it, that setting should be ../cgi-bin/ with two periods.
Hmmm... guess there's a mistake in the lang key for the album mod. It says in the configuration as an example that ./cgi-bin is the correct setting if your forum is in a sub-folder, but that's incorrect.
Re: Nuffload/Album error

Posted:
Tue Feb 06, 2007 8:10 am
Author: atomhead
Ok, I made that change and it's pointing to the right cgi-bin now. However, after setting 777 on the directories and 755 on the nuffload.cgi, it's still giving me the error.
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, <a>webmaster@discordiaguild.org</a> and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
The webhost is saying "it is probably a permissions error but I can't help you". *sigh*

Posted:
Tue Feb 06, 2007 8:18 am
Author: atomhead
Update: Enabling Nuffload, but disabling Perl Uploader works. I can upload the file, and it redirects properly. I set permissions to 666 on the .cgi and 777 on the directories.