Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12002
Latest: Parb1963
New This Month: 14
New This Week: 2
New Today: 0
Stats
Total Posts: 38203
Total Topics: 6732
Most Online Today: 56
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 54
Total: 54

Author Topic: Cannot view gallery images.  (Read 7121 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, 08: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: 14159
    • View Profile
Re: Cannot view gallery images.
« Reply #1 on: March 11, 2009, 09: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 https://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, 10: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: 14159
    • View Profile
Re: Cannot view gallery images.
« Reply #3 on: March 11, 2009, 10: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 https://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, 10: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: 14159
    • View Profile
Re: Cannot view gallery images.
« Reply #5 on: March 11, 2009, 10:50:54 pm »
No problem
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others! Also contests/promotions for verified sites.

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
6440 Views
Last post September 19, 2006, 07:40:51 pm
by SMFHacks
2 Replies
4475 Views
Last post November 07, 2007, 05:16:04 pm
by rumboogy
1 Replies
2145 Views
Last post March 19, 2013, 09:01:55 pm
by SMFHacks
8 Replies
2517 Views
Last post July 04, 2013, 01:00:51 pm
by shuban
7 Replies
3177 Views
Last post October 03, 2014, 01:16:07 pm
by SMFHacks

+- Recent Topics

403 error by SMFHacks
September 23, 2017, 12:21:30 am

Purchase Notification Email to Store Admins by scso1502
September 19, 2017, 06:00:12 pm

Can't save ad code and errors in log. by SMFHacks
September 15, 2017, 12:40:15 pm

After migrating from http to https I started getting these errors by ApplianceJunk
September 14, 2017, 10:58:38 pm

SMF Gallery and https green padlock? by ApplianceJunk
September 14, 2017, 10:02:46 pm

AudioVideoEmbedder: attached files by SMFHacks
September 14, 2017, 10:58:51 am

Contact Page Version 4.0 by Binkie
September 10, 2017, 11:26:19 am

Can Generated Threads Display The Thumbnail Instead Of The Full Size Image? by Sockratease
September 09, 2017, 06:40:12 pm

Double purchase membergroup fix by SMFHacks
September 09, 2017, 12:30:06 pm

How do I prevent "moved" topic notifications on bulk movement of topics? by shuban
September 09, 2017, 11:25:25 am

Powered by EzPortal