PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old February 7th, 2005, 11:40 AM   #1 (permalink)
Member
 
Join Date: Jun 2004
Posts: 66
Problem uploading and problem with .htaccess protection

When a user tries to upload after upgrading, they get this message:

Quote:
An error occurred while attempting to create a folder for your files. If the problem persists, please notify the webmaster
I figured that either the path was wrong or something happened to the CHMOD again, but I checked them both and everything is entered correctly, I even resaved the settings in AdminCP.

Now about the .htaccess... I hadn't had a problem with it, but a user told me he saw red X's for all of the pictures. I checked on IE right after he said that and all of them were showing just like he said they were, but it was working on FireFox and on IE earlier, so I have no idea what's going on there. I disabled it for the time being until I or somebody else figures out what's going on. ;x
Shon is offline   Reply With Quote
Old February 7th, 2005, 11:47 AM   #2 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Re: Problem uploading and problem with .htaccess protection

Hmm. I tried turning on that option so I could see what the .htaccess looked like, but it didn't create it for some reason.

Post the contents of your .htaccess.


(I use a global .htaccess to protect all the images on my whole server, which is why I'm not using that option in the Gallery.)
ConqSoft is offline   Reply With Quote
Old February 7th, 2005, 12:03 PM   #3 (permalink)
Member
 
Join Date: Jun 2004
Posts: 66
Re: Problem uploading and problem with .htaccess protection

I don't know anything about .htaccess files... but here is what it made in /gallery/files

Quote:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?www.(/)?.*$ [NC]
RewriteRule .*\.(avi|bmp|gif|jpeg|jpg|midi|mp3|mpeg|mpg|png|ram|wav|wma|wmv)$ [F,NC]
Shon is offline   Reply With Quote
Old February 7th, 2005, 12:04 PM   #4 (permalink)
Member
 
Join Date: Jun 2004
Posts: 66
Re: Problem uploading and problem with .htaccess protection

Right after I posted that... I figured out the problem with that, I didn't even notice it before... it works with the www in front of the domain name, but without it, it doesn't allow access, anyway to fix that?
Shon is offline   Reply With Quote
Old February 7th, 2005, 12:06 PM   #5 (permalink)
Ultimate Member
Verified Customer
 
ConqSoft's Avatar
 
Join Date: Nov 2003
Location: Raleigh, NC
Posts: 1,413
Re: Problem uploading and problem with .htaccess protection

I don't know a lot about them either. I thought you had to explicitly list the domain names that are allowed to access the images. Maybe someone who knows more about it can give their input.

For reference, here's mine:

Code:
Content visible to verified customers only.
(No space in the |wa v|)


I have mine set to show them another image in place of the one they are trying to link to. (the leech.gif path)

Example:
Code:
Content visible to verified customers only.
ConqSoft is offline   Reply With Quote
Old February 7th, 2005, 12:19 PM   #6 (permalink)
Member
 
Join Date: Jun 2004
Posts: 66
Re: Problem uploading and problem with .htaccess protection

I could probably figure out how to fix it manually, but with it enabled, I can't edit the .htaccess file for some reason. I could just disable it and make the file my self and play with it, but hopefully there is a better solution than that. We shall see though, thanks for your help ConqSoft, I wouldn't have figured out that the absence of the www was the reason for the problem if you wouldn't have told me to post the contents of the file.
Shon is offline   Reply With Quote
Old February 7th, 2005, 12:36 PM   #7 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,400
Re: Problem uploading and problem with .htaccess protection

I'm still learning the finer points of htaccess myself but here's a nice site to check out to see if your hotlinking prevention is working.

http://altlab.com/htaccess_tutorial.html

Don't forget that if you've viewed the image that you're testing prior to testing it at the above site then make sure that you refresh the test page or clear your cache prior to testing.
KW802 is offline   Reply With Quote
Old February 7th, 2005, 01:49 PM   #8 (permalink)
Member
 
Join Date: Jun 2004
Posts: 66
Re: Problem uploading and problem with .htaccess protection

Thanks man, it's working as designed, it's just not designed to allow them to work without the www.

I'm more worried about the users not being able to upload images ;x
Shon is offline   Reply With Quote
Old February 7th, 2005, 01:52 PM   #9 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,400
Re: Problem uploading and problem with .htaccess protection

Quote:
Originally Posted by Shon
.... I'm more worried about the users not being able to upload images ;x
Did you verify that the folder was CHMOD'ed to 777 and that your server is not running with SAFEMODE turned on?
KW802 is offline   Reply With Quote
Old February 7th, 2005, 02:37 PM   #10 (permalink)
Member
 
Join Date: Jun 2004
Posts: 66
Re: Problem uploading and problem with .htaccess protection

Yes, and I'm pretty sure it's not, why would it be? ;x

I don't have a dedicated server yet, so I don't much about that.
Shon is offline   Reply With Quote
Old February 7th, 2005, 02:44 PM   #11 (permalink)
Registered User
Verified Customer
 
KW802's Avatar
 
Join Date: Nov 2005
Posts: 1,400
Re: Problem uploading and problem with .htaccess protection

Quote:
Originally Posted by Shon
Yes, and I'm pretty sure it's not, why would it be? ;x

I don't have a dedicated server yet, so I don't much about that.
Well, safemode is usually set by the hosting company on shared servers, not the client so it'd be out of your control.

If you want to submit a support ticket I'll try to take a look this afternoon.
KW802 is offline   Reply With Quote
Old February 7th, 2005, 03:15 PM   #12 (permalink)
Brian
Guest
 
Posts: n/a
Re: Problem uploading and problem with .htaccess protection

Are you still getting the error when trying to upload? Also, do you have your 'Home URL' option set in your main vB options? The script uses that option to find your domain name for the .htaccess file, but doesn't have your domain in there. If you're still having problems uploading and do have your Home URL option set please submit a support ticket so I can have a look.
  Reply With Quote
Old February 7th, 2005, 03:53 PM   #13 (permalink)
Member
 
Join Date: Jun 2004
Posts: 66
Re: Problem uploading and problem with .htaccess protection

I have the "Homepage URL" set under Site Name / URL / Contact Details in vBulletin Options, if that's what you mean, and yes we're still having the uploading problem.

Support ticket submitted
Shon is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Uploading problem Misuzu Installs and Upgrade - vBulletin 3.0.X 4 May 31st, 2005 08:58 AM
Uploading Problem thevenue Photopost Pro Installation & Upgrades 9 March 19th, 2005 08:41 AM
problem uploading baha0 Photopost Pro Installation & Upgrades 0 January 2nd, 2005 12:29 PM


All times are GMT -5. The time now is 05:06 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0