Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4229
Latest: Ghost
New This Month: 0
New This Week: 0
New Today: 0
Stats
Total Posts: 43080
Total Topics: 7493
Most Online Today: 57
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 53
Total: 53

Author Topic: image uploading but thumbnail not created  (Read 3926 times)

0 Members and 1 Guest are viewing this topic.

Offline clive

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
image uploading but thumbnail not created
« on: March 12, 2008, 07:42:46 am »
HI,

Up to yesterday the gallery was working perfectly.

Now this morning I see that when an image is uploaded and the screen refreshes the thumbnail is not there and no clickable link to the image. My hosts have done something to the server that has made the gallery unusable I think...

Is it something to do with the image manager on the server?

There are a lot of error messages as well.

Thanks in advance for any help...

2: rename(/home/iberian/public_html/gallery/0/23_12_03_08_8_47_31.jpg_thumb,/home/iberian/public_html/gallery/0/thumb_23_12_03_08_8_47_31.jpg) [<a href='function.rename'>function.rename</a>]: No such file or directory
File: /home/iberian/public_html/Sources/Gallery.php
Line: 1830

2: getimagesize(/home/iberian/public_html/gallery/0/23_12_03_08_8_47_31.jpg) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
File: /home/iberian/public_html/Sources/Subs-Graphics.php
Line: 242
   
2: move_uploaded_file() [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: Unable to move '/tmp/phpZZ6CIS' to '/home/iberian/public_html/gallery/0/23_12_03_08_8_47_31.jpg'
File: /home/iberian/public_html/Sources/Gallery.php
Line: 1824

2: move_uploaded_file(/home/iberian/public_html/gallery/0/23_12_03_08_8_47_31.jpg) [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: failed to open stream: Permission denied
File: /home/iberian/public_html/Sources/Gallery.php
Line: 1824

2: imagettftext() expects parameter 1 to be resource, string given
File: /home/iberian/public_html/Sources/Gallery.php
Line: 5156

2: imagecolorallocate(): supplied argument is not a valid Image resource
File: /home/iberian/public_html/Sources/Gallery.php
Line: 5125

8: Undefined index:
File: /home/iberian/public_html/Sources/Gallery.php
Line: 5106

Offline clive

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: image uploading but thumbnail not created
« Reply #1 on: March 12, 2008, 07:54:23 am »
HI,

as an update I just looked at the gallery files through cpanel and see that the directory named "0" is marked as an invalid file.

I thought that maybe my problem was one of permissions but I can't change the permissions of this directory whilst the server thinks it is invalid.

Also looking at the gallery directory I see there are around a hundred images in the gallery directory and the rest are in the directory named "0"

thanks for any help, I am going to have to turn off the gallery on my forum untill i get this sorted out.

Clive

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16356
    • View Profile
Re: image uploading but thumbnail not created
« Reply #2 on: March 12, 2008, 07:33:58 pm »
Sounds like a permission issue with
Enable multiple folders for picture storage setting.

Try to disable that setting under Gallery Configuration settings and then try to upload an image and see if the thumbnail is generated.
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 clive

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
Re: image uploading but thumbnail not created
« Reply #3 on: March 18, 2008, 01:14:14 pm »
Hi,

Thanks for the reply. Yes it was a permissions problem that happened after my host upgraded the PHP version on the server.

That was a very good tip to check the multiple folders setting.

Thank you very much for an excellent gallery system :)

Clive

 

Related Topics

  Subject / Started by Replies Last post
0 Replies
3720 Views
Last post December 02, 2007, 07:46:28 pm
by Lil Puppy
1 Replies
3577 Views
Last post May 31, 2009, 08:45:20 pm
by SMFHacks
Fatal error uploading image

Started by guest3817 Support

6 Replies
4337 Views
Last post September 23, 2009, 06:02:42 pm
by SMFHacks
0 Replies
1828 Views
Last post August 16, 2011, 07:38:55 am
by cosmicx
0 Replies
3126 Views
Last post March 06, 2013, 10:26:47 pm
by jackjack

+- Recent Topics

Version 6.1.6 issues by SMFHacks
September 30, 2023, 07:54:52 am

Follow / Follower Mod? by SMFHacks
September 23, 2023, 08:44:44 am

Looking for a good video player by replayuk
September 23, 2023, 12:17:39 am

[Mod]Discord Web Hooks by SMFHacks
September 22, 2023, 03:57:28 pm

SMF 2.1.4 Search by Anmer
September 22, 2023, 01:55:15 pm

Error in thise mode by Ghost
September 15, 2023, 08:42:24 am

Gallery Selection List Order by mickjav
September 07, 2023, 12:46:31 pm

[Mod]Tidy Child Boards 2.0 by Norwinjose
September 02, 2023, 11:42:54 am

PrettyUrls SEO Pro: Unable to submit sitemap to google search conmsole by SMFHacks
August 31, 2023, 10:55:22 am

PrettyURL - SEO4SMF Rewrites? by SMFHacks
August 28, 2023, 06:35:33 pm

Powered by EzPortal