Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 12356
Latest: how to logo design
New This Month: 7
New This Week: 2
New Today: 1
Stats
Total Posts: 40076
Total Topics: 7055
Most Online Today: 57
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 59
Total: 60

Author Topic: [2.5] Rotating Image  (Read 6342 times)

0 Members and 1 Guest are viewing this topic.

Offline Vincent Volmer

  • Hero Member
  • *****
  • Posts: 505
  • SMF 2.0.1
    • View Profile
    • Digiscrap.nl
[2.5] Rotating Image
« on: July 13, 2009, 01:57:56 am »
Hello,

Thanks for the update!

I found 2 other errors which are maybe a bug?

Rotate existing Image by xx degrees
When I try to rotate an existing image I get this error:
Code: [Select]
Fatal error: Call to undefined function imagerotate() in /shared/usr/wzen1234567/DOMAIN/www.digiscrap.nl/HTML/Sources/Gallery2.php on line 7794

Vincent
« Last Edit: July 23, 2009, 01:58:22 am by Vincent Volmer »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15040
    • View Profile
Re: [2.5b3] Rotating Image
« Reply #1 on: July 13, 2009, 08:01:26 am »
Might not be in your version of PHP?
http://us2.php.net/imagerotate

Says it works for (PHP 4 >= 4.3.0, PHP 5)
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 Vincent Volmer

  • Hero Member
  • *****
  • Posts: 505
  • SMF 2.0.1
    • View Profile
    • Digiscrap.nl
Re: [2.5b3] Rotating Image
« Reply #2 on: July 13, 2009, 08:22:39 am »
Might not be in your version of PHP?
http://us2.php.net/imagerotate

Says it works for (PHP 4 >= 4.3.0, PHP 5)

Hmmmm phpinfo says:

Code: [Select]
PHP Version 5.2.6-1+lenny3

gd
GD Support enabled
GD Version 2.0 or higher
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.3.7
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled

1) How can I check if imagerotate is enabled. I can't find it in phpinfo
2) Or how can I disable rotating in the Gallery because our users don't need it.

Thanks
Vincent

Offline Vincent Volmer

  • Hero Member
  • *****
  • Posts: 505
  • SMF 2.0.1
    • View Profile
    • Digiscrap.nl
Re: [2.5b3] Rotating Image
« Reply #3 on: July 13, 2009, 11:55:05 am »
Might not be in your version of PHP?
http://us2.php.net/imagerotate

Says it works for (PHP 4 >= 4.3.0, PHP 5)

I asked my host. Just waiting for the answer from them now.

Vincent

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15040
    • View Profile
Re: [2.5b3] Rotating Image
« Reply #4 on: July 13, 2009, 01:03:10 pm »
Yeah really strange. Searched on google. It seems some versions of php5 use a different gd libation that may ore may not have the function
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 Vincent Volmer

  • Hero Member
  • *****
  • Posts: 505
  • SMF 2.0.1
    • View Profile
    • Digiscrap.nl
Re: [2.5b3] Rotating Image
« Reply #5 on: July 20, 2009, 06:05:54 am »

Thanks for the RC1!!

The answer from my host:

Because of a security reason the imagerotate function isn't present in the Debian distribution. My host is using Debian.
So, can i disable the rotate function somehow in SMFGallery?

Thanks Vincent



Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15040
    • View Profile
Re: [2.5b3] Rotating Image
« Reply #6 on: July 20, 2009, 07:51:05 am »
Bah ok I can add a check on that page.
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 SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15040
    • View Profile
Re: [2.5b3] Rotating Image
« Reply #7 on: July 20, 2009, 07:12:29 pm »
Fixed for final release to not appear if you do not have the imagerotate function.
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 Vincent Volmer

  • Hero Member
  • *****
  • Posts: 505
  • SMF 2.0.1
    • View Profile
    • Digiscrap.nl
Re: [2.5b3] Rotating Image
« Reply #8 on: July 21, 2009, 01:40:13 am »
Fixed for final release to not appear if you do not have the imagerotate function.

Thank you!

Vincent

Offline Vincent Volmer

  • Hero Member
  • *****
  • Posts: 505
  • SMF 2.0.1
    • View Profile
    • Digiscrap.nl
Re: [2.5] Rotating Image
« Reply #9 on: July 23, 2009, 01:58:03 am »
Fixed for final release to not appear if you do not have the imagerotate function.

Great!
Only when a member adds an new image he still has the possibility to rotate. And when he tries to rotate.....:

Code: [Select]
Fatal error: Call to undefined function imagerotate() in /shared/usr/wzen123456/DOMAIN/www.digiscrap.nl/HTML/Sources/Gallery2.php on line 7905
When a member tries to edit the image the rotate option isn't present. This is correct.

Vincent
« Last Edit: July 23, 2009, 02:02:58 am by Vincent Volmer »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15040
    • View Profile
Re: [2.5] Rotating Image
« Reply #10 on: July 23, 2009, 07:42:15 pm »
Fixed for 2.5.1
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/

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
5782 Views
Last post September 16, 2007, 07:47:19 am
by Rafferty
0 Replies
2600 Views
Last post December 24, 2007, 02:51:54 pm
by dry3210
3 Replies
4552 Views
Last post February 19, 2008, 08:25:28 pm
by SMFHacks
2 Replies
1771 Views
Last post August 13, 2015, 10:05:31 am
by guiller_mote
7 Replies
630 Views
Last post August 05, 2019, 04:26:57 pm
by SMFHacks

+- Recent Topics

Cannot install Gallery Pro on SMF 2.1 RC2 by Hatshepsut
March 19, 2020, 12:55:00 am

Newbie questions by SMFHacks
March 08, 2020, 09:28:17 am

Update detect mobile mode PHP5 to PHP7 by Plus
March 05, 2020, 11:19:05 am

Just a hello by Plus
March 05, 2020, 11:05:56 am

Enotify Copyright Problem by SMFHacks
March 04, 2020, 09:21:09 pm

Cannot import by shawnb
March 02, 2020, 12:17:00 pm

Error message with latest SMF 2.1 Github build by Hatshepsut
March 01, 2020, 10:06:10 am

[Mod]Avatars Display Integration by SMFHacks
February 15, 2020, 07:30:47 pm

[Mod]BBC Message Boxes 1.0 by SMFHacks
February 15, 2020, 07:26:46 pm

[Mod]Stack Trace by live627 by SMFHacks
February 15, 2020, 07:21:33 pm

Powered by EzPortal