Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11241
Latest: SrBoos
New This Month: 28
New This Week: 7
New Today: 1
Stats
Total Posts: 33758
Total Topics: 6021
Most Online Today: 94
Most Online Ever: 2482
(April 09, 2011, 06:02:45 pm)
Users Online
Members: 0
Guests: 59
Total: 59

Author Topic: Cannot view gallery images.  (Read 4976 times)

0 Members and 1 Guest are viewing this topic.

Offline NickBoudin

  • Newbie
  • *
  • Posts: 3
    • View Profile
Cannot view gallery images.
« on: March 11, 2009, 07:48:17 pm »
Not too sure what's going on. Once an image is added to the gallery, it is unable to upload to the gallery folder.


I get multiple errors in my log. Here they are from first to last.

Code: [Select]
2: in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument
File: /www/website.com/public_html/forums/Sources/Gallery.php
Line: 589

Code: [Select]
2: move_uploaded_file(/www//website.com/public_html/forums/gallery2_11_03_09_5_43_05.jpeg) [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: failed to open stream: Permission denied
File: /www/website.com/public_html/forums/Sources/Gallery.php
Line: 648

Code: [Select]
2: move_uploaded_file() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: Unable to move '/tmp/phphFaBuD' to '/www//website.com/public_html/forums/gallery2_11_03_09_5_43_05.jpeg'
File: /www/website.com/public_html/forums/Sources/Gallery.php
Line: 648

Code: [Select]
2: rename(/www//website.com/public_html/forums/gallery2_11_03_09_5_43_05.jpeg_thumb,/www//totallyterrariums.com/public_html/forums/gallerythumb_2_11_03_09_5_43_05.jpeg) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: /www/website.com/public_html/forums/Sources/Gallery.php
Line: 657


If there is anything else I could post to allow for this to be easier for the corrector, let me know please!


Thank you very much,
-Nick

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 12330
    • View Profile
Re: Cannot view gallery images.
« Reply #1 on: March 11, 2009, 08:49:55 pm »
I would check that your Gallery path is correct so be of the form
/home/yoursite/gallery/

Compare it to the path foun under Admin -> Server Settings should be almost the same.
Get your Forum Ranked! at http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline NickBoudin

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Cannot view gallery images.
« Reply #2 on: March 11, 2009, 09:01:54 pm »
It all seems to be correct.

Code: [Select]
Gallery Path:   /www//website.com/public_html/forums/gallery
Gallery Url: http://website.com/forums/index.php?action=gallery

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 12330
    • View Profile
Re: Cannot view gallery images.
« Reply #3 on: March 11, 2009, 09:22:39 pm »
Fix the following

Gallery Path:   /www//website.com/public_html/forums/gallery/
Gallery Url: http://website.com/forums/gallery/
Get your Forum Ranked! at http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

Offline NickBoudin

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Cannot view gallery images.
« Reply #4 on: March 11, 2009, 09:33:25 pm »
Beautiful!

Thank you very much, sir. I should have posted last night instead of giving up!  ;D


I appreciate the support, and your Mod.



Thanks agian, very much.  8)

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 12330
    • View Profile
Re: Cannot view gallery images.
« Reply #5 on: March 11, 2009, 09:50:54 pm »
No problem
Get your Forum Ranked! at http://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

 

+- Recent Topics

Ajax Continuous Page Scrolling (Facebook Styles) by SMFHacks
October 29, 2014, 04:31:28 pm

Some Problems by m.ehm
October 29, 2014, 04:49:05 am

if you edit a picture that didn't have a custom field applied to it, the opportu by SMFHacks
October 28, 2014, 08:46:32 pm

Core Theme by SMFHacks
October 27, 2014, 08:09:12 pm

Display gallery inside the forum page by SMFHacks
October 27, 2014, 04:19:02 pm

The future of Badge awards by GenesisMUGEN
October 27, 2014, 02:44:05 pm

radio player and chat box by crazyminx
October 26, 2014, 12:41:48 pm

Image Upload by SMFHacks
October 26, 2014, 11:19:37 am

Title by crazyminx
October 26, 2014, 03:10:38 am

Do global Custom Fields have specific IDs? by SMFHacks
October 24, 2014, 07:19:47 am

Powered by EzPortal