Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 53 guests, and 184 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Bad Frog
Bad Frog
Coast of Maine
Posts: 749
Joined: May 2008
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 12
Ruben 5
M4TT 4
isaac 3
Morgan 2
Tijn 1
Latest Photos
Previous Thread
Next Thread
Print Thread
horrible error! users can't change basic profiles #36593
07/23/02 07:28 AM
07/23/02 07:28 AM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


When my users try and change their avatar picture they get these errors?

Warning: getimagesize: Read error! in D:\Inetpub\wwwroot\wwwthreads\changebasic.php on line 121

Warning: Unable to create 'D:\inetpub\wwwroot\wwwthreads\imagesupload/4.jpg': Permission denied in D:\Inetpub\wwwroot\wwwthreads\changebasic.php on line 139

I have checked to see if the directors are wiretable and they are ok.

line 121 in changebasic.php is this:
<pre>$imagehw = GetImageSize($HTTP_POST_FILES['userfile']['tmp_name']);</pre>

and line 139 is:
<pre> copy($HTTP_POST_FILES['userfile']['tmp_name'], "{$config['avatars']}/$Picturefile");</pre>

Anyone know what's going on?

Thanks <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

Laura

The Webmistress

Re: horrible error! users can't change basic profiles #36594
07/23/02 09:43 AM
07/23/02 09:43 AM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


It sounds like maybe your temporary directory isn't writeable perhaps. There is a temporary directory specified in php.ini that needs to be writeable as well for uploads to work. Not sure if you've checked that one.

-------------------
Rick Baker
UBBThreads developer

Re: horrible error! users can't change basic profiles #36595
07/23/02 09:43 AM
07/23/02 09:43 AM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


Based on this portion of the error:
'D:\inetpub\wwwroot\wwwthreads\imagesupload/4.jpg'

I suspect that you have the absolute path to your Uploads directory set incorrectly - change the slashes around so that they look like this:

'D:/inetpub/wwwroot/wwwthreads/imagesupload/4.jpg'

Also check to make sure that the folder in question is writeable by the world <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

Regards,

Brett Harris
Infopop Corporation

Re: horrible error! users can't change basic profiles #36596
07/23/02 12:08 PM
07/23/02 12:08 PM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


Thanks <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" /> I'll check these out and let you know how I get on.

The Webmistress

Re: horrible error! users can't change basic profiles #36597
07/24/02 04:28 AM
07/24/02 04:28 AM

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A


Thanks! It was the latter post. I didn't quite have the folders writeable.

<img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

The Webmistress


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
Member being directed to "stopforumspam?"
by Lisanne. 07/14/18 10:27 AM
7.6.1.1 - Broken ReCaptcha (Not A Bug)
by M4TT. 07/01/18 06:02 PM
Control Panel / Transactions Username
by Morgan. 06/20/18 05:38 AM
random 500 server errors on post
by Bad Frog. 05/31/18 09:34 AM
Forum Statistics
Forums36
Topics35,126
Posts191,358
Members12,092
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2
(Preview build 20180524)