Nuffload/Album error

Support for IntegraMOD 141

Moderator: Integra Moderator

Nuffload/Album error

PostAuthor: atomhead » Thu Feb 01, 2007 2:47 pm

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 Message

You 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.
Last edited by atomhead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

atomhead
Members
Members
 
Posts: 90
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00

Re: Nuffload/Album error

PostAuthor: Teelk » Thu Feb 01, 2007 3:29 pm

Try removing the cgi-bin folder altogether.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: richiebgood » Thu Feb 01, 2007 5:16 pm

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.
Last edited by richiebgood on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

richiebgood
Sr Integra Member
Sr Integra Member
 
Posts: 329
Likes: 0 post
Liked in: 0 post
Joined: Tue Aug 08, 2006 1:01 am
Cash on hand: 0.00
Location: Ireland

Re: Nuffload/Album error

PostAuthor: Teelk » Sat Feb 03, 2007 5:04 am

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.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: atomhead » Sat Feb 03, 2007 7:55 am

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.
Last edited by atomhead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

atomhead
Members
Members
 
Posts: 90
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00

Re: Nuffload/Album error

PostAuthor: atomhead » Sun Feb 04, 2007 11:21 am

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
Last edited by atomhead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

atomhead
Members
Members
 
Posts: 90
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00

Re: Nuffload/Album error

PostAuthor: Teelk » Sun Feb 04, 2007 12:08 pm

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
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: atomhead » Sun Feb 04, 2007 3:27 pm

"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.
Last edited by atomhead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

atomhead
Members
Members
 
Posts: 90
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00

Re: Nuffload/Album error

PostAuthor: Teelk » Sun Feb 04, 2007 5:06 pm

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.
Last edited by Teelk on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 6:25 pm
Cash on hand: 0.00
Location: Canada

Re: Nuffload/Album error

PostAuthor: atomhead » Tue Feb 06, 2007 8:10 am

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*
Last edited by atomhead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

atomhead
Members
Members
 
Posts: 90
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00

PostAuthor: atomhead » Tue Feb 06, 2007 8:18 am

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.
Last edited by atomhead on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

atomhead
Members
Members
 
Posts: 90
Likes: 0 post
Liked in: 0 post
Joined: Sat Apr 08, 2006 6:25 pm
Cash on hand: 0.00


Return to IntegraMOD 141

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]