Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 339
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 346
Total: 346

Author Topic: Image upload not working  (Read 15792 times)

0 Members and 1 Guest are viewing this topic.

Offline PyroTech03

  • Member
  • *
  • Posts: 16
    • View Profile
Image upload not working
« on: February 18, 2014, 11:13:31 am »
I am running SMFStore v2.5.1.  I am attempting to add an item and upload the image for it.  It shows the file size with options to edit/delete/make primary.  But no image ever shows.

Where do I start fixing?  And what do ya need to know? 

Running on a windows server FYI

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Image upload not working
« Reply #1 on: February 18, 2014, 11:18:08 am »
First check your Store Path and Store Url are correct under Store Settings

Second check that your store folder is writable in the root directory of your forum.


Last check that you have GD installed  in php to create thumbnails
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline PyroTech03

  • Member
  • *
  • Posts: 16
    • View Profile
Re: Image upload not working
« Reply #2 on: February 18, 2014, 11:32:38 am »
Ok, here's what I got....

Store path: C:\Inetpub\vhosts\www.dworebirth.com\httpdocs\store
Store URL: http://www.dworebirth.com/store/

as far as I can tell, it's writable, as I'm not receiving any error's.  I'm new to how windows webserver and PLESK work so don't really know how to do chmod type actions within it (i know they call it something else)

Here's a phpinfo link, which from what I can tell does show I have GD installed.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Image upload not working
« Reply #3 on: February 18, 2014, 11:43:19 am »
Path should be  C:\Inetpub\vhosts\www.dworebirth.com\httpdocs\store\
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline PyroTech03

  • Member
  • *
  • Posts: 16
    • View Profile
Re: Image upload not working
« Reply #4 on: February 18, 2014, 11:46:31 am »
same result...

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Image upload not working
« Reply #5 on: February 18, 2014, 12:04:56 pm »
Are there files saved in the store path?


I do see GD installed so that is good.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline PyroTech03

  • Member
  • *
  • Posts: 16
    • View Profile
Re: Image upload not working
« Reply #6 on: February 18, 2014, 12:57:15 pm »
No, nothing seems to be getting saved to the store path (nothing in store root folder or images)

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Image upload not working
« Reply #7 on: February 18, 2014, 12:58:22 pm »
Ok then that maybe a permission issue.  Check your forum error log as well for any related errors.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline PyroTech03

  • Member
  • *
  • Posts: 16
    • View Profile
Re: Image upload not working
« Reply #8 on: February 18, 2014, 01:01:38 pm »
Ok, cleared out the errror logs, and attempted to add a photo.  In that time got 4 errors:

Code: [Select]
Apply Filter: Only show the error messages of this IP address 70.195.5.120 
  Reverse chronological order of list Today at 12:59:09 pm
Apply Filter: Only show the error messages of this session 73fb97af8c6880f57e65efed5c315f34
Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URL
http://www.dworebirth.com:/index.php?action=store&sa=addpic
Apply Filter: Only show the errors with the same message
2: rename(C:\Inetpub\vhosts\www.dworebirth.com\httpdocs\store\1_18_02_14_12_59_09.jpeg_thumb,C:\Inetpub\vhosts\www.dworebirth.com\httpdocs\store\thumb_1_18_02_14_12_59_09.jpeg) [<a href='function.rename'>function.rename</a>]: No such file or directory
Apply Filter: Only show the errors from this file
File: C:/Inetpub/vhosts/www.dworebirth.com/httpdocs/Sources/Store2.php
Line: 3000

Code: [Select]
Apply Filter: Only show the error messages of this member PyroTech03
Apply Filter: Only show the error messages of this IP address 70.195.5.120 
  Reverse chronological order of list Today at 12:59:09 pm
Apply Filter: Only show the error messages of this session 73fb97af8c6880f57e65efed5c315f34
Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URL
http://www.dworebirth.com:/index.php?action=store&amp;sa=addpic
Apply Filter: Only show the errors with the same message
2: fopen(C:\Inetpub\vhosts\www.dworebirth.com\httpdocs\store\1_18_02_14_12_59_09.jpeg_thumb.tmp) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
Apply Filter: Only show the errors from this file
File: C:/Inetpub/vhosts/www.dworebirth.com/httpdocs/Sources/Subs-Graphics.php
Line: 331

