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: 43261
Total Topics: 7519
Most Online Today: 297
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 269
Total: 270

Author Topic: Images not showing  (Read 4301 times)

0 Members and 1 Guest are viewing this topic.

Offline Cepheus

  • Member
  • *
  • Posts: 11
    • View Profile
Images not showing
« on: April 06, 2008, 02:10:58 pm »
My hosts have recently rebuilt some part of my server to add the pspell module back in after messing the entire server up during an upgrade. Now that they have done this, none of my existing images are appearing in the Gallery. When adding new images, the image doesn't show either.

When trying to add an image I get the following errors in the error log:

Today at 08:03:32 PM
 http://www.fgoc.co.uk/forum/index.php?action=gallery&sa=add2

2: imagettftext() expects parameter 1 to be resource, string given
File: /home/xxxx/public_/forum/Sources/Gallery.php
Line: 5178
   
Today at 08:03:32 PM

http://www.fgoc.co.uk/forum/index.php?action=gallery&sa=add2

2: imageftbbox() [<a href='function.imageftbbox'>function.imageftbbox</a>]: Could not find/open font
File: /home/xxxx/public_/forum/Sources/Gallery.php
Line: 5154
   
Today at 08:03:32 PM
http://www.fgoc.co.uk/forum/index.php?action=gallery&amp;sa=add2

2: imagecolorallocate(): supplied argument is not a valid Image resource
File: /home/xxxx/public_/forum/Sources/Gallery.php
Line: 5147
   

Today at 08:03:32 PM

http://www.fgoc.co.uk/forum/index.php?action=gallery&amp;sa=add2

8: Undefined index:
File: /home/xxxx/public_/forum/Sources/Gallery.php
Line: 5128
   
Today at 08:03:32 PM

http://www.fgoc.co.uk/forum/index.php?action=gallery&amp;sa=add2

8: Undefined index:
File: /home/xxxx/public_/forum/Sources/Gallery.php
Line: 5114
   
Today at 08:03:32 PM

http://www.fgoc.co.uk/forum/index.php?action=gallery&amp;sa=add2

2: rename(/home/xxxx/public_//forum/gallery/1/1_06_04_08_8_03_32.jpg_thumb,/home/xxxx/public_//forum/gallery/1/thumb_1_06_04_08_8_03_32.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: /home/xxxx/public_/forum/Sources/Gallery.php
Line: 1395
   
Today at 08:03:32 PM

 http://www.fgoc.co.uk/forum/index.php?action=gallery&amp;sa=add2
Apply Filter: Only show the errors with the same message
2: getimagesize(/home/xxxx/public_//forum/gallery/1/1_06_04_08_8_03_32.jpg) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
File: /home/xxxx/public_/forum/Sources/Subs-Graphics.php
Line: 242
   
Today at 08:03:32 PM
 http://www.fgoc.co.uk/forum/index.php?action=gallery&amp;sa=add2

2: move_uploaded_file() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: Unable to move '/tmp/phprn6A8X' to '/home/xxxx/public_//forum/gallery/1/1_06_04_08_8_03_32.jpg'
File: /home/xxxx/public_/forum/Sources/Gallery.php
Line: 1388
   
Today at 08:03:32 PM
 http://www.fgoc.co.uk/forum/index.php?action=gallery&amp;sa=add2

2: move_uploaded_file(/home/xxxx/public_//forum/gallery/1/1_06_04_08_8_03_32.jpg) [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: failed to open stream: Permission denied
File: /home/xxxx/public_/forum/Sources/Gallery.php
Line: 1388


Please help? :-\ Thanks in advance

Paul

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16436
    • View Profile
Re: Images not showing
« Reply #1 on: April 06, 2008, 04:15:01 pm »
I would first verify that all the paths are correct.  Check under Server Settings that the Sources path matches the path found under Gallery configuration.



The errors in the log are all caused by the failure to move the file "2: move_uploaded_file(/home/xxxx/public_//forum/gallery/1/1_06_04_08_8_03_32.jpg) [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: failed to open stream: Permission denied
File: /home/xxxx/public_/forum/Sources/Gallery.php
Line: 1388"

Which sounds like the gallery no longer has the writable 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 Cepheus

  • Member
  • *
  • Posts: 11
    • View Profile
Re: Images not showing
« Reply #2 on: April 06, 2008, 05:24:04 pm »
Thanks for the helpful reply - I passed it onto the hosts who have confirmed that there were permissions problems their end which they have now fixed.

Many thanks for the prompt reply

Paul

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
5303 Views
Last post March 21, 2010, 09:51:30 pm
by SMFHacks
1 Replies
3344 Views
Last post September 27, 2010, 04:29:04 pm
by SMFHacks
2 Replies
1906 Views
Last post May 21, 2019, 03:00:33 pm
by ajac63
3 Replies
776 Views
Last post August 01, 2021, 07:57:51 pm
by SMFHacks
4 Replies
561 Views
Last post August 24, 2021, 11:27:41 am
by SMFHacks

+- Recent Topics

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
Today at 08:27:36 am

No thumbnails on new uploads by Tonyvic
Today at 06:26:18 am

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

Powered by EzPortal