Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 344
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 222
Total: 222

Author Topic: Images not showing  (Read 4316 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: 16452
    • 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
5315 Views
Last post March 21, 2010, 09:51:30 pm
by SMFHacks
1 Replies
3352 Views
Last post September 27, 2010, 04:29:04 pm
by SMFHacks
2 Replies
1923 Views
Last post May 21, 2019, 03:00:33 pm
by ajac63
3 Replies
789 Views
Last post August 01, 2021, 07:57:51 pm
by SMFHacks
4 Replies
570 Views
Last post August 24, 2021, 11:27:41 am
by SMFHacks

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 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

Powered by EzPortal