Code: [Select]
Apply Filter: Only show the error messages of this member PyroTech03
Apply Filter: Only show the error messages of this IP address 70.195.5.120 
  Reverse chronological order of list Today at 12:59:09 pm
Apply Filter: Only show the error messages of this session 73fb97af8c6880f57e65efed5c315f34
Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URL
http://www.dworebirth.com:/index.php?action=store&amp;sa=addpic
Apply Filter: Only show the errors with the same message
2: move_uploaded_file() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: Unable to move 'C:\Windows\Temp\php5794.tmp' to 'C:\Inetpub\vhosts\www.dworebirth.com\httpdocs\store\1_18_02_14_12_59_09.jpeg'
Apply Filter: Only show the errors from this file
File: C:/Inetpub/vhosts/www.dworebirth.com/httpdocs/Sources/Store2.php
Line: 2995

Code: [Select]
Apply Filter: Only show the error messages of this member PyroTech03
Apply Filter: Only show the error messages of this IP address 70.195.5.120 
  Reverse chronological order of list Today at 12:59:09 pm
Apply Filter: Only show the error messages of this session 73fb97af8c6880f57e65efed5c315f34
Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URL
http://www.dworebirth.com:/index.php?action=store&amp;sa=addpic
Apply Filter: Only show the errors with the same message
2: move_uploaded_file(C:\Inetpub\vhosts\www.dworebirth.com\httpdocs\store\1_18_02_14_12_59_09.jpeg) [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: failed to open stream: Permission denied
Apply Filter: Only show the errors from this file
File: C:/Inetpub/vhosts/www.dworebirth.com/httpdocs/Sources/Store2.php
Line: 2995

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Image upload not working
« Reply #9 on: February 18, 2014, 01:03:50 pm »
Looks like a file permision error

Quote
2: move_uploaded_file() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: Unable to move 'C:\Windows\Temp\php5794.tmp' to 'C:\Inetpub\vhosts\www.dworebirth.com\httpdocs\store\1_18_02_14_12_59_09.jpeg'
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline PyroTech03

  • Member
  • *
  • Posts: 16
    • View Profile
Re: Image upload not working
« Reply #10 on: February 18, 2014, 01:05:35 pm »
Ok, so any guide on changing permissions on windows?  What user/whatever do I need to give what rights?  As I said, I'm clueless to this.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Image upload not working
« Reply #11 on: February 18, 2014, 01:09:40 pm »
Well if it was IIS you would get the IUSER_MACHINENAME permission.

Apache. I create my own apache user on windows and do it that way.  I would copy the same permissions you have for attachments folder to the store folder.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline PyroTech03

  • Member
  • *
  • Posts: 16
    • View Profile
Re: Image upload not working
« Reply #12 on: February 18, 2014, 01:13:07 pm »
I have:

Quote
Administrators - full allow permisions
SYSTEM - full allow perms
Plesk IIS Anonymous Account (IUSR_xxx) - List folder contents allow
IIS Filesharing pool identity account (IWAM_FILESHARING) - nothing allowed/denied
Default Plesk application pool user (IWAM_plesk(default)) - list folder contents allowed
Plesk Domain User (xxx) - full allow permisions

xxx = my useraccount info

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16452
    • View Profile
Re: Image upload not working
« Reply #13 on: February 18, 2014, 01:20:50 pm »
I would give all the plesk permissions at least.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline PyroTech03

  • Member
  • *
  • Posts: 16
    • View Profile
Re: Image upload not working
« Reply #14 on: February 18, 2014, 01:25:36 pm »
that got it!

 

Related Topics

  Subject / Started by Replies Last post
2 Replies
6754 Views
Last post September 20, 2006, 08:15:10 am
by rotor
1 Replies
4669 Views
Last post February 12, 2007, 09:47:36 am
by SMFHacks
15 Replies
13589 Views
Last post May 08, 2007, 08:50:19 pm
by epa4wd
16 Replies
10966 Views
Last post August 03, 2008, 12:06:19 pm
by pioneer
4 Replies
4886 Views
Last post September 13, 2010, 02:12:49 pm
by jarska

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal