SMFHacks.com
** Home Forum Index Hacks Products Login Register Search
Welcome, Guest. Please login or register.
May 21, 2012, 08:12:34 am

Login with username, password and session length
Members
Total Members: 10065
Latest: yaser1984
Stats
Total Posts: 28679
Total Topics: 4974
Online Today: 58
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 1
Guests: 57
Total: 58
+ 
|-+ 
| |-+ 
| | |-+ 
| | | |-+ 
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Go Down Print
Author Topic: Thumb Generation  (Read 2254 times)
Cobra-BOM-
Newbie
*
Offline Offline

Posts: 2


View Profile
« on: July 11, 2007, 01:45:29 pm »

I just installed the Pro version after uninstalling the Lite.  Neither would generate the thumb filename properly.  I see that the program is requiring that the thumb filename be in the following format:

thumb_1_11_07_07_1_36_05.jpg

but the /gallery folder lists the thumb filenames this way:

1_11_07_07_1_36_05_.jpg_thumb

and

1_11_07_07_1_36_05_.jpg_thumb.tmp

What must I do to correct the problem?

Thanks
Logged
SMFHacks
Administrator
Hero Member
*****
Offline Offline

Posts: 9675


View Profile
« Reply #1 on: July 11, 2007, 09:17:31 pm »

Anything in your forum's error log?
The code should rename the _thumb file
Code:
rename($modSettings['gallery_path'] . $filename . '_thumb',  $modSettings['gallery_path'] . 'thumb_' . $filename);
Logged
Cobra-BOM-
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #2 on: July 12, 2007, 10:43:01 am »

Yes, it is denying permmission to rename ( see below ) but not to read or write.

In IIS systems, the read, write, AND Modify permissions must be set on the server.

I have set the Modify permission and everything works great, thank you.

Code:
2: rename(C:\Inetpub\wwwroot\html\GameZone\Forums\gallery\1_12_07_07_9_46_49.jpg_thumb,C:\Inetpub\wwwroot\html\GameZone\Forums\gallery\thumb_1_12_07_07_9_46_49.jpg) [<a href='function.rename'>function.rename</a>]: Permission denied
File: C:\Inetpub\wwwroot\html\GameZone\Forums\Sources\Gallery.php
Line: 1065
« Last Edit: July 12, 2007, 10:59:14 am by Cobra-BOM- » Logged
Pages: [1] Go Up Print 
« previous next »
Jump to:  

Recent
[May 20, 2012, 11:06:52 am]

[May 20, 2012, 05:58:11 am]

[May 19, 2012, 06:16:58 pm]

[May 19, 2012, 05:42:37 pm]

[May 18, 2012, 03:08:38 pm]

[May 17, 2012, 06:07:46 pm]

[May 17, 2012, 02:22:07 pm]

[May 17, 2012, 12:38:16 pm]

[May 15, 2012, 09:32:27 pm]

[May 15, 2012, 01:43:15 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Powered by SMF 1.1.16 | SMF © 2006-2011, Simple Machines LLC
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 0.214 seconds with 19 queries.