Twitter SMFHacks Facebook SMFHacks SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
April 23, 2014, 06:21:37 am

Login with username, password and session length
Members
Total Members: 11196
Latest: RhondaJ
Stats
Total Posts: 34815
Total Topics: 5838
Online Today: 80
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 71
Total: 71
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Cannot view gallery images.  (Read 4688 times)
NickBoudin
Newbie
*
Offline Offline

Posts: 3


View Profile
« 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:
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:
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:
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:
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
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11873


View Profile
« 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.
Logged
NickBoudin
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #2 on: March 11, 2009, 10:01:54 pm »

It all seems to be correct.

Code:
Gallery Path:   /www//website.com/public_html/forums/gallery
Gallery Url: http://website.com/forums/index.php?action=gallery
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11873


View Profile
« 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/
Logged
NickBoudin
Newbie
*
Offline Offline

Posts: 3


View Profile
« 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!  Grin


I appreciate the support, and your Mod.



Thanks agian, very much.  Cool
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 11873


View Profile
« Reply #5 on: March 11, 2009, 10:50:54 pm »

No problem
Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[April 22, 2014, 11:06:21 am]

[April 17, 2014, 06:35:33 pm]

[April 17, 2014, 05:44:48 pm]

[April 17, 2014, 04:01:58 pm]

[April 15, 2014, 10:58:02 am]

[April 13, 2014, 11:12:24 am]

[April 11, 2014, 09:39:48 am]

[April 11, 2014, 08:48:03 am]

[April 10, 2014, 08:20:58 am]

[April 09, 2014, 09:16:55 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.19 | SMF © 2013, Simple Machines
TinyPortal v0.9.7 © Bloc
SMF and SimpleMachines are registered trademarks of Simple Machines. SMFHacks.com is not affiliated with nor endorsed by Simple Machines.
Page created in 1.217 seconds with 18 queries.