Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12358
Latest: KekoWorld
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 40096
Total Topics: 7060
Most Online Today: 63
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 52
Total: 52

Author Topic: Help with upgrade, please.  (Read 2234 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: 15052
    • 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: 15052
    • 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
5336 Views
Last post April 12, 2007, 07:55:24 pm
by SMFHacks
2 Replies
2477 Views
Last post February 18, 2010, 02:55:06 pm
by CWVRV
Upgrade

Started by Bob1 Support

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

Started by Bob1 Support

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

Started by Bob1 Support

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

+- Recent Topics

[Mod]Telegram AutoPost Bot by SMFHacks
April 06, 2020, 03:38:36 pm

[Mod]SMF2WPBridge - Wordpress Login Bridge by SMFHacks
April 04, 2020, 07:16:59 pm

BUG Message Editor Pro1.0.5 by marcimila
April 04, 2020, 09:01:21 am

MOVED: BUG Message Editor Pro1.0.5 by SMFHacks
April 03, 2020, 07:54:07 pm

Only variables should be passed by reference by Zaphod
April 02, 2020, 11:19:11 am

Cannot install Gallery Pro on SMF 2.1 RC2 by Hatshepsut
March 19, 2020, 12:55:00 am

Newbie questions by SMFHacks
March 08, 2020, 09:28:17 am

Update detect mobile mode PHP5 to PHP7 by Plus
March 05, 2020, 11:19:05 am

Just a hello by Plus
March 05, 2020, 11:05:56 am

Enotify Copyright Problem by SMFHacks
March 04, 2020, 09:21:09 pm

Powered by EzPortal