Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 177
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 185
Total: 185

Author Topic: Image upload not working  (Read 15725 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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: 16436
    • 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
6742 Views
Last post September 20, 2006, 08:15:10 am
by rotor
1 Replies
4647 Views
Last post February 12, 2007, 09:47:36 am
by SMFHacks
15 Replies
13551 Views
Last post May 08, 2007, 08:50:19 pm
by epa4wd
16 Replies
10903 Views
Last post August 03, 2008, 12:06:19 pm
by pioneer
4 Replies
4854 Views
Last post September 13, 2010, 02:12:49 pm
by jarska

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

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

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal