Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
2 registered members (JAISP, Geoff), 62 guests, and 404 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Morgan
Morgan
Sweden
Posts: 548
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
isaac 56
Gizmo 43
Geoff 35
Morgan 30
ECNet 17
Ruben 14
Mark S 11
JAISP 10
Bert 8
Latest Photos
Chinese Buddhist temple.
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Previous Thread
Next Thread
Print Thread
horrible error! users can't change basic profiles #36593
07/23/02 06:28 AM
07/23/02 06: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 08:43 AM
07/23/02 08: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 08:43 AM
07/23/02 08: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 11:08 AM
07/23/02 11:08 AM

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 03:28 AM
07/24/02 03: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
Moderators Cant See Forums
by peter gariepy. 01/22/18 10:26 PM
Moderator 7.6.1.1 - Adding Issue?
by Geoff. 01/22/18 03:34 PM
Active Links - reduce the length?
by peter gariepy. 01/22/18 12:53 AM
Upgrading from 7.6.0 to 7.6.1
by Baldeagle. 01/20/18 01:07 PM
Odd behavior with marking forums as read
by Baldeagle. 01/20/18 12:51 PM
Forum Statistics
Forums36
Topics35,052
Posts190,800
Members12,052
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1.1