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: 193
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 195
Total: 195

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

0 Members and 1 Guest are viewing this topic.

Offline phxmaximus

  • Member
  • *
  • 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: 16436
    • 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

  • Member
  • *
  • 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: 16436
    • 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
6413 Views
Last post April 12, 2007, 07:55:24 pm
by SMFHacks
7 Replies
6875 Views
Last post November 28, 2007, 06:45:33 pm
by SMFHacks
4 Replies
5430 Views
Last post September 23, 2008, 07:07:26 pm
by SMFHacks
4 Replies
5737 Views
Last post November 09, 2008, 08:14:33 pm
by SMFHacks
2 Replies
4634 Views
Last post December 03, 2008, 06:20:33 pm
by Riley

+- 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