Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12411
Latest: PabloWatts
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 39948
Total Topics: 7033
Most Online Today: 60
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 37
Total: 38

Author Topic: Help with upgrade, please.  (Read 2190 times)

0 Members and 1 Guest are viewing this topic.

Offline phxmaximus

  • Newbie
  • *
  • Posts: 23
    • View Profile
Help with upgrade, please.
« on: February 26, 2011, 01:02:15 pm »
Hello.

Today I just upgraded my forums to the 2.0 RC4 with security patch. Before doing this, I uninstalled all of my mods, including gallery pro, since was using an old version.

So, after doing the update to SMF, I installed gallery pro and all appears normal except for when I try to upload a picture. It appears to go ok, but the picture doesn't show up, and the following errors appear in the error log;



http://www.clan-phx.com/index.php?action=gallery;sa=add2
2: rename(/home/clanphxc/public_html/gallery/2/1-260211105003.jpeg_thumb,/home/clanphxc/public_html/gallery/2/thumb_1-260211105003.jpeg) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: /home/clanphxc/public_html/Sources/Gallery2.php
Line: 1796


http://www.clan-phx.com/index.php?action=gallery;sa=add2
2: fopen(/home/clanphxc/public_html/gallery/2/1-260211105003.jpeg_thumb.tmp) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
File: /home/clanphxc/public_html/Sources/Subs-Graphics.php
Line: 343


http://www.clan-phx.com/index.php?action=gallery;sa=add2
2: move_uploaded_file() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: Unable to move '/tmp/phpgqZxxF' to '/home/clanphxc/public_html/gallery/2/1-260211105003.jpeg'
File: /home/clanphxc/public_html/Sources/Gallery2.php
Line: 1780
   

http://www.clan-phx.com/index.php?action=gallery;sa=add2
2: move_uploaded_file(/home/clanphxc/public_html/gallery/2/1-260211105003.jpeg) [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: failed to open stream: Permission denied
File: /home/clanphxc/public_html/Sources/Gallery2.php
Line: 1780



Any ideas?

Thanks for your time.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14978
    • View Profile
Re: Help with upgrade, please.
« Reply #1 on: February 26, 2011, 02:43:34 pm »
Looks like bad permission on the created folder gallery/2/
Check the file permissions and make sure it is writable. and also the main gallery folder so any new folder created in the gallery folder should inherit the same permissions.
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 phxmaximus

  • Newbie
  • *
  • Posts: 23
    • View Profile
Re: Help with upgrade, please.
« Reply #2 on: February 26, 2011, 02:47:29 pm »
That was it.

My host recently moved my site to a new server, and for some reason, during the move, a lot of my directories were made not writeable. This was one of them that I missed. :)

Works perfect now, thanks for your help!

Justin

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 14978
    • View Profile
Re: Help with upgrade, please.
« Reply #3 on: February 26, 2011, 02:50:35 pm »
Glad to help I would double check all those folders in the gallery directory just to in case.
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/

 

Related Topics

  Subject / Started by Replies Last post
6 Replies
5290 Views
Last post April 12, 2007, 07:55:24 pm
by SMFHacks
2 Replies
2461 Views
Last post February 18, 2010, 02:55:06 pm
by CWVRV
Upgrade

Started by Bob1 Support

12 Replies
4691 Views
Last post April 14, 2010, 07:39:50 pm
by Bob1
Upgrade?

Started by Bob1 Support

1 Replies
1982 Views
Last post August 15, 2010, 08:41:23 pm
by SMFHacks
upgrade??

Started by Bob1 Support

1 Replies
1620 Views
Last post December 08, 2010, 05:27:33 pm
by SMFHacks

+- Recent Topics

hashTags only used by admins, but visible to everyone? by SMFHacks
December 04, 2019, 11:08:35 am

Responsive Layout by Matthias
November 30, 2019, 03:05:57 pm

Secure connection failed Pretty Url Pro by Rock Lee
November 26, 2019, 10:44:23 am

Black Friday Sale Week 2019 by SMFHacks
November 23, 2019, 04:47:56 pm

German Translation missing in SMF 2.1R1 by SMFHacks
November 19, 2019, 02:38:42 pm

Unread items issue by SMFHacks
November 19, 2019, 10:07:32 am

Update detect mobile mode PHP5 to PHP7 by Rock Lee
November 16, 2019, 07:18:13 pm

PHP error by davejo
November 12, 2019, 12:09:47 pm

Message Editor Pro Issues by SMFHacks
November 06, 2019, 09:58:33 pm

most popular categories doesnt work by fussilet
November 02, 2019, 02:51:42 pm

Powered by EzPortal